Bug 999310

Summary: RHS-C: "rhsc-manage-domains" --help gives usage of "engine-manage-domains"
Product: Red Hat Gluster Storage Reporter: Prasanth <pprakash>
Component: rhscAssignee: Shubhendu Tripathi <shtripat>
Status: CLOSED WONTFIX QA Contact: RHS-C QE <rhsc-qe-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.1CC: dpati, iheim, knarra, mmahoney, mmccune, rhs-bugs, ssampat
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-28 10:10:58 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:

Description Prasanth 2013-08-21 06:52:21 UTC
Description of problem:

"rhsc-manage-domains" --help gives usage of "engine-manage-domains"


Version-Release number of selected component (if applicable):  Red Hat Storage Console Version: 2.1.0-0.bb9.el6rhs 


How reproducible: Always


Steps to Reproduce:
1. Execute #rhsc-manage-domains --help and see the output
2.
3.

Actual results: It shows reference to "engine-manage-domains". See below:

-----
USAGE:
        engine-manage-domains -action=ACTION [-domain=DOMAIN -provider=PROVIDER -user=USER -passwordFile=PASSWORD_FILE -interactive -configFile=PATH -addPermissions -forceDelete -ldapServers=LDAP_SERVERS] -report
-----


Expected results: If we are re-branding the upstream "engine-manage-domains" as 
"rhsc-manage-domains" in RHS-C, we need to make sure that all references are changed accordingly to avoid any confusion in the users.


Additional info:

Also, the following examples given in the 'help' doesn't seems to work:

Examples:
                -action=add -domain=example.com -user=admin -provider=IPA -passwordFile=/tmp/.pwd
                        Add a domain called example.com, using user admin with ldap server type IPA and read the password from /tmp/.pwd.
                -action=edit -domain=example.com -provider=ActiveDirectory -passwordFile=/tmp/.new_password
                        Edit the domain example.com, using another password file and updated the provider type to Active Directory.

---------------
# rhsc-manage-domains -action=edit -domain='qe.redhat.com' -provider=ActiveDirectory -passwordFile=/tmp/.new_password
Failure while testing domain qe.redhat.com. Details: Authentication Failed. Please verify the username and password.

# rhsc-manage-domains -action=edit -domain='qe.redhat.com' -provider=ActiveDirectory -user='admin' -passwordFile=/tmp/.new_password
Failure while testing domain qe.redhat.com. Details: Authentication Failed. Please verify the username and password.


# ls -al /tmp/.new_password
-rw-r--r--. 1 root root 8 Aug 20 16:46 /tmp/.new_password
---------------

Comment 3 Dusmant 2015-08-28 10:10:58 UTC
We are not planning to fix it. Hence closing this BZ. If you think, it's applicable for 3.x release and would have an impact on customer, pls. open up a new BZ with the appropriate version. Thanks, -Dusmant