Managed OpenStack
Latest
Host Intermittently Fails to Converge.
Problem
Host fails to converge with the below error messages in log /var/log/pf9/ostackhost.log:
ERROR nova.virt.libvirt.host [-] Connection to libvirt failed: Failed to connect socket to ‘/var/run/libvirt/libvirt-sock’: Permission denied
Environment
Platform9 Managed OpenStack - v4.0 and Higher
libvirtd
Pf9-ostackhost
Cause
The libvirtd service socket permission is incorrect. This permission was either modified manually or by some third-party application.
Resolution
Correct the permission under /etc/libvirt/libvirtd.conf
# cat /etc/libvirt/libvirtd.conflisten_tcp=1listen_tls=0auth_tcp="none"tcp_port="16509"auth_unix_ro = "none"auth_unix_rw = "none"unix_sock_group = "root"unix_sock_ro_perms = "0777"unix_sock_rw_perms = "0777"
Restart libvirtd.service
# systemctl restart libvirtd
Check the libvirt-sock permission.
# ls -lrth /var/run/libvirt/libvirt-socksrwxrwxrwx. 1 root root 0 Nov 17 19:47 /var/run/libvirt/libvirt-sock
Last updated on
Was this page helpful?
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered by
