resize fails with volume multiattach using with libvirt 4.0.0 (and qemu 2.11.1): Failed to get shared "write" lock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Matt Riedemann | ||
Queens |
Fix Committed
|
Medium
|
Matt Riedemann |
Bug Description
Seeing this in a patch https:/
2018-03-
Is another process using the image?
Mar 19 19:48:17.132940 ubuntu-
Mar 19 19:48:17.133724 ubuntu-
Mar 19 19:48:17.134022 ubuntu-
That last error likely means the 'shareable' element isn't in the disk config xml, and it's not:
<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='none' io='native'/>
<source dev='/dev/sdb'/>
<target dev='vdb' bus='virtio'/>
<serial>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</disk>
summary: |
- volume multiattach does not work with libvirt 4.0.0 (and qemu 2.11.1): - Failed to get shared "write" lock + resize fails with volume multiattach using with libvirt 4.0.0 (and qemu + 2.11.1): Failed to get shared "write" lock |
This is a bit confusing because I'm seeing the disk 'shareable' flag set in the guests in other multiattach tests:
http:// logs.openstack. org/17/ 554317/ 1/check/ nova-multiattac h/8e97832/ logs/screen- n-cpu.txt. gz#_Mar_ 19_19_54_ 59_543776