Bug 1698811 - Wrong error when missing he_ansible_host_name parameter
Summary: Wrong error when missing he_ansible_host_name parameter
Keywords:
Status: CLOSED EOL
Alias: None
Product: ovirt-ansible-collection
Classification: oVirt
Component: hosted-engine-setup
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Asaf Rachmani
QA Contact: Nikolai Sednev
Tahlia Richardson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-11 08:54 UTC by Liran Rotenberg
Modified: 2022-04-20 14:17 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-04-20 14:17:25 UTC
oVirt Team: Integration
Embargoed:
sbonazzo: ovirt-4.5?


Attachments (Terms of Use)
remote ansible log from alma04 (17.76 KB, text/plain)
2021-06-07 13:46 UTC, Nikolai Sednev
no flags Details

Description Liran Rotenberg 2019-04-11 08:54:44 UTC
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.

Comment 1 Sandro Bonazzola 2019-07-30 10:20:45 UTC
Moved out to 4.4 being low severity

Comment 3 Sandro Bonazzola 2020-10-29 08:48:01 UTC
Liran, does this happen again in 4.4?

Comment 4 Liran Rotenberg 2020-10-29 10:25:23 UTC
No idea, since I didn't deployed HE for a long time. Better to ask QE.

Comment 7 Nikolai Sednev 2021-06-07 13:46:47 UTC
Created attachment 1789223 [details]
remote ansible log from alma04

Comment 10 Sandro Bonazzola 2022-04-20 14:17:25 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.