VM is not stopping or starting

Solution In Progress - Updated -

Issue

  • VM is not stopping or starting and the following error message is seen in /var/log/nova/nova-compute.log:
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [req-8228a538-43b1-4e4a-87c6-35680a95707f c6015c4d46694de2bb99411a5fdb388e 301e3b6a1fc941f2897d00a657a22482 - - -] [instance: d4d7e205-4772-438c-8453-377a613ff963] Error trying to Rescue Instance
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [instance: d4d7e205-4772-438c-8453-377a613ff963] Traceback (most recent call last):
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [instance: d4d7e205-4772-438c-8453-377a613ff963]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 3319, in rescue_instance
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [instance: d4d7e205-4772-438c-8453-377a613ff963]     self._power_off_instance(context, instance, clean_shutdown)
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [instance: d4d7e205-4772-438c-8453-377a613ff963]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2163, in _power_off_instance
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [instance: d4d7e205-4772-438c-8453-377a613ff963]     self.driver.power_off(instance, timeout, retry_interval)
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [instance: d4d7e205-4772-438c-8453-377a613ff963]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2483, in power_off
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [instance: d4d7e205-4772-438c-8453-377a613ff963]     self._clean_shutdown(instance, timeout, retry_interval)
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [instance: d4d7e205-4772-438c-8453-377a613ff963]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2438, in _clean_shutdown
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [instance: d4d7e205-4772-438c-8453-377a613ff963]     guest.shutdown()
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [instance: d4d7e205-4772-438c-8453-377a613ff963]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/guest.py", line 577, in shutdown
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [instance: d4d7e205-4772-438c-8453-377a613ff963]     self._domain.shutdown()
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [instance: d4d7e205-4772-438c-8453-377a613ff963]   File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 186, in doit
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [instance: d4d7e205-4772-438c-8453-377a613ff963]     result = proxy_call(self._autowrap, f, *args, **kwargs)
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [instance: d4d7e205-4772-438c-8453-377a613ff963]   File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 144, in proxy_call
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [instance: d4d7e205-4772-438c-8453-377a613ff963]     rv = execute(f, *args, **kwargs)
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [instance: d4d7e205-4772-438c-8453-377a613ff963]   File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 125, in execute
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [instance: d4d7e205-4772-438c-8453-377a613ff963]     six.reraise(c, e, tb)
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [instance: d4d7e205-4772-438c-8453-377a613ff963]   File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 83, in tworker
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [instance: d4d7e205-4772-438c-8453-377a613ff963]     rv = meth(*args, **kwargs)
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [instance: d4d7e205-4772-438c-8453-377a613ff963]   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2376, in shutdown
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [instance: d4d7e205-4772-438c-8453-377a613ff963]     if ret == -1: raise libvirtError ('virDomainShutdown() failed', dom=self)
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [instance: d4d7e205-4772-438c-8453-377a613ff963] libvirtError: Timed out during operation: cannot acquire state change lock (held by remoteDispatchDomainMemoryStats)
2019-05-21 15:54:20.590 432925 ERROR nova.compute.manager [instance: d4d7e205-4772-438c-8453-377a613ff963]

Environment

  • Red Hat OpenStack Platform 10.0 (RHOSP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In