Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1350638 - [RADOS]:[UPGRADE]: Apparent data loss after upgrading from 1.3.2 to 2.0 using "setuser match path" config
[RADOS]:[UPGRADE]: Apparent data loss after upgrading from 1.3.2 to 2.0 using...
Status: CLOSED ERRATA
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: RADOS (Show other bugs)
2.0
x86_64 Linux
unspecified Severity urgent
: rc
: 2.0
Assigned To: Samuel Just
shylesh
:
: 1355958 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-06-27 22:57 EDT by shylesh
Modified: 2017-07-30 11:14 EDT (History)
8 users (show)

See Also:
Fixed In Version: RHEL: ceph-10.2.2-9.el7cp Ubuntu: ceph_10.2.2-7redhat1xenial
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-08-23 15:43:03 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1755 normal SHIPPED_LIVE Red Hat Ceph Storage 2.0 bug fix and enhancement update 2016-08-23 19:23:52 EDT

  None (edit)
Comment 2 Samuel Just 2016-06-28 11:41:00 EDT
We think this was due to me messing up the patch removing libradosstriper for https://bugzilla.redhat.com/show_bug.cgi?id=1339870 (there is no corresponding upstream bug).  The next build should have it fixed.
Comment 5 Vasu Kulkarni 2016-06-28 12:38:30 EDT
The upgrade process doesn't look right to me, a restart of process is not sufficient after upgrade there could be old osd process still running, also is this a reason to run everything as root/root instead of ceph/ceph?

the steps mentioned here are accurate: bz 1347395 which is yet to go into docs.
Comment 6 shylesh 2016-06-28 12:46:21 EDT
(In reply to Vasu Kulkarni from comment #5)
> The upgrade process doesn't look right to me, a restart of process is not
> sufficient after upgrade there could be old osd process still running, also
> is this a reason to run everything as root/root instead of ceph/ceph?
> 
> the steps mentioned here are accurate: bz 1347395 which is yet to go into
> docs.

@Vasu,

Upgrade is actually done by tejas, I think he followed the proper docs for upgrade. It might be my mistake in the description.
Comment 7 Vasu Kulkarni 2016-06-28 12:49:45 EDT
Thanks shylesh, the ll still shows root/root for /var/lib/ceph in your earlier comment

drwxr-xr-x. 3 root root 218 Jun 27 10:48 ceph-3
Comment 8 shylesh 2016-06-28 12:52:51 EDT
(In reply to Vasu Kulkarni from comment #7)
> Thanks shylesh, the ll still shows root/root for /var/lib/ceph in your
> earlier comment
> 
> drwxr-xr-x. 3 root root 218 Jun 27 10:48 ceph-3

@Vasu,

Yes that's the use case for "setuser match path = /var/lib/ceph/$type/$cluster-$id". Existing root owned dirs will remain as root and processes also runs as root. Any newly added osds after upgrade will run as ceph.
Comment 12 shylesh 2016-06-30 12:46:48 EDT
Verifid on RHEL7.2 ceph-common-10.2.2-9.el7cp.x86_64 and now rados tool works fine. Hence marking it as verified
Comment 13 Samuel Just 2016-07-13 10:36:08 EDT
*** Bug 1355958 has been marked as a duplicate of this bug. ***
Comment 15 errata-xmlrpc 2016-08-23 15:43:03 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-1755.html

Note You need to log in before you can comment on or make changes to this bug.