Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
DescriptionShwetha Kallesh
2020-05-08 12:14:33 UTC
Description of problem:
unset-addons argument is missing in the bash completion of syspurpose
Version-Release number of selected component (if applicable):
[root@ibm-x3650m4-01-vm-16 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 3.1.10-1
subscription management rules: 5.39
subscription-manager: 1.24.36
How reproducible:
Steps to Reproduce:
[root@ibm-x3650m4-01-vm-16 ~]# syspurpose <tab><tab>
add add-addons -h --help remove remove-addons set set-role set-sla set-usage show unset unset-role unset-sla unset-usage
Actual results:
unset-addons is missing
Expected results:
unset-addons should be present in the bash-completion list
Additional info:
Early verification :
# syspurpose
add -h remove set set-sla show unset-addons unset-sla
add-addons --help remove-addons set-role set-usage unset unset-role unset-usage
[root@kvm-02-guest03 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 3.2.0-1
subscription management rules: 5.41
subscription-manager: 1.28.4-1.git.4.9e791e4.el8
Unset addons are now listed as an option in bash completion
Deferring this bug from RHEL7 to RHEL8 where a fix has already been merged to subscription-manager-1.28.5-1
[root@rhel84 ~]# rpm -q python3-syspurpose --changelog | grep "1.28.5-1" -A8
* Thu Oct 22 2020 Christopher Snyder <csnyder> 1.28.5-1
- removing yarn (jmolet)
- Revert "1847910: DNF plugins are part of sub-man RPM, libdnf RPM; ENT-2536"
(csnyder)
- 1886745: Fix __init__ of CPProvider; ENT-3147 (jhnidek)
- 1833316: unset-addons argument is missing in the bash completion of <==== LOOK
syspurpose (wpoteat) <==== HERE
- 1875595: Service-Level set issues (wpoteat)
[root@rhel84 ~]# syspurpose <TAB><TAB>
add remove set-sla unset-addons <==== LOOK HERE
add-addons remove-addons set-usage unset-role
-h set show unset-sla
--help set-role unset unset-usage
Final verification:
===================
# subscription-manager version
server type: This system is currently not registered.
subscription management server: 3.2.11-1
subscription management rules: 5.41
subscription-manager: 1.28.10-1.el8
# rpm -q python3-syspurpose --changelog | grep 1833316
- 1833316: unset-addons argument is missing in the bash completion of
# syspurpose
add -h remove set set-sla show unset-addons unset-sla
add-addons --help remove-addons set-role set-usage unset unset-role unset-usage
^^unset-addons is now listed in the tab completion.
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:1575