Project

General

Profile

Actions

Bug #5460

closed

Foretello: System being registered using "subscription-manager register --activationkey=foo --org='bar' " does not increment the usage_count for the activation key

Added by dustin tsang over 10 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

Summary:

System being registered using "subscription-manager register --activationkey=foo --org='bar' " does not increment the usage_count for the activation key

Steps:
1. create a new org in Foretello
2. create an activation key in Foretello
3. in Fortello, grab a manifest file with rhel 6.5 SKUs and upload to org
4. add some rhel 6.5 subscriptions to the activation key
5. in a rhel 6.5 system, update /etc/rhsm/rhsm.conf to use Foretello as the new subscription manager
6. in the rhel 6.5 system, run -- subscription-manager register --activationkey=foo --org='bar'
in hammer
=> ActivationKey usage_count isn't incremented
=> Association between System and ActivationKey isn't created

When subscription-manager calls
CandlepinProxiesController#consumer_activate, it doesn't seem to creates a association between System and ActivationKey.

Actions

Also available in: Atom PDF