Bug 1304747 - Activation key cannot be used with rhn-migrate-classic-to-rhsm script on RHEL 5 but works with RHEL 6
Activation key cannot be used with rhn-migrate-classic-to-rhsm script on RHEL...
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager (Show other bugs)
5.11
Unspecified Linux
unspecified Severity medium
: rc
: ---
Assigned To: candlepin-bugs
John Sefler
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-04 09:18 EST by Akshay Mankumbare
Modified: 2016-08-21 19:39 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-02-04 15:19:42 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Akshay Mankumbare 2016-02-04 09:18:47 EST
Description of problem:

cannot migrate RHEL 5 client system from Satellite 5.7 to Satellite 6.x using activation key along with  rhn-migrate-classic-to-rhsm script.

But activation key along with rhn-migrate-classic-to-rhsm script works for all RHEL 6 client system, even though there is no options for it in man page.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. 

This syntax works on RHEL6:
# rhn-migrate-classic-to-rhsm --force --org="sysops" --activation-key="migration-rhel6-dev"

This syntax does not work on RHEL5 with error "no such option":
# rhn-migrate-classic-to-rhsm --org="sysops" --activation-key="migration-rhel5_x86-prod"
Usage: rhn-migrate-classic-to-rhsm [OPTIONS]

rhn-migrate-classic-to-rhsm: error: no such option: --activation-key

Actual results:

This syntax does not work on RHEL5 with error "no such option":
# rhn-migrate-classic-to-rhsm --org="sysops" --activation-key="migration-rhel5_x86-prod"
Usage: rhn-migrate-classic-to-rhsm [OPTIONS]

rhn-migrate-classic-to-rhsm: error: no such option: --activation-key


Expected results:

It should work

Additional info:
Comment 1 Barnaby Court 2016-02-04 15:19:42 EST
This is a request to port new functionality back to RHEL 5. RHEL 5 is currently supporting security fixes only so we are closing this issue.
Comment 2 Barnaby Court 2016-02-04 15:29:45 EST
one option would be to run the migration tool while disabling auto attach, "rhn-migrate-classic-to-rhsm --no-auto" and then perform a registration manually with "subscription-manager register --force  --activation-key <key>" after the migration script is run.

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