I was able to reproduce on a devstack bionic:
local.conf:TARGET_BRANCH=stable/ussuri
nova-cpu.conf:[libvirt]\hw_machine_type = x86_64=q35
And comment out os-brick patch workaround:
/usr/local/lib/python3.8/dist-packages/os_brick/initiator/linuxscsi.py:
602 #if use_multipath:
603 if True:
bionic comes with 3 qemu release:
1:4.0+dfsg-0ubuntu9.8~cloud0
1:2.11+dfsg-1ubuntu7.32
1:2.11+dfsg-1ubuntu7
test is failling with all 3 releases.
while bisecting qemu from 4.0 to 4.2.1 it start to work
with this commit:
2841ab435bca9f102311e01bf157d5fa878935dc is the first bad commit
commit 2841ab435bca9f102311e01bf157d5fa878935dc
Author: Michael S. Tsirkin <email address hidden>
Date: Fri Jun 21 00:12:22 2019 -0400
pcie: check that slt ctrl changed before deleting
During boot, linux would sometimes overwrites control of a powered off
slot before powering it on. Unfortunately QEMU interprets that as a
power off request and ejects the device.
....
I was able to reproduce on a devstack bionic: TARGET_ BRANCH= stable/ ussuri conf:[libvirt] \hw_machine_ type = x86_64=q35
local.conf:
nova-cpu.
And comment out os-brick patch workaround: lib/python3. 8/dist- packages/ os_brick/ initiator/ linuxscsi. py:
/usr/local/
602 #if use_multipath:
603 if True:
bionic comes with 3 qemu release: 0ubuntu9. 8~cloud0 dfsg-1ubuntu7. 32 dfsg-1ubuntu7
1:4.0+dfsg-
1:2.11+
1:2.11+
test is failling with all 3 releases.
while bisecting qemu from 4.0 to 4.2.1 it start to work
with this commit:
2841ab435bca9f1 02311e01bf157d5 fa878935dc is the first bad commit 02311e01bf157d5 fa878935dc
commit 2841ab435bca9f1
Author: Michael S. Tsirkin <email address hidden>
Date: Fri Jun 21 00:12:22 2019 -0400
pcie: check that slt ctrl changed before deleting
During boot, linux would sometimes overwrites control of a powered off
slot before powering it on. Unfortunately QEMU interprets that as a
power off request and ejects the device.
....
~/qemu$ git branch -a --contains 2841ab435bca9f1 02311e01bf157d5 fa878935dc origin/ master origin/ stable- 4.1 origin/ stable- 4.2 origin/ stable- 5.0
master
remotes/
remotes/
remotes/
remotes/
That's why it is fixed since focal (qemu-4.2.3)