Bug 1717176 - Hosted-Engine deploy from remote server fails
Summary: Hosted-Engine deploy from remote server fails
Keywords:
Status: CLOSED DUPLICATE of bug 1693816
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-ansible-roles
Version: 4.3.0
Hardware: x86_64
OS: Linux
high
urgent
Target Milestone: ovirt-4.3.5
: ---
Assignee: Simone Tiraboschi
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-04 20:20 UTC by Robert McSwain
Modified: 2020-08-03 15:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-26 08:53:32 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:
lsvaty: testing_plan_complete-


Attachments (Terms of Use)

Description Robert McSwain 2019-06-04 20:20:41 UTC
Clone of https://bugzilla.redhat.com/show_bug.cgi?id=1676542

Still failing in RHV 4.3 with rhvm-appliance-4.3-20190506.0.el7.ova:

ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:107 fatal: [localhost]: FAILED! => {"msg": "Using a SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this.  Please add this host's fingerprint to your known_hosts file to manage this host."}
...
2019-05-30 17:15:25,343-0600 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:107 fatal: [localhost -> server.example.com]: FAILED! => {"changed": false, "msg": "There was a failure deploying the engine on t
he local engine VM. The system may not be provisioned according to the playbook results: please check the logs for the issue, fix accordingly or re-deploy from scratch.\n"}
2019-05-30 17:15:25,343-0600 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:107 fatal: [localhost -> server.example.com]: FAILED! => {"changed": false, "msg": "There was a failure deploying the engine on t
he local engine VM. The system may not be provisioned according to the playbook results: please check the logs for the issue, fix accordingly or re-deploy from scratch.\n"}
2019-05-30 17:15:26,546-0600 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:215 ansible-playbook rc: 2
2019-05-30 17:15:26,546-0600 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:103 PLAY RECAP [localhost] : ok: 161 changed: 49 unreachable: 0 skipped: 46 failed: 2
2019-05-30 17:15:26,547-0600 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:222 ansible-playbook stdout:
2019-05-30 17:15:26,547-0600 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:224  to retry, use: --limit @/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.retry
2019-05-30 17:15:26,547-0600 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:225 ansible-playbook stderr:
2019-05-30 17:15:26,548-0600 DEBUG otopi.context context._executeMethod:145 method exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-ansiblesetup/core/misc.py", line 343, in _closeup
    r = ah.run()
  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/ansible_utils.py", line 229, in run
    raise RuntimeError(_('Failed executing ansible-playbook'))
RuntimeError: Failed executing ansible-playbook
2019-05-30 17:15:26,550-0600 ERROR otopi.context context._executeMethod:154 Failed to execute stage 'Closing up': Failed executing ansible-playbook

Note: Manually adjusting the timeout from 180 to 360 with that same result

Setting as Urgent as it is a blocker for a deployment and the customer has already upgraded from RHV 4.2 to 4.3 to attempt to work around this issue.


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