Unable to Start Libvirtd Service
Problem
Unable to start libvirtd service on the KVM host.
We see "'/etc/pf9/certs/libvirt/cacert.pem': No such file or directory" in /var/log/messages on the KVM host.
The complete snippet in /var/log/messages on the KVM host while starting Libvirt daemon.
systemd: Starting Virtualization daemon...libvirtd: 756+0000: 15182: info : libvirt version: 4.5.0, package: 10.el7_6.4 (CentOS BuildSystem [http://bugs.centos.org], XXXX-XX-XX-YY:YY:YY, x86-01.bsys.centos.org)libvirtd: 756+0000: 15182: info : hostname: smc02e2b01libvirtd: 756+0000: 15182: error : virNetTLSContextCheckCertFile:112 : Cannot read CA certificate '/etc/pf9/certs/libvirt/cacert.pem': No such file or directorysystemd: libvirtd.service: main process exited, code=exited, status=6/NOTCONFIGUREDsystemd: Failed to start Virtualization daemon.Environment
Platform9 Managed OpenStack - v3.8.0 and Higher
Cause
Not able to start the libvirtd daemon as the soft links are missing from /etc/pf9/certs/libvirt directory.
Resolution
1. Create a directory in /etc/pf9/certs/libvirt.
$ mkdir libvirt2. Recreate the missing soft link in the /etc/pf9/certs/libvirt directory.
$ ln -s /etc/pf9/certs/ca/cert.pem cacert.pem$ ln -s /etc/pf9/certs/hostagent/cert.pem clientcert.pem$ ln -s /etc/pf9/certs/hostagent/key.pem clientkey.pemPreviousUnable to Reach Floating IP: "Destination Host Unreachable"
NextInstance Unable to be Deleted, Stuck in Spawning/Build State
Last updated
