Bug 1698811
| Summary: | Wrong error when missing he_ansible_host_name parameter | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-ansible-collection | Reporter: | Liran Rotenberg <lrotenbe> | ||||
| Component: | hosted-engine-setup | Assignee: | Asaf Rachmani <arachman> | ||||
| Status: | CLOSED EOL | QA Contact: | Nikolai Sednev <nsednev> | ||||
| Severity: | low | Docs Contact: | Tahlia Richardson <trichard> | ||||
| Priority: | medium | ||||||
| Version: | unspecified | CC: | bugs | ||||
| Target Milestone: | --- | Flags: | sbonazzo:
ovirt-4.5?
|
||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2022-04-20 14:17:25 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: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Moved out to 4.4 being low severity Liran, does this happen again in 4.4? No idea, since I didn't deployed HE for a long time. Better to ask QE. Created attachment 1789223 [details]
remote ansible log from alma04
This is an automated message. This Bugzilla report has been opened on a version which is not maintained anymore (4.3). Please check if this bug is still relevant in oVirt 4.5.0 and reopen if still an issue. |
Description of problem: Deploying on a remote host requires "he_ansible_host_name" parameter set in the json file. Without it, the user will get a error regarding to connection(failed to ssh or sudo: a password is required). These errors are unrelated to the real problem - the missing parameter. Version-Release number of selected component (if applicable): ovirt-ansible-hosted-engine-setup-1.0.15-1.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. Deploy HE using the ansible role, missing he_ansible_host_name parameter in the json file. 2. Check the error/s given. Actual results: Errors are shown as: fatal: [ocelot05.qa.lab.tlv.redhat.com -> compute-ge-he-6.qa.lab.tlv.redhat.com]: FAILED! => {"changed": false, "elapsed": 192, "msg": "timed out waiting for ping module test success: Failed to connect to the host via ssh: ssh: connect to host compute-ge-he-6.qa.lab.tlv.redhat.com port 22: Connection timed out"} And: fatal: [ocelot05.qa.lab.tlv.redhat.com -> localhost]: FAILED! => {"changed": false, "module_stderr": "sudo: a password is required\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1} Expected results: Error regarding the missing parameter he_ansible_host_name.