Bug 1654804
| Summary: | qemu-img: fails to get shared 'write' lock | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Siggy Sigwald <ssigwald> |
| Component: | openstack-nova | Assignee: | Kashyap Chamarthy <kchamart> |
| Status: | CLOSED DUPLICATE | QA Contact: | OSP DFG:Compute <osp-dfg-compute> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 10.0 (Newton) | CC: | chayang, coli, dasmith, eglynn, jhakimra, juzhang, kchamart, michen, ptoscano, rcernin, rjones, sbauza, sgordon, virt-maint, vromanso |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-12-05 08:21:43 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: | |||
|
Description
Siggy Sigwald
2018-11-29 17:26:38 UTC
According to the below comment, it seems that this bug should belong to libguestfs. Please correct me if I am wrong, thanks. https://bugs.launchpad.net/qemu/+bug/1740364/comments/6 No this is a bug in nova. It should be using the qemu-img -U option. I would say that the fix required here is probably:
commit 807579755c4a116309eca5b2bcdbab9d1f393bab
Author: Matt Riedemann <mriedem.os>
Date: Wed Sep 20 10:44:11 2017 -0400
Support qemu >= 2.10
Qemu 2.10 added the requirement of a --force-share flag to qemu-img
info when reading information about a disk that is in use by a
guest. We do this a lot in Nova for operations like gathering
information before live migration.
Up until this point all qemu/libvirt version matching has been solely
inside the libvirt driver, however all the image manip code was moved
out to nova.virt.images. We need the version of QEMU available there.
This does it by initializing that version on driver init host. The net
effect is also that broken libvirt connections are figured out
earlier, as there is an active probe for this value.
Co-Authored-By: Sean Dague <sean>
Change-Id: Iae2962bb86100f03fd3ad9aac3767da876291e74
Closes-Bug: #1718295
Upstream bug: https://bugs.launchpad.net/nova/+bug/1718295 Backport request for that commit in https://bugzilla.redhat.com/show_bug.cgi?id=1533444 (In reply to Robin Cernin from comment #6) > Backport request for that commit in > https://bugzilla.redhat.com/show_bug.cgi?id=1533444 We should close this bug (1654804) as a duplicate of the above (1533444). *** This bug has been marked as a duplicate of bug 1533444 *** Actually closing this as the duplicate of bug 1646382, which has the Fixed-In-Version: openstack-nova-14.1.0-34.el7ost *** This bug has been marked as a duplicate of bug 1646382 *** |