| Summary: | Hosted engine setup fails after first failed installation (workaround: remove empty /etc/pki/vdsm/libvirt-spice/server-cert.pem) | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Roman Hodain <rhodain> |
| Component: | ovirt-hosted-engine-setup | Assignee: | Simone Tiraboschi <stirabos> |
| Status: | CLOSED DUPLICATE | QA Contact: | Ilanit Stein <istein> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.5.7 | CC: | fdeutsch, gklein, lsurette, rhodain, sbonazzo, ykaul |
| Target Milestone: | ovirt-3.6.5 | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | integration | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-22 13:29:48 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
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 *** |
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.