Description of problem: When the hoseted-engine --deploy fails on RHEV-H the second attempt to configure the hosted engine always fails with the following ERROR: 2016-02-10 10:40:55 DEBUG otopi.plugins.ovirt_hosted_engine_setup.pki.vdsmpki plugin.execute:932 execute-output: ('/bin/openssl', 'x50 9', '-noout', '-text', '-in', '/etc/pki/vdsm/libvirt-spice/server-cert.pem') stdout: 2016-02-10 10:40:55 DEBUG otopi.plugins.ovirt_hosted_engine_setup.pki.vdsmpki plugin.execute:937 execute-output: ('/bin/openssl', 'x50 9', '-noout', '-text', '-in', '/etc/pki/vdsm/libvirt-spice/server-cert.pem') stderr: unable to load certificate 140287306053536:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICATE 2016-02-10 10:40:55 DEBUG otopi.context context._executeMethod:152 method exception Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/otopi/context.py", line 142, in _executeMethod File "/usr/share/ovirt-hosted-engine-setup/plugins/ovirt-hosted-engine-setup/pki/vdsmpki.py", line 281, in _late_setup File "/usr/share/ovirt-hosted-engine-setup/plugins/ovirt-hosted-engine-setup/pki/vdsmpki.py", line 126, in _getSPICEcerts File "/usr/lib/python2.7/site-packages/otopi/plugin.py", line 942, in execute RuntimeError: Command '/bin/openssl' failed to execute Version-Release number of selected component (if applicable): ovirt-node-plugin-hosted-engine-0.2.0-18.0.el7ev.noarch ovirt-hosted-engine-setup-1.2.6.1-1.el7ev.noarch How reproducible: depends on the timing Steps to Reproduce: 1.Start the deploy 2.Interrupted the deployment by Ctrl+c combination. Actual results: The ERROR above Expected results: hosted engine does a proper cleaning before it starts or when it is interrupted. Additional info: issue is caused by existing file /etc/pki/vdsm/libvirt-spice/server-cert.pem which is empty. When the file is removed, the deployment can be started again.
Roman, does this happen on RHEV-H only? Or on RHEL as well?
(In reply to Sandro Bonazzola from comment #1) > Roman, does this happen on RHEV-H only? Or on RHEL as well? No idea I did not hit this in RHEL, but it does not seem to be RHEV-H related.
*** This bug has been marked as a duplicate of bug 1001181 ***