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