Seen twice today on changes I've reviewed and rechecking. Tests working with volumes sometimes fail because of "Could not open '/dev/sdb': Permission denied" from libvirt. Here's a couple of examples.
tempest.api.compute.admin.test_volume_swap.TestVolumeSwap.test_volume_swap "Failure rebasing volume /dev/sdb on vdb.: libvirt.libvirtError: internal error: unable to execute QEMU command 'drive-mirror': Could not open '/dev/sdb': Permission denied"
2021-03-17 23:24:26.792 | [ERROR] /opt/stack/new/grenade/projects/70_cinder/resources.sh:172 Volume failed to become in-use [1]
Mar 17 23:22:54.242764 ubuntu-bionic-ovh-gra1-0023547430 nova-compute[27357]: ERROR nova.virt.block_device [None req-bdf9e703-73b4-49b5-8755-4b6798749af0 cinder_grenade cinder_grenade] [instance: 3496ab76-6fd2-477d-87fc-f0c945687d29] Driver failed to attach volume d73f3349-c514-4082-8bd1-17b64ad2970a at /dev/vdb: libvirt.libvirtError: operation failed: 'serial' is deprecated, please use the corresponding option of '-device' instead
Mar 17 23:22:54.242764 ubuntu-bionic-ovh-gra1-0023547430 nova-compute[27357]: Could not open '/dev/sdb': Permission denied [2]
Seen twice today on changes I've reviewed and rechecking. Tests working with volumes sometimes fail because of "Could not open '/dev/sdb': Permission denied" from libvirt. Here's a couple of examples.
tempest. api.compute. admin.test_ volume_ swap.TestVolume Swap.test_ volume_ swap "Failure rebasing volume /dev/sdb on vdb.: libvirt. libvirtError: internal error: unable to execute QEMU command 'drive-mirror': Could not open '/dev/sdb': Permission denied"
https:/ /zuul.opendev. org/t/openstack /build/ c9515f1edc774e7 4a84e91a7dee500 74/log/ compute1/ logs/screen- n-cpu.txt# 2138
and
2021-03-17 23:24:26.792 | [ERROR] /opt/stack/ new/grenade/ projects/ 70_cinder/ resources. sh:172 Volume failed to become in-use [1]
Mar 17 23:22:54.242764 ubuntu- bionic- ovh-gra1- 0023547430 nova-compute[ 27357]: ERROR nova.virt. block_device [None req-bdf9e703- 73b4-49b5- 8755-4b6798749a f0 cinder_grenade cinder_grenade] [instance: 3496ab76- 6fd2-477d- 87fc-f0c945687d 29] Driver failed to attach volume d73f3349- c514-4082- 8bd1-17b64ad297 0a at /dev/vdb: libvirt. libvirtError: operation failed: 'serial' is deprecated, please use the corresponding option of '-device' instead bionic- ovh-gra1- 0023547430 nova-compute[ 27357]: Could not open '/dev/sdb': Permission denied [2]
Mar 17 23:22:54.242764 ubuntu-
[1] https:/ /zuul.opendev. org/t/openstack /build/ e1050a661fec47b 49d6d7babc89d71 d3/log/ logs/grenade. sh.txt# 41025 /zuul.opendev. org/t/openstack /build/ e1050a661fec47b 49d6d7babc89d71 d3/log/ logs/screen- n-cpu.txt# 3189
[2] https:/