Bug 1496509 - ceph-disk prepare cannot find paritition that does exist when run inside containers
Summary: ceph-disk prepare cannot find paritition that does exist when run inside cont...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Disk
Version: 2.4
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: rc
: 2.5
Assignee: Kefu Chai
QA Contact: John Fulton
Aron Gunn
URL:
Whiteboard:
Depends On: 1494543
Blocks: 1496985 1507644 1536401
TreeView+ depends on / blocked
 
Reported: 2017-09-27 15:40 UTC by jomurphy
Modified: 2021-12-10 15:37 UTC (History)
18 users (show)

Fixed In Version: RHEL: ceph-10.2.10-9.el7cp Ubuntu: ceph_10.2.10-6redhat1xenial
Doc Type: Bug Fix
Doc Text:
.In containerized deployment, `ceph-disk` now retries when it cannot find a partition Due to a possible race condition between kernel and the `udev` utility, the device file for a partition was not created when the `ceph-disk` utility searched for it. Consequently, the `ceph-disk` utility could not create the partition. In this release, when `ceph-disk` cannot find the partition, it retries the search again, thus working around this possible race condition.
Clone Of: 1494543
Environment:
Last Closed: 2018-02-21 19:43:32 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 21493 0 None None None 2017-09-27 15:40:25 UTC
Red Hat Bugzilla 1491780 0 urgent CLOSED ceph: Racing between partition creation & device node creation 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker RHCEPH-2606 0 None None None 2021-12-10 15:37:27 UTC
Red Hat Product Errata RHBA-2018:0340 0 normal SHIPPED_LIVE Red Hat Ceph Storage 2.5 bug fix and enhancement update 2018-02-22 00:50:32 UTC

Internal Links: 1491780

Comment 5 Sébastien Han 2017-12-15 16:32:51 UTC
Brett, more requests on this issue, this is needed for 2.5 as part of OSP12.
OSP12 is running on 2.4 (Jewel) and so they are a couple of more things we have to do:

* can we get this patch for Jewel upstream as well
* get the patch downstream
* build a new container image for 2.5 (that's my job)

So my question is can we get someone, (Kefu perhaps?) doing this ASAP?
This has to happen for 2.5.

Thanks in advance.

Comment 8 Ken Dreyer (Red Hat) 2018-01-02 21:24:10 UTC
Kefu, since https://github.com/ceph/ceph/pull/18169 did not make v10.2.10 upstream, would you please cherry-pick the changes for this BZ to ceph-2-rhel-patches, with "Resolves: rhbz#1496509" ?

Comment 13 Kefu Chai 2018-01-09 05:05:12 UTC
Ken, pushed to your mirror! thanks for unblocking me. =)

Comment 17 Yogev Rabl 2018-01-17 16:06:40 UTC
verified

Comment 21 errata-xmlrpc 2018-02-21 19:43:32 UTC
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://access.redhat.com/errata/RHBA-2018:0340


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