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 1196418 - rhn-migrate-classic-to-rhsm --activation-key does not bash complete
Summary: rhn-migrate-classic-to-rhsm --activation-key does not bash complete
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.7
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel67
TreeView+ depends on / blocked
 
Reported: 2015-02-25 23:22 UTC by John Sefler
Modified: 2015-07-22 06:53 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-22 06:53:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1345 0 normal SHIPPED_LIVE subscription-manager and python-rhsm bug fix and enhancement update 2015-07-20 17:59:53 UTC

Description John Sefler 2015-02-25 23:22:18 UTC
Description of problem:
Following the implementation of RFE Bug 1154375, bash completion of rhn-migrate-classic-to-rhsm options neglects to show  --activation-key


Version-Release number of selected component (if applicable):
[root@jsefler-os6 ~]# rpm -q subscription-manager bash-completion
subscription-manager-1.14.1-1.git.37.61e53ff.el6.x86_64
bash-completion-1.3-7.el6.noarch


How reproducible:


Steps to Reproduce:
[root@jsefler-os6 ~]# rhn-migrate-classic-to-rhsm --help | egrep "^ +-"
  -h, --help            show this help message and exit
  -n, --no-auto         don't execute the auto-attach option while registering
  -s SERVICE_LEVEL, --servicelevel=SERVICE_LEVEL
  --no-proxy            don't use legacy proxy settings with destination
  --org=ORG             organization to register to
  --environment=ENVIRONMENT
  -f, --force           ignore channels not available on destination server
  --activation-key=ACTIVATION_KEYS
  --legacy-user=LEGACY_USER
  --legacy-password=LEGACY_PASSWORD
  --destination-url=DESTINATION_URL
  --destination-user=DESTINATION_USER
  --destination-password=DESTINATION_PASSWORD

[root@jsefler-os6 ~]# rhn-migrate-classic-to-rhsm -<TAB><TAB>
--destination-password  -h                      --no-proxy
--destination-url       --help                  --org
--destination-user      --legacy-password       -s
--environment           --legacy-user           --servicelevel
-f                      -n                      
--force                 --no-auto  

Actual results:
above

Expected results:
--activation-key is missing from the bash-completion list

Comment 1 Alex Wood 2015-04-08 14:21:36 UTC
commit 186c2faa388969b3752369a094b31a5e0e81fa64
Author: Alex Wood <awood>
Date:   Thu Feb 26 14:58:23 2015 -0500

    1196385: Add --activation-key option to migration man page.

Comment 3 Shwetha Kallesh 2015-04-13 07:33:37 UTC
Can see activation-key in the bash completion list

[root@dhcp35-135 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.26.8-1
subscription management rules: 5.12
subscription-manager: 1.14.3-1.el6
python-rhsm: 1.14.2-1.el6


[root@dhcp35-135 ~]# rhn-migrate-classic-to-rhsm --
--activation-key        --destination-user      --help                  --no-auto               --servicelevel          
--destination-password  --environment           --legacy-password       --no-proxy              
--destination-url       --force                 --legacy-user           --org

Comment 4 errata-xmlrpc 2015-07-22 06:53:14 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, 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://rhn.redhat.com/errata/RHBA-2015-1345.html


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