Public bug reported:

Seeing this in a patch https://review.openstack.org/#/c/554317/ that
runs the nova-multiattach job with the Queens Ubuntu Cloud Archive which
has libvirt 4.0.0 and qemu 2.11.1:

http://logs.openstack.org/17/554317/1/check/nova-
multiattach/8e97832/logs/libvirt/qemu/instance-00000066.txt.gz

2018-03-19T19:48:16.175548Z qemu-system-x86_64: -device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk1,id=virtio-disk1:
 Failed to get shared "write" lock
Is another process using the image?


http://logs.openstack.org/17/554317/1/check/nova-multiattach/8e97832/logs/screen-n-cpu.txt.gz?level=TRACE#_Mar_19_19_48_16_261051

Mar 19 19:48:17.132940 ubuntu-xenial-inap-mtl01-0003062768 nova-compute[27735]: 
ERROR nova.compute.manager [None req-3a092a4b-7ae7-4f29-9f78-97bf1dc0d46d 
service nova] [instance: 0eed0237-245e-4a18-9e30-9e72accd36c6] Setting instance 
vm_state to ERROR: libvirtError: internal error: process exited while 
connecting to monitor: 2018-03-19T19:48:16.147136Z qemu-system-x86_64: -drive 
file=/dev/sdb,format=raw,if=none,id=drive-virtio-disk1,serial=652600d5-f6dc-4089-ba95-d71d7640cafa,cache=none,aio=native:
 'serial' is deprecated, please use the corresponding option of '-device' 
instead
Mar 19 19:48:17.133724 ubuntu-xenial-inap-mtl01-0003062768 nova-compute[27735]: 
2018-03-19T19:48:16.155115Z qemu-system-x86_64: warning: TCG doesn't support 
requested feature: CPUID.01H:ECX.vmx [bit 5]
Mar 19 19:48:17.134022 ubuntu-xenial-inap-mtl01-0003062768 nova-compute[27735]: 
2018-03-19T19:48:16.175548Z qemu-system-x86_64: -device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk1,id=virtio-disk1:
 Failed to get shared "write" lock

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>652600d5-f6dc-4089-ba95-d71d7640cafa</serial>
    <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</disk>

** Affects: nova
     Importance: Medium
     Assignee: Matt Riedemann (mriedem)
         Status: Triaged


** Tags: libvirt multiattach volumes

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1757190

Title:
  volume multiattach does not work with libvirt 4.0.0 (and qemu 2.11.1):
  Failed to get shared "write" lock

Status in OpenStack Compute (nova):
  Triaged

Bug description:
  Seeing this in a patch https://review.openstack.org/#/c/554317/ that
  runs the nova-multiattach job with the Queens Ubuntu Cloud Archive
  which has libvirt 4.0.0 and qemu 2.11.1:

  http://logs.openstack.org/17/554317/1/check/nova-
  multiattach/8e97832/logs/libvirt/qemu/instance-00000066.txt.gz

  2018-03-19T19:48:16.175548Z qemu-system-x86_64: -device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk1,id=virtio-disk1:
 Failed to get shared "write" lock
  Is another process using the image?

  
  
http://logs.openstack.org/17/554317/1/check/nova-multiattach/8e97832/logs/screen-n-cpu.txt.gz?level=TRACE#_Mar_19_19_48_16_261051

  Mar 19 19:48:17.132940 ubuntu-xenial-inap-mtl01-0003062768 
nova-compute[27735]: ERROR nova.compute.manager [None 
req-3a092a4b-7ae7-4f29-9f78-97bf1dc0d46d service nova] [instance: 
0eed0237-245e-4a18-9e30-9e72accd36c6] Setting instance vm_state to ERROR: 
libvirtError: internal error: process exited while connecting to monitor: 
2018-03-19T19:48:16.147136Z qemu-system-x86_64: -drive 
file=/dev/sdb,format=raw,if=none,id=drive-virtio-disk1,serial=652600d5-f6dc-4089-ba95-d71d7640cafa,cache=none,aio=native:
 'serial' is deprecated, please use the corresponding option of '-device' 
instead
  Mar 19 19:48:17.133724 ubuntu-xenial-inap-mtl01-0003062768 
nova-compute[27735]: 2018-03-19T19:48:16.155115Z qemu-system-x86_64: warning: 
TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]
  Mar 19 19:48:17.134022 ubuntu-xenial-inap-mtl01-0003062768 
nova-compute[27735]: 2018-03-19T19:48:16.175548Z qemu-system-x86_64: -device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk1,id=virtio-disk1:
 Failed to get shared "write" lock

  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>652600d5-f6dc-4089-ba95-d71d7640cafa</serial>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' 
function='0x0'/>
  </disk>

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1757190/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to