Bug 1383486

Summary: RHV self-hosted deployment fails w/ ansible error
Product: Red Hat Quickstart Cloud Installer Reporter: Tasos Papaioannou <tpapaioa>
Component: Installation - RHEVAssignee: John Matthews <jmatthew>
Status: CLOSED DUPLICATE QA Contact: Sudhir Mallamprabhakara <smallamp>
Severity: medium Docs Contact: Dan Macpherson <dmacpher>
Priority: unspecified    
Version: 1.1CC: bthurber, fabian
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-10 19:49:31 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:

Description Tasos Papaioannou 2016-10-10 18:38:33 UTC
Description of problem:

RHV self-hosted deployment fails because ansible-ovirt returns a non-zero code:

****
TASK [self_hosted_first_host : Execute hosted-engine setup] ********************
fatal: [mac525400c58599.example.com]: FAILED! => {"ansible_job_id": "721989647604.13627", "changed": true, "cmd": "hosted-engine --deploy --config-append=/etc/qci//answers", "delta": "0:00:00.690671", "end": "2016-10-10 17:25:08.791313", "failed": true, "finished": 1, "rc": 1, "start": "2016-10-10 17:25:08.100642", "stderr": "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py:15: DeprecationWarning: vdscli uses xmlrpc. since ovirt 3.6 xmlrpc is deprecated, please use vdsm.jsonrpcvdscli
  import vdsm.vdscli", "stdout": "[ INFO  ] Stage: Initializing
[ INFO  ] Generating a temporary VNC password.
[ INFO  ] Stage: Environment setup
          During customization use CTRL-D to abort.
[ ERROR ] It has been detected that this program is executed through an SSH connection without pseudo-tty allocation. Please run again ssh adding -t option 
[WARNING] Aborted
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20161010172508.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Hosted Engine deployment failed
          Log file is located at /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20161010172508-ew0sa7.log", "stdout_lines": ["[ INFO  ] Stage: Initializing", "[ INFO  ] Generating a temporary VNC password.", "[ INFO  ] Stage: Environment setup", "          During customization use CTRL-D to abort.", "[ ERROR ] It has been detected that this program is executed through an SSH connection without pseudo-tty allocation. Please run again ssh adding -t option ", "[WARNING] Aborted", "[ INFO  ] Stage: Clean up", "[ INFO  ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20161010172508.conf'", "[ INFO  ] Stage: Pre-termination", "[ INFO  ] Stage: Termination", "[ ERROR ] Hosted Engine deployment failed", "          Log file is located at /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20161010172508-ew0sa7.log"], "warnings": []}

NO MORE HOSTS LEFT *************************************************************

PLAY RECAP *********************************************************************
mac525400c58599.example.com : ok=19   changed=13   unreachable=0    failed=1  
****

Version-Release number of selected component (if applicable):

QCI-1.1-RHEL-7-20161007.t.0

How reproducible:

100%

Steps to Reproduce:
1.) Deploy self-hosted RHV
2.) RHV deployment task fails at 72%.

Actual results:

Failed RHV self-hosted deployment.

Expected results:

Successful RHV self-hosted deployment.

Additional info:

Comment 1 Fabian von Feilitzsch 2016-10-10 19:49:31 UTC

*** This bug has been marked as a duplicate of bug 1383389 ***