Bug 887357
Summary: | workaround for for appliance creation in koji | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Matthew Miller <mattdm> |
Component: | device-mapper-multipath | Assignee: | Ben Marzinski <bmarzins> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 18 | CC: | agk, agrimm, apevec, awilliam, bmarzins, dhuff, dwysocha, fdinitto, gholms, heinzm, lvm-team, mgoldman, msnitzer, prajnoha, prockai, robatino, virt-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | AcceptedBlocker | ||
Fixed In Version: | device-mapper-multipath-0.4.9-36.fc18 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-01-02 21:51:32 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 752661 |
Description
Matthew Miller
2012-12-14 19:24:20 UTC
Upon further review, appliance-creator tasks in koji do bind mount /dev (thanks dgilmore for pointing that out). Given that, we are back to this being a race condition. I've verified that I can reproduce it, and sleeping even a fraction of a second (0.1 or less) is enough for the problem to go away. I've also verified that in doing os.listdir("/dev/mapper") immediately after the kpartx call returns, the /dev/mapper symlink is not present yet. So this is the same issue as 885385 after all. Sorry for the confusion. Let's clarify one more time. It's a race, but not the same race as 885385 This one is because kpartx's -s option doesn't work when udev is not running in the chroot. device-mapper-multipath packages that reinstate the libdm failback device creation for multipath and kpartx when called in sync mode are available at: http://koji.fedoraproject.org/koji/taskinfo?taskID=4792365 Let me know if this fixes the problem. Confirmed that the above build fixes the problem. Thanks, Ben. Discussed at 2012-12-17 blocker review meeting: http://meetbot.fedoraproject.org/fedora-bugzappers/2012-12-17/f18final-blocker-review-5.2012-12-17-16.40.log.txt . Accepted as a blocker per criterion "The release must boot successfully as Xen DomU with releases providing a functional, supported Xen Dom0 and widely used cloud providers utilizing Xen. This does not include any issues limited to the release functioning as Xen Dom0" - this bug blocks creation of the EC2 image, which is a major case of that criterion. fix added. multipath and kpartx now use the libdm failback device creation when called in sync mode. device-mapper-multipath-0.4.9-36.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/device-mapper-multipath-0.4.9-36.fc18 Package device-mapper-multipath-0.4.9-36.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing device-mapper-multipath-0.4.9-36.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-20573/device-mapper-multipath-0.4.9-36.fc18 then log in and leave karma (feedback). device-mapper-multipath-0.4.9-36.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |