Actions
Bug #35381
closedconsumer uuid differing between candlepin and katello
Status:
Closed
Priority:
Normal
Assignee:
Category:
Subscriptions
Target version:
Description
Problem:
- host in foreman/katello existed with
subscription_facet.uuid = X
- host had been registered in the past, so there was a candlepin consumer with uuid XXX
- host tried to re-register but got the following message from
subscription-manager
:subscription-manager register --org="MyOrg" --activationkey="akey-centos7" HTTP error (404 - Not Found): Consumer with id e6ec3369-9568-4851-888c-75d08edf1624 could not be found.
- katello subscription_facet had consumer-uuid
e6ec3369-9568-4851-888c-75d08edf1624
and also sent that one to candlepin in thePOST
-request to/candlepin/environments/<env-id>/consumers/?activation_keys=<akey-uuid>
- candlepin returned a consumer with the already existing uuid XXX
- katello did not update the consumer-uuid of the host's subscription-facet to XXX
Solution:
Katello should update subscription_facet with the consumer's uuid from candlepin-API
Actions