Thanks Greg.

I think I have to re-install ceph v13 from scratch then.

-Raju
From: Gregory Farnum <gfar...@redhat.com>
Sent: 09 August 2018 01:54
To: Raju Rangoju <ra...@chelsio.com>
Cc: ceph-users@lists.ceph.com
Subject: Re: [ceph-users] permission errors rolling back ceph cluster to v13

On Tue, Aug 7, 2018 at 6:27 PM Raju Rangoju 
<ra...@chelsio.com<mailto:ra...@chelsio.com>> wrote:
Hi,

I have been running into some connection issues with the latest ceph-14 
version, so we thought the feasible solution would be to roll back the cluster 
to previous version (ceph-13.0.1) where things are known to work properly.

I’m wondering if rollback/downgrade is supported at all ?

After compiling/starting ceph-13 I’m running into a permission error. Basically 
it complains about the incompatibility of disk layout (ceph-13 mimic vs ceph-14 
nautilus)

2018-08-07 10:41:00.580 2b391528e080 -1 ERROR: on disk data includes 
unsupported features: compat={},rocompat={},incompat={11=nautilus ondisk layout}
2018-08-07 10:41:00.580 2b391528e080 -1 error checking features: (1) Operation 
not permitted
2018-08-07 10:41:11.161 2b16a7d14080  0 set uid:gid to 167:167 (ceph:ceph)
2018-08-07 10:41:11.161 2b16a7d14080  0 ceph version 13.0.1-3266-g6b59fbf 
(6b59fbfcc6bbfd67193e1c1e142b478ddd68aab4) mimic (dev), process (unknown), pid 
14013
2018-08-07 10:41:11.161 2b16a7d14080  0 pidfile_write: ignore empty --pid-file


I thought allowing permissions to mon would fix it (see below), but apparently 
ceph command hangs. So it didn’t allow permissions.

ceph auth add osd.44 osd 'allow *' mon 'allow profile osd' -i 
/var/lib/ceph/osd/ceph-44/keyring

[root@hadoop1 my-ceph]# ceph -s
2018-08-07 10:59:59.325 2b5c26347700  0 monclient(hunting): authenticate timed 
out after 300
2018-08-07 10:59:59.325 2b5c26347700  0 librados: client.admin authentication 
error (110) Connection timed out
[errno 110] error connecting to the cluster

Has anyone tried ceph rollback before? Any help is greatly appreciated.

Unfortunately this is generally not possible. Disk encodings change across 
major versions and the old code can't understand what's been written down once 
the new code runs.
-Greg


Thanks,
Raj

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com>
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to