RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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.
Bug 1856832 - man page entry missing for "--org" option under "ROLE OPTIONS" "USAGE OPTIONS" "ADDONS OPTIONS"
Summary: man page entry missing for "--org" option under "ROLE OPTIONS" "USAGE OPTIONS...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: subscription-manager
Version: 8.3
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: rc
: 8.0
Assignee: candlepin-bugs
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-14 14:26 UTC by Archana Pandey
Modified: 2021-11-10 07:50 UTC (History)
2 users (show)

Fixed In Version: subscription-manager-1.28.15-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-09 19:37:33 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github candlepin subscription-manager pull 2494 0 None open 1856832: add --org=ORG to the ROLE OPTIONS, USAGE OPTIONS and ADDONS … 2021-03-15 20:42:53 UTC
Red Hat Product Errata RHBA-2021:4390 0 None None None 2021-11-09 19:37:46 UTC

Description Archana Pandey 2020-07-14 14:26:00 UTC
Description of problem:
man page entry missing for "--org" option from  "ROLE OPTIONS" "USAGE OPTIONS" "ADDONS OPTIONS" 


Version-Release number of selected component (if applicable):
[root@ibm-x3650m4-01-vm-08 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 3.1.15-1
subscription management rules: 5.40
subscription-manager: 1.27.9-1.git.1.5ce543e.el8


How reproducible:


Steps to Reproduce:
[root@ibm-x3650m4-01-vm-08 ~]# man subscription-manager | grep "ROLE OPTION" -A 22
   ROLE OPTIONS
       The  role  command displays the current configured role preference for products installed on the system. For example, if the role preference is "Red Hat Enterprise Linux Server", then a subscription
       with a "Red Hat Enterprise Linux Server" role is selected when auto-attaching subscriptions to the system.

       --show Shows the system's current role preference. If a role is not set, then there is a message saying it is not set.

       --list Lists the available role system purpose values.

       --username=USERNAME
              Gives the username for the account to use to connect to the organization account [Use with --list when unregistered].

       --password=PASSWORD
              Gives the user account password [Use with --list when unregistered].

       --token=TOKEN
              Token to use when authorizing against the server [Use with --list when unregistered].

       --set=ROLE
              Role to apply to this system

       --unset
              Removes any previously set role preference.

  
Note: Same is case for "USAGE OPTION" and "ADDONS OPTION"

Actual results:
--org is missing from option list

Expected Result:
--org should be listed in options

Comment 2 Tiffany Merry 2021-03-15 20:42:55 UTC
Please review the wording and provide feedback

Comment 3 Tiffany Merry 2021-03-15 20:45:28 UTC
To Test:

man man/subscription-manager/subscription-manager.8

Comment 5 Archana Pandey 2021-04-27 11:39:24 UTC
verifying issue on subscription-manager-1.28.16-1.el8.x86_64

verification steps:

[root@hpe-dl380pgen8-02-vm-8 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 3.2.16-1
subscription management rules: 5.41
subscription-manager: 1.28.16-1.el8

[root@hpe-dl380pgen8-02-vm-8 ~]# rpm -qa --changelog subscription-manager | grep 1856832
- 1856832: add --org=ORG to the ROLE OPTIONS, USAGE OPTIONS and ADDONS OPTIONS
- 1856832: add --org=ORG to the ROLE OPTIONS, USAGE OPTIONS and ADDONS OPTIONS

[root@hpe-dl380pgen8-02-vm-8 ~]# man subscription-manager | grep "ROLE OPTION" -A 24
   ROLE OPTIONS
       The  role  command displays the current configured role preference for products installed on the system. For example, if the role preference is "Red Hat Enterprise Linux Server", then a subscription
       with a "Red Hat Enterprise Linux Server" role is selected when auto-attaching subscriptions to the system.

       --show Shows the system's current role preference. If a role is not set, then there is a message saying it is not set.

       --list Lists the available role system purpose values.

       --username=USERNAME
              Gives the username for the account to use to connect to the organization account [Use with --list when unregistered].

       --password=PASSWORD
              Gives the user account password [Use with --list when unregistered].

       --token=TOKEN
              Token to use when authorizing against the server [Use with --list when unregistered].

       --set=ROLE
              Role to apply to this system

       --unset
              Removes any previously set role preference.

       --org=ORG
              Identifies the organization for which the role applies.   <<<< --org added


[root@hpe-dl380pgen8-02-vm-8 ~]# man subscription-manager | grep "USAGE OPTION" -A 24
   USAGE OPTIONS
       The usage command displays the current configured usage preference for products installed on the system. For example, if the usage preference is "Production", then a subscription with a "Production"
       usage is selected when auto-attaching subscriptions to the system.

       --show Shows the system's current usage preference. If a usage is not set, then there is a message saying it is not set.

       --list Lists the available usage system purpose values.

       --username=USERNAME
              Gives the username for the account to use to connect to the organization account [Use with --list when unregistered].

       --password=PASSWORD
              Gives the user account password [Use with --list when unregistered].

       --token=TOKEN
              Token to use when authorizing against the server [Use with --list when unregistered].

       --set=USAGE
              Usage to apply to this system

       --unset
              Removes any previously set usage preference.

       --org=ORG
              Identifies the organization for which the usage applies.     <<<<<<<<<< --org added


[root@hpe-dl380pgen8-02-vm-8 ~]# man subscription-manager | grep "ADDONS OPTION" -A 28
   ADDONS OPTIONS
       The addons command displays the current configured addons system purpose attribute preference for products installed on the system. For example, if the addons preference is ADDON1, then a  subscrip‐
       tion with a ADDON1 addon is selected when auto-attaching subscriptions to the system.

       --show Shows the system's current addons preference. If a addons is not set, then there is a message saying it is not set.

       --list Lists the available addons system purpose values.

       --username=USERNAME
              Gives the username for the account to use to connect to the organization account [Use with --list when unregistered].

       --password=PASSWORD
              Gives the user account password [Use with --list when unregistered].

       --token=TOKEN
              Token to use when authorizing against the server [Use with --list when unregistered].

       --add=ADDON
              Addon to add to the list of requested addons for this system

       --remove=ADDON
              Remove the addon from the list of requested addons.

       --unset
              Removes all addons from the list of requested addons.

       --org=ORG
              Identifies the organization for which the addons applies.  <<< --org for addons added

Verified : --org has been added to man page for "ROLE", "USAGE", "ADDONS" options

Comment 9 Rehana 2021-05-17 11:03:38 UTC
Verifying :
# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 3.2.18-1
subscription management rules: 5.41
subscription-manager: 1.28.16-1.el8

# rpm -qa --changelog subscription-manager | grep 1856832
- 1856832: add --org=ORG to the ROLE OPTIONS, USAGE OPTIONS and ADDONS OPTIONS
- 1856832: add --org=ORG to the ROLE OPTIONS, USAGE OPTIONS and ADDONS OPTIONS

# ADDONS OPTIONS
The addons command displays the current configured addons system purpose attribute preference for products installed on the system. For example, if the addons preference is ADDON1, then a subscrip‐
tion with a ADDON1 addon is selected when auto-attaching subscriptions to the system.

  <snip>
   --org=ORG
              Identifies the organization for which the addons applies.

ROLE OPTIONS
The  role command displays the current configured role preference for products installed on the system. For example, if the role preference is "Red Hat Enterprise Linux Server", then a subscription
with a "Red Hat Enterprise Linux Server" role is selected when auto-attaching subscriptions to the system.

<snip>

       --org=ORG
              Identifies the organization for which the role applies
USAGE OPTIONS
The  usage  command  displays the current configured usage preference for products installed on the system. For example, if the usage preference is "Production", then a subscription with a "Produc‐
tion" usage is selected when auto-attaching subscriptions to the system.
<snip>
       --org=ORG
              Identifies the organization for which the usage applies.

^^As shown above, --org option as been added to ROLE/USAGE/ADDONS section. 

Moving the bug to Verified!

Comment 12 errata-xmlrpc 2021-11-09 19:37:33 UTC
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 (subscription-manager bug fix and enhancement update), 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/RHBA-2021:4390


Note You need to log in before you can comment on or make changes to this bug.