pf9-ostackhost Service Failing With Error: "Connection to libvirt failed"
Problem
Instance creation is failing.
The following error is present in / var/log/pf9/ostackhost.log on one or more of the hypervisors.
INFO nova.virt.libvirt.driver [req-xxxx None None] Connection event '0' reason 'Failed to connect to libvirt'ERROR nova.virt.libvirt.host [req-xxxx None None] Connection to libvirt failed: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Connection refusedfailed: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Connection refusedEnvironment
Platform9 Managed OpenStack - v3.11 and Higher
Nova
Libvirt
Cause
The exact cause is yet to be determined.
Resolution
Stop the libvirt-bin service.
# systemctl stop libvirt-bin.serviceStop the libvirt-bin socket.
# systemctl stop libvirt-bin.socketStart the libvirt-bin service.
PreviousLibvirt Randomly Crashes on Ubuntu 16.04, "Error in `/usr/sbin/libvirtd': malloc(): memory corruption:"
NextInstance Creation Failing: "Could not open backing file"
Last updated
