Bug #5460
closedForetello: System being registered using "subscription-manager register --activationkey=foo --org='bar' " does not increment the usage_count for the activation key
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.