Managed OpenStack
Latest
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Unable to Start Libvirtd Service
Copy Markdown
Open in ChatGPT
Open in Claude
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.
xxxxxxxxxx$ 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.pemVariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message