Description of problem:
/etc/pki/libvirt-spice is unavailable, at least when deploying a RHEL host using hosted engine setup. Actually I'm unsure if component is ovirt-host-deploy or ovirt-hosted-engine-setup.
This issue prevent the user to start a VM with Spice configured as protocol.
Version-Release number of selected component (if applicable):
Unsure. Tested only once.
Steps to Reproduce:
1. On RHEL 6.5, install ovirt-hosted-engine-setup and run hosted-engine --deploy
2. Install engine and configure it (rhevm-setup) on created hosted engine vm
3. After engine is running, create a VM and choose SPICE protocol for console
4. Start created VM
A message similar to the following is show in events tab:
VM VF-RHEL5.9-test is down. Exit message: internal error process exited while connecting to monitor: ((null):18070): Spice-Warning **: reds.c:3255:reds_init_ssl: Could not load certificates from /etc/pki/libvirt-spice/server-cert.pem
failed to initialize spice server.
VM should start.
After manually creating a symlink in RHEL host, pointing /etc/pki/libvirt-spice to /etc/pki/vdsm/libvirt-spice, VM is able to start.
This issue happened only on the first virtualization node. I added a second node using hosted-engine setup tool and although the certs are available only at /etc/pki/vdsm/libvirt-spice, it's working.
*** This bug has been marked as a duplicate of bug 1034634 ***