Bug 1383486 - RHV self-hosted deployment fails w/ ansible error
Summary: RHV self-hosted deployment fails w/ ansible error
Keywords:
Status: CLOSED DUPLICATE of bug 1383389
Alias: None
Product: Red Hat Quickstart Cloud Installer
Classification: Red Hat
Component: Installation - RHEV
Version: 1.1
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
: ---
Assignee: John Matthews
QA Contact: Sudhir Mallamprabhakara
Dan Macpherson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-10 18:38 UTC by Tasos Papaioannou
Modified: 2016-10-10 19:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-10 19:49:31 UTC
Target Upstream Version:


Attachments (Terms of Use)

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 ***


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