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 1833316 - unset-addons argument is missing in the bash completion of syspurpose
Summary: unset-addons argument is missing in the bash completion of syspurpose
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.4
Assignee: candlepin-bugs
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-08 12:14 UTC by Shwetha Kallesh
Modified: 2021-05-18 13:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 13:32:41 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 2338 0 None closed 1833316: unset-addons argument is missing in the bash completion of s… 2021-02-04 08:45:11 UTC

Description Shwetha 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:

Comment 2 Rehana 2020-10-19 10:46:36 UTC
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

Comment 3 John Sefler 2021-01-30 02:58:15 UTC
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

Comment 9 Rehana 2021-02-04 09:21:58 UTC
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.

Comment 11 errata-xmlrpc 2021-05-18 13:32:41 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:1575


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