RHV error virNetTLSContextCheckCertBasicConstraints:187 The certificate /etc/pki/vdsm/certs/cacert.pem basic constraints do not show a CA
Issue
-
After upgrading host to new RHV-H version, multiple services including
libvirtd
andvdsmd
fail to start.Jan 22 10:46:57 rhvh1 systemd: Starting Virtualization daemon... Jan 22 10:46:57 rhvh1 libvirtd: 2021-01-22 09:46:57.250+0000: 25709: info : libvirt version: 4.5.0, package: 23.el7_7.3 (Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>, 2019-10-28-11:28:26, x86-034.build.eng.bos.redhat.com) Jan 22 10:46:57 rhvh1 libvirtd: 2021-01-22 09:46:57.250+0000: 25709: info : hostname: rhvh1.example.org Jan 22 10:46:57 rhvh1 libvirtd: 2021-01-22 09:46:57.250+0000: 25709: error : virNetTLSContextCheckCertBasicConstraints:187 : The certificate /etc/pki/vdsm/certs/cacert.pem basic constraints do not show a CA Jan 22 10:46:57 rhvh1 systemd: libvirtd.service: main process exited, code=exited, status=6/NOTCONFIGURED Jan 22 10:46:57 rhvh1 systemd: Failed to start Virtualization daemon. Jan 22 10:46:57 rhvh1 systemd: Dependency failed for Auxiliary vdsm service for running helper functions as root. Jan 22 10:46:57 rhvh1 systemd: Dependency failed for Virtual Desktop Server Manager. Jan 22 10:46:57 rhvh1 systemd: Dependency failed for MOM instance configured for VDSM purposes. Jan 22 10:46:57 rhvh1 systemd: Job mom-vdsm.service/start failed with result 'dependency'. Jan 22 10:46:57 rhvh1 systemd: Job vdsmd.service/start failed with result 'dependency'. Jan 22 10:46:57 rhvh1 systemd: Job supervdsmd.service/start failed with result 'dependency'. Jan 22 10:46:57 rhvh1 systemd: Dependency failed for Virtual Desktop Server Manager network restoration. Jan 22 10:46:57 rhvh1 systemd: Job vdsm-network.service/start failed with result 'dependency'. Jan 22 10:46:57 rhvh1 systemd: Unit libvirtd.service entered failed state. Jan 22 10:46:57 rhvh1 systemd: libvirtd.service failed.
Environment
- Red Hat Virtualization 4.3.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.