Bug 790585 - Cannot use activationkey with subscription-manager < 0.95.11
Summary: Cannot use activationkey with subscription-manager < 0.95.11
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-14 21:31 UTC by Og Maciel
Modified: 2013-03-27 20:42 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-15 15:17:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Og Maciel 2012-02-14 21:31:07 UTC
Description of problem:

Seems that subscription-manager-0.95.11-1.el6.x86_64 does not support the --activationkey flag. As I've been told that we're going to support all versions of subscription-manager out there, I'm filing this issue to track it.

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


How reproducible:


Steps to Reproduce:
1. Populate a katello server with various orgs, environments and available subscriptions/synced repos (RH, third-party)
2. Create an activation key
3. Register a machine against the katello server using the activation key
  
Actual results:

subscription-manager: error: no such option: --activationkey

Expected results:


Additional info:

[root@qeclient04 ~]# subscription-manager register --activationkey ak1 --org NYDateCenter
Usage: subscription-manager register [OPTIONS]

subscription-manager: error: no such option: --activationkey
[root@qeclient04 ~]# rpm -q subscription-manager
subscription-manager-0.95.11-1.el6.x86_64

Comment 1 Mike McCune 2012-02-14 23:36:24 UTC
I'm not certain we have to support activation_keys on all versions of subscription-manager.

I think the goal was:

"Support registration with all versions of subscription-manager"

but not support for all the possible newer flags.

Comment 2 Bryan Kearney 2012-02-15 15:17:00 UTC
Mike is correct, if the client does not support keys (which earlier do not) then katello usage does not need to support this.


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