Bug 1597209

Summary: Virt-who configuration script fails due to password having a special character "$" in it.
Product: Red Hat Satellite Reporter: dlaukova
Component: Virt-who Configure PluginAssignee: Marek Hulan <mhulan>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact: satellite-doc-list
Priority: unspecified    
Version: 6.3.1CC: gsapienz, mhulan, tstrachota
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-01 12:20:32 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:

Description dlaukova 2018-07-02 09:03:46 UTC
Description of problem:
When using the virt who-configuration tool, the configuration script will fail to parse the password field properly when the password contains "$" sign.

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

Satellite 6.3.1

How reproducible:

Repeatable

Steps to Reproduce:
1. Execute the virt-who configuration utility
2. Enter password 123$abc
3. Execute script output on the Satellite

Actual results:
Password is encrypted incorrectly.

Expected results:
Password is correctly hashed.

Additional info:
When run via CLI virt-who-password, the password is correctly hashed. 

Similar to the bug: https://bugzilla.redhat.com/show_bug.cgi?id=1578538 <- this one is related to $ in username

Comment 3 Marek Hulan 2018-08-01 12:20:32 UTC
I'm sorry it took me a while. I believe this is a duplicate of BZ 1559583, it has been already fixed and the fix is expected in 6.4. Please search duplicates in the component prior opening new bugs. I'm closing it now, if I misunderstood the report, please reopen.

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