Bug 1142696
| Summary: | hosted-engine --deploy fails due to missing vdsm certificates | ||
|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Antoni Segura Puimedon <asegurap> |
| Component: | ovirt-hosted-engine-setup | Assignee: | Sandro Bonazzola <sbonazzo> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | meital avital <mavital> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.5 | CC: | bazulay, bugs, dfediuck, ecohen, gklein, iheim, rbalakri, yeylon |
| Target Milestone: | --- | ||
| Target Release: | 3.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | integration | ||
| Fixed In Version: | ovirt-3.5.0_rc3 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-10-17 12:24:21 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1139020 | ||
Re targeting to 3.5.1 since a simple workaround exist: run # vdsm-tool configure --force before # hosted-engine --deploy oVirt 3.5 has been released and should include the fix for this issue. |
Description of problem: after doing yum install ovirt-hosted-engine-setup, doing hosted-engine --deploy fails due to missing vdsm certs. Version-Release number of selected component (if applicable): ovirt-hosted-engine-setup-1.2.0-0.1.master.20140908073936.git480e272.el6.noarch How reproducible: 100% Steps to Reproduce: 1.Set up the 3rd test day repo 2.yum install ovirt-hosted-engine-setup 3.hosted-engine --deploy Actual results: [root@dell-r210ii-07 ~]# hosted-engine --deploy [ INFO ] Stage: Initializing Continuing will configure this host for serving as hypervisor and create a VM where you have to install oVirt Engine afterwards. Are you sure you want to continue? (Yes, No)[Yes]: [ INFO ] Generating a temporary VNC password. [ INFO ] Stage: Environment setup Configuration files: [] Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20140917102902-mqafce.log Version: otopi-1.3.0_master (otopi-1.3.0-0.0.master.20140911.git7c7d631.el6) [ INFO ] Hardware supports virtualization [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup [ INFO ] Generating VDSM certificates [ ERROR ] Failed to execute stage 'Environment setup': [Errno 2] No such file or directory: '/etc/pki/vdsm/certs/cacert.pem' [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/etc/ovirt-hosted-engine/answers.conf' [ INFO ] Answer file '/etc/ovirt-hosted-engine/answers.conf' has been updated [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [root@dell-r210ii-07 ~]# Expected results: Get to the stage where it asks installation questions Additional info: It is possible to work around this issue by doing: vdsm-tool configure --force which regenerates the certs.