Hi all! I'm using Cockpit to perform an HCI
install, and it fails at the hosted engine deploy.
Libvirtd can't restart because of a missing
/etc/pki/CA/cacert.pem file.
The log (tasks seemingly from
/usr/share/ansible/roles/ovirt.hosted_engine_setup/tasks/initial_clean.yml):
[ INFO ] TASK
[ovirt.hosted_engine_setup : Stop libvirt
service]
[ INFO ] changed: [localhost]
[ INFO ] TASK
[ovirt.hosted_engine_setup : Drop vdsm config
statements]
[ INFO ] changed: [localhost]
[ INFO ] TASK
[ovirt.hosted_engine_setup : Restore initial
abrt config files]
[ INFO ] changed: [localhost]
[ INFO ] TASK
[ovirt.hosted_engine_setup : Restart abrtd
service]
[ INFO ] changed: [localhost]
[ INFO ] TASK
[ovirt.hosted_engine_setup : Drop libvirt sasl2
configuration by vdsm]
[ INFO ] changed: [localhost]
[ INFO ] TASK
[ovirt.hosted_engine_setup : Stop and disable
services]
[ INFO ] ok: [localhost]
[ INFO ] TASK
[ovirt.hosted_engine_setup : Restore initial
libvirt default network configuration]
[ INFO ] changed: [localhost]
[ INFO ] TASK
[ovirt.hosted_engine_setup : Start libvirt]
[ ERROR ] fatal: [localhost]: FAILED!
=> {"changed": false, "msg": "Unable to start
service libvirtd: Job for libvirtd.service
failed because the control process exited with
error code.\nSee \"systemctl status
libvirtd.service\" and \"journalctl -xe\" for
details.\n"}
journalctl -u libvirtd:
May 22 04:33:25 node1 libvirtd[26392]: libvirt
version: 5.6.0, package: 10.el8 (CBS <
cbs@centos.org>,
2020-02-27-01:09:46, )
May 22 04:33:25 node1 libvirtd[26392]: hostname:
node1
May 22 04:33:25 node1 libvirtd[26392]: Cannot read
CA certificate '/etc/pki/CA/cacert.pem': No such
file or directory
May 22 04:33:25 node1 systemd[1]: libvirtd.service:
Main process exited, code=exited,
status=6/NOTCONFIGURED
May 22 04:33:25 node1 systemd[1]: libvirtd.service:
Failed with result 'exit-code'.
May 22 04:33:25 node1 systemd[1]: Failed to start
Virtualization daemon.