Nova compute container stuck in restarting on a compute node

Solution Verified - Updated -

Issue

  • The compute C1F-OPS-CMPC20.example.com is unavailable, 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 "C1F-OPS-CMPC20"
+--------------------------------------+------------------+-------------------------------+----------+----------+-------+----------------------------+----------------------------------------------------------------------------------------------------------------------------+-------------+
| Id                                   | Binary           | Host                          | Zone     | Status   | State | Updated_at                 | Disabled Reason                                                                                                            | Forced down |
+--------------------------------------+------------------+-------------------------------+----------+----------+-------+----------------------------+----------------------------------------------------------------------------------------------------------------------------+-------------+
| 5d92a71f-e327-48ec-b478-8fb48440168d | nova-compute     | C1F-OPS-CMPC20.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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In