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

Bug 1594597

Summary: hosted-engine deploy fails when root password starts with #
Product: [oVirt] ovirt-ansible-collection Reporter: Paul Armstrong <parmstro>
Component: hosted-engine-setupAssignee: Ido Rosenzwig <irosenzw>
Status: CLOSED CURRENTRELEASE QA Contact: Liran Rotenberg <lrotenbe>
Severity: medium Docs Contact: Tahlia Richardson <trichard>
Priority: medium    
Version: unspecifiedCC: bugs, lsurette, rbarry
Target Milestone: ovirt-4.3.2Flags: rule-engine: ovirt-4.3+
rule-engine: ovirt-4.4+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-ansible-hosted-engine-setup-1.0.13 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-26 07:20:51 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 Paul Armstrong 2018-06-24 22:06:18 UTC
Description of problem:

hosted-engine deploy fails when root password starts with #

Version-Release number of selected component (if applicable):
4.2.3

How reproducible:
Always

Steps to Reproduce:
1. Using either the web UI or the command line start the installer
2. when prompted for a root password enter a password that begins with #
e.g. #MeOnTheHeadWithAWoodenMallet

3. PrepareVM step fails with a permission denied error after sshd restarts

Actual results:

"Failed to connect to the host via ssh: Warning: Permanently added 'rhv.example.com' (ECDSA) to the list of known hosts.\r\nPermission denied (publickey,gssapi-keyex,gssapi-with-mic,password).\r\n", "unreachable": true}

Expected results:

Setup proceeds and we get the big green check mark or prompted for storage settings.

Additional info:

Comment 1 Liran Rotenberg 2019-03-19 15:32:07 UTC
Verified on:
ovirt-ansible-hosted-engine-setup-1.0.13-1.el7ev.noarch

Steps:
1. Run:
# hosted-engine --deploy
2. When prompted for a root password enter a password that begins with #
e.g. #MeOnTheHeadWithAWoodenMallet

Result:
The deployment passed.

Comment 2 Sandro Bonazzola 2019-03-26 07:20:51 UTC
This bugzilla is included in oVirt 4.3.2 release, published on March 19th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.2 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.