pf9-ostackhost Service Fails to Connect to Libvirt
Problem
- The host is reported offline in Clarity UI.
- /var/log/pf9/hostagent.log showsthat pf9-ostackhost service has failed to start.
- /var/log/pf9/ostackhost.log contains the message "Failed to connect socket to /var/run/libvirt/libvirt-sock".
- /var/log/libvirt/libvirtd.log contains the message "Unable to bind to port".
- In /var/log/syslog.log, it is observed that the libvirt service has stopped and is not able to restart.
Environment
- Platform9 Managed OpenStack - v3.5.0 and Higher
- Ubuntu 14.04
Cause
A stale libvirt process is holding the lock on the service port.
Resolution
- Kill the stale libvirtd daemon.
- Start the libvirt-bin service.
- Start the pf9-ostackhost service.
Was this page helpful?