Activation key creation, any subscription cannot be attached.

Solution Verified - Updated -

Issue

Activation key creation, any subscription cannot be attached.

Chapter 8. Managing Activation Keys
https://access.redhat.com/documentation/en-us/red_hat_satellite/6.2/html/content_management_guide/managing_activation_keys

# hammer subscription list --organization-id 1 
---|----------------------------------|------------------------------------------|----------|---------|---------|----------|----------|------------------------------|----------|-----
ID | UUID                             | NAME                                     | CONTRACT | ACCOUNT | SUPPORT | QUANTITY | CONSUMED | END DATE                     | QUANTITY | ATTA
---|----------------------------------|------------------------------------------|----------|---------|---------|----------|----------|------------------------------|----------|-----
28 | 8a85f981580ca3d501580dc5ad113858 | Red Hat Enterprise Linux Developer Suite | 11154653 | ******* | Premium | 10       | 10       | 2019-05-01T04:59:59.000+0000 | 1        | 1
76 | 8a85f98958cff9aa0158dc58018b6a70 | Red Hat Enterprise Linux Developer Suite | 11207058 | ******* | Premium | 116      | 88       | 2019-03-01T04:59:59.000+0000 | 116      | 88
---|----------------------------------|------------------------------------------|----------|---------|---------|----------|----------|------------------------------|----------|-----

# hammer activation-key subscriptions --name "TEST-key" --organization-id 1
---|------|----------|----------|------------|----------|---------|----------|--------
ID | NAME | ATTACHED | QUANTITY | START DATE | END DATE | SUPPORT | CONTRACT | ACCOUNT
---|------|----------|----------|------------|----------|---------|----------|--------

# hammer activation-key add-subscription --name "TEST-key" --organization-id 1 --subscription-id 8a85f98958cff9aa0158dc58018b6a70   # UUID of ID 76
Subscription added to activation key

# hammer activation-key subscriptions --name "TEST-key" --organization-id 1
---|------------------------------------------------------|----------|----------|---------------------|---------------------|---------|----------|--------
ID | NAME                                                 | ATTACHED | QUANTITY | START DATE          | END DATE            | SUPPORT | CONTRACT | ACCOUNT
---|------------------------------------------------------|----------|----------|---------------------|---------------------|---------|----------|--------
28  |Red Hat Enterprise Linux Developer Suite              |          |          | 2017/05/31 05:00:00 | 2018/01/31 04:59:59 | Premium | 11207058 | *******
---|------------------------------------------------------|----------|----------|---------------------|---------------------|---------|----------|--------

Environment

Red Hat Satellite or Proxy 6.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.