Bug 966533 - While registering a physical client using activation-key which has 1 quantity of Instance Based subscription throws error
Summary: While registering a physical client using activation-key which has 1 quantity...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel510
TreeView+ depends on / blocked
 
Reported: 2013-05-23 12:35 UTC by Shwetha Kallesh
Modified: 2013-06-05 14:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-05 14:41:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Shwetha Kallesh 2013-05-23 12:35:46 UTC
Description of problem:
While registering a physical client using activation-key which has 1 quantity of Instance Based subscription  throws error

Version-Release number of selected component (if applicable):
[root@shwethahostname ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 0.8.7-1
subscription-manager: 1.8.8-1.git.10.f718984.el6
python-rhsm: 1.8.11-1.git.1.7236cc2.el6


How reproducible:


Steps to Reproduce:
1.[root@shwethahostname ~]# subscription-manager register --org=admin --activationkey TestKey
Quantity '1' is not a multiple of instance multiplier '2'

2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 RHEL Program Management 2013-05-30 15:05:10 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 3 Devan Goodwin 2013-06-05 14:41:16 UTC
This is correct behaviour, though it's exposing some missing functionality in activation keys.

We can't block you from creating an activation key of quantity 1, because you might intend to use it on a guest, and that's fine. We don't know *where* the key will be used, so it is valid to allow it to be created, and it's valid to reject it when a physical system tries to use it.

I think there's a good RFE here to support activation keys that can automatically figure out the quantity to use, *when* it's actually used on a specific system. This would help activation keys that could get a 4 socket system green as well as an 8 socket system. I'm going to add this to backlog to investigate but will close this bug.

However I'm thinking this probably isn't a 5.10 bug. Going to close and add to backlog to investigate as an RFE.


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