Nova compute container stuck in restarting on a compute node

Solution Verified - Updated -

Issue

  • Compute is reported down, and reports error Failed to connect to libvirt: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
(overcloud) [stack@c1v-ops-dirc20 migrate_vm]$ nova service-list | grep "compute-0"
+--------------------------------------+------------------+-------------------------------+----------+----------+-------+----------------------------+----------------------------------------------------------------------------------------------------------------------------+-------------+
| Id                                   | Binary           | Host                          | Zone     | Status   | State | Updated_at                 | Disabled Reason                                                                                                            | Forced down |
+--------------------------------------+------------------+-------------------------------+----------+----------+-------+----------------------------+----------------------------------------------------------------------------------------------------------------------------+-------------+
| 5d92a71f-e327-48ec-b478-8fb48440168d | nova-compute     | compute-0.example.com | nova     | disabled | down  | 2020-03-27T17:49:17.000000 | AUTO: Failed to connect to libvirt: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory | False       |
+--------------------------------------+------------------+-------------------------------+----------+----------+-------+----------------------------+----------------------------------------------------------------------------------------------------------------------------+-------------+

Environment

  • Red Hat OpenStack Platform 13.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content