-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
False
-
-
False
-
NEW
-
50
-
Endeavour
-
-
-
Low
-
No Coverage
-
None
Description of problem:
Organization and Location are not valid options whilst creating user-group or user-group external, according to the "https://access.redhat.com/solutions/7010598" article.
It is required to remove the "Organization and Location" option from hammer cli for the command "hammer user-group external create --help" to avoid confusion.
Version-Release number of selected component (if applicable):
How reproducible: 100%
Steps to Reproduce:
1. Run the following command on Red Hat Satellite:
- hammer user-group external create --help
Usage:
hammer user-group external create [OPTIONS]
Options:
--auth-source[-id] VALUE/NUMBER Name/id of linked authentication source
--location[-id|-title] VALUE/NUMBER Set the current location context for the request <<<<<<< Location usage suggested
--name VALUE External user group name
--organization[-id|-title] VALUE/NUMBER Set the current organization context for the request <<<<<<< Organization usage suggested
--user-group[-id] VALUE Name/id or name of user group
-h, --help Print help
Actual results:
- hammer user-group external create --help
Usage:
hammer user-group external create [OPTIONS]
Options:
--auth-source[-id] VALUE/NUMBER Name/id of linked authentication source
--location[-id|-title] VALUE/NUMBER Set the current location context for the request <<<<<<< Location usage suggested
--name VALUE External user group name
--organization[-id|-title] VALUE/NUMBER Set the current organization context for the request <<<<<<< Organization usage suggested
--user-group[-id] VALUE Name/id or name of user group
-h, --help Print help
Expected results:
- The hammer help command should not suggest the options for Organization/Location to avoid confusion. As per KB "https://access.redhat.com/solutions/7010598", there is no need to specify taxonomy options (location/organization) whilst creating user-group or user-group external.
- hammer user-group external create --help
Usage:
hammer user-group external create [OPTIONS]
Options:
--auth-source[-id] VALUE/NUMBER Name/id of linked authentication source
--name VALUE External user group name
--user-group[-id] VALUE Name/id or name of user group
-h, --help Print help
Additional info:
It is requested by a customer on case 03605918
~~~
If Org and Location are not valid options for this command then they should be removed from the CLI help and the command should be updated to not accept them.
~~~