Guest

Preview Tool

Cisco Bug: CSCvu25154 - libvirtError: cannot acquire state change lock (held by remoteDispatchDomainCreateWithFlags)

Last Modified

May 28, 2020

Products (1)

  • Cisco Virtualized Infrastructure Manager

Known Affected Releases

2.4(15)

Description (partial)

Symptom:
* Instance stuck in BUILD state or in ERROR state

[root@pod1-cvim-mgmt ~]# openstack server list --all
+------------------------------------+------------------------------------+--------+-------------------------------------+---------------------+
| ID                                 | Name                               | Status | Networks                            | Image Name          |
+------------------------------------+------------------------------------+--------+-------------------------------------+---------------------+
| 84b58309-345e-                     | 1866-15837676570_hbg-              | ERROR  |                                     | csr-16.09.02        |
| 490d-9221-96f4047ddbe2             | CS_0_7a0a580e-68f2-435f-           |        |                                     |                     |
|                                    | ba86-ba63469da12d                  |        |                                     |                     |
| 635ca573-2cac-4ace-b4fc-           | 1866-15837676570_hbg-              | BUILD  | provider-data19-6138=172.16.16.6;   | csr-16.09.02        |
| 0d95337b2658                       | CS_0_7a0a580e-68f2-435f-           |        | mgmt-700=10.11.11.11; provider-    |                     |
|                                    | ba86-ba63469da12d                  |        | data15-6134=172.16.16.16;          |                     |


* Instance is in a paused state in Libvirt


novalibvirt [root@rcdn-nfvi-m5-micro-01 /]# virsh list --all
 Id    Name                           State
----------------------------------------------------
 1     instance-00000030              paused
 2     instance-00000033              running
 3     instance-00000036              running
 4     instance-00000039              running
 5     instance-0000003c              running


* The following libvirt error is present

libvirt: QEMU Driver error : Timed out during operation: cannot acquire state change lock (held by remoteDispatchDomainCreateWithFlags)

* QEMU waiting on UNIX socket connection in instance logs (/var/log/libvirt/qemu)

2020-04-12T05:13:31.647573Z qemu-kvm: -chardev socket,id=charnet0,path=/tmp/1a7a1590-1869-4249-87b1-7fe6db270a12,server: info: QEMU waiting for connection on: disconnected:unix:/tmp/1a7a1590-1869-4249-87b1-7fe6db270a12,server

Conditions:
Instance creation with multiple vhost-user Neutron ports
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.