Bug 1954529 - [OSP 16.2] libvirt.libvirtError: internal error: unable to execute QEMU command 'device_del': Device virtio-disk2 is already in the process of unplug
Summary: [OSP 16.2] libvirt.libvirtError: internal error: unable to execute QEMU comma...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: beta
: 16.2 (Train on RHEL 8.4)
Assignee: Lee Yarwood
QA Contact: James Parker
URL:
Whiteboard:
Depends On:
Blocks: 1794216 1833442
TreeView+ depends on / blocked
 
Reported: 2021-04-28 10:39 UTC by Lee Yarwood
Modified: 2021-09-15 12:57 UTC (History)
10 users (show)

Fixed In Version: openstack-nova-20.6.1-2.20210429124809.10df176.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-15 07:14:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1923206 0 None None None 2021-04-28 10:39:13 UTC
OpenStack gerrit 788469 0 None NEW libvirt: Ignore device already in the process of unplug errors 2021-04-28 10:39:13 UTC
Red Hat Product Errata RHEA-2021:3483 0 None None None 2021-09-15 07:14:55 UTC

Description Lee Yarwood 2021-04-28 10:39:13 UTC
Description of problem:

./nova-compute.log:2021-04-27 20:26:23.790 7 ERROR nova.virt.block_device [instance: f48cb536-0414-41c9-b52a-59b20f73fe04]
./nova-compute.log:2021-04-27 20:26:23.849 7 ERROR oslo_messaging.rpc.server [req-8864621c-a219-47be-ba24-b9e2e238f109 b7c0e5495039469ab3450f1a67149535 e15c224945a04367bc01da5a151675dd - default default] Exception during message handling: libvirt.libvirtError: internal error: unable to execute QEMU command 'device_del': Device virtio-disk2 is already in the process of unplug
./nova-compute.log:2021-04-27 20:26:23.849 7 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
~~ output omitted ~~
./nova-compute.log:2021-04-27 20:26:23.849 7 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.6/site-packages/eventlet/tpool.py", line 83, in tworker
./nova-compute.log:2021-04-27 20:26:23.849 7 ERROR oslo_messaging.rpc.server     rv = meth(*args, **kwargs)
./nova-compute.log:2021-04-27 20:26:23.849 7 ERROR oslo_messaging.rpc.server   File "/usr/lib64/python3.6/site-packages/libvirt.py", line 1534, in detachDeviceFlags
./nova-compute.log:2021-04-27 20:26:23.849 7 ERROR oslo_messaging.rpc.server     raise libvirtError('virDomainDetachDeviceFlags() failed')
./nova-compute.log:2021-04-27 20:26:23.849 7 ERROR oslo_messaging.rpc.server libvirt.libvirtError: internal error: unable to execute QEMU command 'device_del': Device virtio-disk2 is already in the process of unplug

Version-Release number of selected component (if applicable):
Latest 16.2 build.

How reproducible:
Always.

Steps to Reproduce:
1. Run tempest against env defaulting to the q35 machine type.

Actual results:
Some test failures as devices fail to be detached.

Expected results:
All tests pass.

Additional info:

https://bugs.launchpad.net/nova/+bug/1923206
https://review.opendev.org/q/I0e068043d8267ab91535413d950a3e154c2234f7

Comment 15 errata-xmlrpc 2021-09-15 07:14:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform (RHOSP) 16.2 enhancement advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2021:3483


Note You need to log in before you can comment on or make changes to this bug.