| Summary: | Self-hosted failed on ansible:: "It has been detected that this program is executed through an SSH connection without pseudo-tty allocation. Please run again ssh adding -t option" | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Quickstart Cloud Installer | Reporter: | Antonin Pagac <apagac> | ||||||||
| Component: | Installation - RHEV | Assignee: | Fabian von Feilitzsch <fabian> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Tasos Papaioannou <tpapaioa> | ||||||||
| Severity: | unspecified | Docs Contact: | Dan Macpherson <dmacpher> | ||||||||
| Priority: | unspecified | ||||||||||
| Version: | 1.1 | CC: | apagac, bthurber, jmatthew, qci-bugzillas, tpapaioa | ||||||||
| Target Milestone: | --- | Keywords: | Triaged | ||||||||
| Target Release: | 1.1 | ||||||||||
| 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: | 2017-02-28 01:40:00 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: | |||||||||
| Attachments: |
|
||||||||||
Do you have the /etc/sudoers file from that host? *** Bug 1383486 has been marked as a duplicate of this bug. *** Created attachment 1209046 [details]
sudoers from hypervisor1
Created attachment 1209047 [details]
sudoers from hypervisor2
Added sudoers files from both hypervisors. Added answer to answer file for self-hosted setup which should make it skip TTY check https://github.com/fusor/ansible-ovirt/pull/2 In 10/13 compose Verified on QCI-1.1-RHEL-7-20161101.t.0. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:0335 |
Created attachment 1208881 [details] ansible log Description of problem: Self-hosted deployment with two hypervisors failed with ansible error. See attachment for ansible log file. The error: 'fatal: [hypervisor1.example.com]: FAILED! => {"ansible_job_id": "144596436505.13812", "changed": true, "cmd": "hosted-engine --deploy --config-append=/etc/qci//answers", "delta": "0:00:00.683397", "end": "2016-10-10 13:35:26.790913", "failed": true, "finished": 1, "rc": 1, "start": "2016-10-10 13:35:26.107516", "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\n import vdsm.vdscli", "stdout": "[ INFO ] Stage: Initializing\n[ INFO ] Generating a temporary VNC password.\n[ INFO ] Stage: Environment setup\n During customization use CTRL-D to abort.\n[ 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 \n[WARNING] Aborted\n[ INFO ] Stage: Clean up\n[ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20161010133526.conf'\n[ INFO ] Stage: Pre-termination\n[ INFO ] Stage: Termination\n[ ERROR ] Hosted Engine deployment failed\n Log file is located at /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20161010133526-rz26qd.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-20161010133526.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-20161010133526-rz26qd.log"], "warnings": []}' Version-Release number of selected component (if applicable): QCI-1.1-RHEL-7-20161007.t.0 How reproducible: Happened to me once Steps to Reproduce: 1. Start a deployment of RHV self-hosted with two hypervisors, OSE and CFME 2. After the content sync and hypervisor installs, the task fails 3. Actual results: RHV self-hosted fails to deploy Expected results: RHV self-hosted deploys Additional info: