Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1572721

Summary: Blocking engine install
Product: [oVirt] cockpit-ovirt Reporter: John <info>
Component: Hosted EngineAssignee: Phillip Bailey <phbailey>
Status: CLOSED DUPLICATE QA Contact: Ying Cui <ycui>
Severity: medium Docs Contact:
Priority: unspecified    
Version: ---CC: bugs, cshao, rbarry
Target Milestone: ovirt-4.2.3Flags: rule-engine: ovirt-4.2+
rule-engine: blocker+
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-30 14:40:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description John 2018-04-27 17:02:28 UTC
Description of problem:

Hosted Engine install blocks at the end when the ansible script waits for the hostedengine vm to shutdown.

The sshd_config accepts the LANG parameter which the iMac sends with the ssh utility, setting message outputs to the local language.
The result is that the 'virsh -r dominfo "HostedEngineLocal"' returns a State of 'Toestand: draaien' (Dutch) and not 'State: running' (or shut off).
This results in the ansible script checking forever of until it timeouts resulting in a failed deployment.

Removing the AcceptEnv LANG from sshd_config of an 'export LC_ALL=C' results in a successful hosted engine deployment.


Version-Release number of selected component (if applicable):
Version 4.2.2.6-1.el7.centos

How reproducible:


Steps to Reproduce:
1. Login via ssh or the wenbased cockpit using a non-english locale.
2. Start deploy the hosted engine.
3. Follow all steps, tail log to see ansible retrying to check for 'shut off' engine, right before the end of the install.

Actual results:
Keeps trying until timeout, then fails deployement.

Expected results:
Succesfully deployed hosted engine

Additional info:

Comment 1 Ryan Barry 2018-04-30 14:40:08 UTC
See also: 

https://gerrit.ovirt.org/#/c/90496/

We are set to resolve this in 4.2.3. However, since this is also present over SSH, it's not cockpit-ovirt.

Both issues (`hosted-engine --deploy`+ansible, and cockpit-ovirt) will be resolved.

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