Bug 1341322 - When running the setup on a non-interactive ssh session it fails with 'run ssh with -t option'
Summary: When running the setup on a non-interactive ssh session it fails with 'run ss...
Keywords:
Status: CLOSED DUPLICATE of bug 1324520
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: General
Version: 1.3.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Sandro Bonazzola
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-31 20:10 UTC by David Caro
Modified: 2017-05-11 09:26 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-05-31 20:46:12 UTC
oVirt Team: Integration
Embargoed:
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)

Description David Caro 2016-05-31 20:10:49 UTC
Description of problem:
When running the hosted-engine setup using a non-interactive ssh session (as running from jenkins) it fails to run with the error:

current session does not belong to lago group.
[ INFO  ] Stage: Initializing
[ INFO  ] Generating a temporary VNC password.
[ INFO  ] Stage: Environment setup
          Configuration files: ['/root/hosted-engine-deploy-answers-file.conf']
          Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160531155420-932uqh.log
          Version: otopi-1.4.1 (otopi-1.4.1-1.el7.centos)
[ 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-20160531155420.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Hosted Engine deployment failed: this system is not reliable, please check the issue, fix and redeploy
          Log file is located at /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160531155420-932uqh.log
#########################


I face this issue when trying to run the system tests with hosted engine:
    https://gerrit.ovirt.org/#/c/58272

Version-Release number of selected component (if applicable):
ovirt-hosted-engine-setup-1.3.7.0-1.el7.centos.noarch

How reproducible:
Run a non-interactive hosted engine setup session from a non-interactive ssh session.

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 David Caro 2016-05-31 20:13:38 UTC
Found the option OVEHOSTED_CORE/skipTTYCheck, trying with that one

Comment 2 David Caro 2016-05-31 20:46:12 UTC
Never mind, that option did the trick

Comment 3 Yedidyah Bar David 2016-06-01 06:01:33 UTC

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


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