stable/victoria tests are very unstable because of tempest test_live_block_migration_with_attached_volume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
stable/victoria merge process is effectively blocked because test_live_
I have used failed tests for review https:/
Picture is always the same:
1. Tempest deletes volume attachment [1]
2. nova-compute fails to detach volume because of error [2]
It looks like a communication problem between nova-compute and libvirt.
[1]
2023-02-28 12:43:25.610324 | controller | 2023-02-28 12:40:08,991 6532 INFO [tempest.
[2]
Feb 28 12:45:26.707716 np0033291896 nova-compute[
Feb 28 12:45:26.707716 np0033291896 nova-compute[
Feb 28 12:45:26.707716 np0033291896 nova-compute[
Notes about failed tests:
Feb 28 2:05 PM multinode /zuul.opendev. org/t/openstack /build/ 4ed95ecdc74d417 1a252a10dbd7394 cd
nova-grenade-
https:/
2023-02-28 12:43:25.610324 | controller | 2023-02-28 12:40:08,991 6532 INFO [tempest. lib.common. rest_client] Request (LiveAutoBlockM igrationV225Tes t:_run_ cleanups) : 202 DELETE http:// 213.32. 76.87/compute/ v2.1/servers/ e49ccfac- 97fc-4b8d- a15a-6a319d8c9a 9b/os-volume_ attachments/ e0d103c8- cc39-4ccc- a91e-a415ff68bd ee 0.217s 17b6-4229- a468-b8f631adb2 2f
req-5258fab6-
Feb 28 12:45:26.707716 np0033291896 nova-compute[ 15752]: ERROR oslo_messaging. rpc.server File "/opt/stack/ old/nova/ nova/virt/ libvirt/ guest.py" , line 472, in _do_wait_ and_retry_ detach 15752]: ERROR oslo_messaging. rpc.server device= alternative_ device_ name, reason=reason) 15752]: ERROR oslo_messaging. rpc.server nova.exception. DeviceDetachFai led: Device detach failed for vdb: Unable to detach the device from the live config.
Feb 28 12:45:26.707716 np0033291896 nova-compute[
Feb 28 12:45:26.707716 np0033291896 nova-compute[
Feb 28 11:30 PM /zuul.opendev. org/t/openstack /build/ cbf3a07faab5440 eb8a91becef2655 c7 api.compute. admin.test_ live_migration. LiveMigrationTe st.test_ live_block_ migration_ with_attached_ volume
nova-live-migration
https:/
tempest.
2023-02-28 21:58:26.301717 | controller | 2023-02-28 21:55:10,018 99895 INFO [tempest. lib.common. rest_client] Request (LiveMigrationT est:_run_ cleanups) : 202 DELETE https:/ /10.209. 98.43/compute/ v2.1/servers/ b94a1419- 155e-41ca- 84da-fe2bdc10e5 fe/os-volume_ attachments/ 64154b1e- 47e2-4845- a2a3-6fbbf6b034 cf 0.266s 7cc1-4095- 8bdc-b7b47adb54 60
req-66c2cbd5-
Feb 28 22:00:25.255650 np0033301385 nova-compute[ 90639]: WARNING nova.virt. block_device [None req-66c2cbd5- 7cc1-4095- 8bdc-b7b47adb54 60 tempest- LiveMigrationTe st-202272944 tempest- LiveMigrationTe st-202272944- project] [instance: b94a1419- 155e-41ca- 84da-fe2bdc10e5 fe] Guest refused to detach volume 64154b1e- 47e2-4845- a2a3-6fbbf6b034 cf: nova.exception. DeviceDetachFai led: Device detach failed for vdb: Unable to detach the device from the live config.
instance-0000000d
There are no errors/failures in libvirt logs. Only successful requests to remove device:
2023-02-28 21:59:15.232+0000: 59397: debug : qemuDomainObjBe ginJobInternal: 9470 : Started job: modify (async=none vm=0x7f9474014b30 name=instance- 0000000d) terMonitorInter nal:9869 : Entering monitor (mon=0x7f9474054dd0 vm=0x7f9474014b30 name=instance- 0000000d) evice:2848 : devalias= virtio- disk1 evice:2850 : mon:0x7f9474054dd0 vm:0x7f9474014b30 fd:34 SEND_MSG: mon=0x7f9474054dd0 msg={"execute" :"device_ del","arguments ":{"id" :"virtio- disk1"} ,"id":" libvirt- 398"} ite:450 : QEMU_MONITOR_ IO_WRITE: mon=0x7f9474054dd0 buf={"execute" :"device_ del","arguments ":{"id" :"virtio- disk1"} ,"id":" libvirt- 398"} IOProcessLine: 220 : ...
2023-02-28 21:59:15.233+0000: 59397: debug : qemuDomainObjEn
2023-02-28 21:59:15.233+0000: 59397: debug : qemuMonitorDelD
2023-02-28 21:59:15.233+0000: 59397: debug : qemuMonitorDelD
2023-02-28 21:59:15.233+0000: 59397: info : qemuMonitorSend:993 : QEMU_MONITOR_
fd=-1
2023-02-28 21:59:15.233+0000: 59392: info : qemuMonitorIOWr
len=79 ret=79 errno=0
2023-02-28 21:59:15.234+0000: 59392: debug : qemuMonitorJSON