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 1267014 - bash completion for rhsm-debug system should no longer show "--no-subscriptions" and "--subscriptions"
Summary: bash completion for rhsm-debug system should no longer show "--no-subscriptio...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-28 20:05 UTC by John Sefler
Modified: 2015-09-28 20:57 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-28 20:57:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1246680 0 unspecified CLOSED rhsm-debug system --subscriptions fails to collect subscriptions.json against candlepin-2.0 2021-02-22 00:41:40 UTC

Internal Links: 1246680

Description John Sefler 2015-09-28 20:05:07 UTC
Description of problem:
As a result of bug 1246680, the collection of subscriptions.json has been removed and the options in rhsm-debug system to request the collection (or not) of subscriptions has been removed from rhsm-debug and its help docs.

One remaining task is to remove the bash completion of "--no-subscriptions" and "--subscriptions"


Version-Release number of selected component (if applicable):
[root@jsefler-7 ~]# rpm -q subscription-manager
subscription-manager-1.15.9-12.git.0.6a471d5.el7.x86_64

How reproducible:


Steps to Reproduce:
[root@jsefler-7 ~]# rhsm-debug system --help
Usage: rhsm-debug system [OPTIONS] 

Assemble system information as a tar file or directory

Options:
  -h, --help            show this help message and exit
  --proxy=PROXY_URL     proxy URL in the form of proxy_hostname:proxy_port
  --proxyuser=PROXY_USER
                        user for HTTP proxy with basic authentication
  --proxypassword=PROXY_PASSWORD
                        password for HTTP proxy with basic authentication
  --destination=DESTINATION
                        the destination location of the result; default is
                        /tmp
  --no-archive          data will be in an uncompressed directory
  --sos                 only data not already included in sos report will be
                        collected
[root@jsefler-7 ~]# 
[root@jsefler-7 ~]# rhsm-debug system --
--destination       --no-subscriptions  --proxyuser         
--help              --proxy             --sos               
--no-archive        --proxypassword     --subscriptions  



Actual results:
  above (--no-subscriptions and --subscriptions are no longer wanted.  In fact, they are ignored for script compatibility purposes)

Expected results:
--destination       --proxyuser         --sos
--help              --proxy
--no-archive        --proxypassword

Comment 1 John Sefler 2015-09-28 20:57:19 UTC
Ooops.  I forgot to restart my bash terminal.  After restarting, I get the expected bash-completeion


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