My Oracle Support Banner

OLVM: Redeploying Hosted Engine Failed with Error " Unable to access credentials /etc/pki/vdsm/libvirt-vnc/ca-cert.pem: No such file or directory" (Doc ID 2704228.1)

Last updated on OCTOBER 01, 2021

Applies to:

Linux OS - Version Oracle Linux 7.7 with Unbreakable Enterprise Kernel [4.14.35] and later
Linux x86-64

Symptoms

For some reason when hosted engine has to be redeployed, it fails with below error,  

[ INFO  ] TASK [ovirt.hosted_engine_setup : Create local VM]
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["virt-install", "-n", "HostedEngineLocal", "--os-variant",
"rhel7", "--virt-type", "kvm", "--memory", "16384", "--vcpus", "4", "--network", "network=default,mac=00:16:3e:56:1d:ad,model=
virtio", "--disk", "/var/tmp/localvmm75dZw/images/ee296655-895b-40cb-8ad5-d363757331bc/ae68e444-f63c-48d6-adcf-89e79bdee01d",
"--import", "--disk", "path=/var/tmp/localvmm75dZw/seed.iso,device=cdrom", "--noautoconsole", "--rng", "/dev/random", "--graph
ics", "vnc", "--video", "vga", "--sound", "none", "--controller", "usb,model=none", "--memballoon", "none", "--boot", "hd,menu=off", "--clock", "kvmclock_present=yes"], "delta": "0:00:04.563634", "end": "2020-08-21 17:36:50.268668", "msg": "non-zero return code", "rc": 1, "start": "2020-08-21 17:36:45.705034", "stderr": "ERROR    internal error: qemu unexpectedly closed the monitor: 2020-08-21T09:36:49.145848Z qemu-system-x86_64: -object tls-creds-x509,id=vnc-tls-creds0,dir=/etc/pki/vdsm/libvirt-vnc,endpoint=server,verify-peer=no: Unable to access credentials /etc/pki/vdsm/libvirt-vnc/ca-cert.pem: No such file or directory\nDomain installation does not appear to have been successful.\nIf it was, you can restart your domain by running:\n  virsh --connect qemu:///system start HostedEngineLocal\notherwise, please restart your installation.", "stderr_lines": ["ERROR    internal error: qemu unexpectedly closed the monitor: 2020-08-21T09:36:49.145848Z qemu-system-x86_64: -object tls-creds-x509,id=vnc-tls-creds0,dir=/etc/pki/vdsm/libvirt-vnc,endpoint=server,verify-peer=no: Unable to access credentials /etc/pki/vdsm/libvirt-vnc/ca-cert.pem: No such file or directory", "Domain installation does not appear to have been successful.", "If it was, you can restart your domain by running:", "  virsh --connect qemu:///system start HostedEngineLocal", "otherwise, please restart your installation."], "stdout": "\nStarting install...", "stdout_lines": ["", "Starting install..."]}
[ INFO  ] TASK [ovirt.hosted_engine_setup : include_tasks]

 

Changes

Redeploying hosted engine.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.