Bug 1105249

Summary: Need warning message, that appear when you run hosted-engine --deploy via ssh without terminal mode
Product: Red Hat Enterprise Virtualization Manager Reporter: Artyom <alukiano>
Component: ovirt-hosted-engine-setupAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED ERRATA QA Contact: Artyom <alukiano>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: aburden, gklein, iheim, mavital, oblaut, sherold
Target Milestone: ---Keywords: Triaged
Target Release: 3.5.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: integration
Fixed In Version: ovirt-hosted-engine-setup-1.2.0-0.2.master.el6_5 Doc Type: Bug Fix
Doc Text:
Deployment of the hosted engine via ssh without terminal mode fails when establishing the storage connection. Attempting to deploy the hosted engine in this way now fails with a warning that it should be executed with terminal mode.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-11 20:40:03 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1142923, 1156165    

Description Artyom 2014-06-05 16:49:32 UTC
Description of problem:
Need warning message in beginning of deployment process, that appear when you run hosted-engine --deploy via ssh without terminal mode.
Because when you run 'ssh -lroot hostname "hosted-engine --deploy"' without -t parameter, you receive error on stage when need to specify path to storage: Cannot access storage connection 10.35.160.108:/RHEV/artyom_hosted_engine: permission settings on the specified storage do not allow access to the storage to vdsm user and kvm group. Verify permission settings on the specified storage or specify another location
That can confuse user

Version-Release number of selected component (if applicable):
ovirt-hosted-engine-setup-1.1.2-5.el6ev.noarch

How reproducible:
Always

Steps to Reproduce:
1. Run ssh -lroot hostname "hosted-engine --deploy"'
2. Continue deployment until stage, where you need to specify path to storage
3.

Actual results:
Error that can confuse user

Expected results:
Some error in the beginning of deployment process, that user run command via ssh without interactive mode.

Additional info:

Comment 1 Artyom 2014-12-23 12:32:52 UTC
Verified on ovirt-hosted-engine-setup-1.2.1-8.el6ev.noarch

Comment 3 errata-xmlrpc 2015-02-11 20:40:03 UTC
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://rhn.redhat.com/errata/RHBA-2015-0161.html