Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionKaushik Sajjan Agarwal
2020-12-28 18:31:40 UTC
Description of problem:
The "hammer auth-source ldap update" command's "--host" argument does not have an appropriate explanation for it. It is used to update the "server" value in the auth-source configuration which causes confusion.
Version-Release number of selected component (if applicable):
Satellite 6.6, 6.7, and 6.8.
How reproducible:
Always.
Steps to Reproduce:
1. Create any auth-source configuration in Red Hat Satellite.
2. List the auth-source using hammer command: # hammer auth-source ldap info --name <auth-source_config_name>
3. Now to change the "Server" parameter for the auth-source configuration you will have to use following command:
# hammer auth-source ldap update --name <auth-source_config_name> --host <new_server_name>
Actual results:
The "Server" for the desired auth-source configuration can be changed using the "--host" argument.
And there is no explanation for the "--host" argument stating it's usage:
---
[root@sat1 ~]# hammer auth-source ldap update --help
Usage:
hammer auth-source ldap update [OPTIONS]
Options:
--account ACCOUNT
--account-password ACCOUNT_PASSWORD Required if onthefly_register is true
--attr-firstname ATTR_FIRSTNAME Required if onthefly_register is true
--attr-lastname ATTR_LASTNAME Required if onthefly_register is true
--attr-login ATTR_LOGIN Required if onthefly_register is true
--attr-mail ATTR_MAIL Required if onthefly_register is true
--attr-photo ATTR_PHOTO
--base-dn BASE_DN
--groups-base GROUPS_BASE Groups base DN
--host HOST
--id ID
--ldap-filter LDAP_FILTER LDAP filter
---
Expected results:
Either there should be an explanation for the "--host" argument stating that its usage is to modify the "Server" parameter in the desired auth-source config file or the "--host" argument should be replaced by the "--server" argument which is identical to the "Server" filed and easy to understand/interpret.
Additional info:
Verified in Satellite 6.10 with snap 3, added the description for the host
[root@dhcp-3-26 ~]# hammer auth-source ldap update --help | grep host
--host HOST The hostname of the LDAP server
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: Satellite 6.10 Release), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2021:4702
Description of problem: The "hammer auth-source ldap update" command's "--host" argument does not have an appropriate explanation for it. It is used to update the "server" value in the auth-source configuration which causes confusion. Version-Release number of selected component (if applicable): Satellite 6.6, 6.7, and 6.8. How reproducible: Always. Steps to Reproduce: 1. Create any auth-source configuration in Red Hat Satellite. 2. List the auth-source using hammer command: # hammer auth-source ldap info --name <auth-source_config_name> 3. Now to change the "Server" parameter for the auth-source configuration you will have to use following command: # hammer auth-source ldap update --name <auth-source_config_name> --host <new_server_name> Actual results: The "Server" for the desired auth-source configuration can be changed using the "--host" argument. And there is no explanation for the "--host" argument stating it's usage: --- [root@sat1 ~]# hammer auth-source ldap update --help Usage: hammer auth-source ldap update [OPTIONS] Options: --account ACCOUNT --account-password ACCOUNT_PASSWORD Required if onthefly_register is true --attr-firstname ATTR_FIRSTNAME Required if onthefly_register is true --attr-lastname ATTR_LASTNAME Required if onthefly_register is true --attr-login ATTR_LOGIN Required if onthefly_register is true --attr-mail ATTR_MAIL Required if onthefly_register is true --attr-photo ATTR_PHOTO --base-dn BASE_DN --groups-base GROUPS_BASE Groups base DN --host HOST --id ID --ldap-filter LDAP_FILTER LDAP filter --- Expected results: Either there should be an explanation for the "--host" argument stating that its usage is to modify the "Server" parameter in the desired auth-source config file or the "--host" argument should be replaced by the "--server" argument which is identical to the "Server" filed and easy to understand/interpret. Additional info: