Project

General

Profile

Actions

Bug #35381

closed

consumer uuid differing between candlepin and katello

Added by Markus Bucher over 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Problem:
  1. host in foreman/katello existed with subscription_facet.uuid = X
  2. host had been registered in the past, so there was a candlepin consumer with uuid XXX
  3. 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.
    
Cause:
  1. katello subscription_facet had consumer-uuid e6ec3369-9568-4851-888c-75d08edf1624 and also sent that one to candlepin in the POST-request to /candlepin/environments/<env-id>/consumers/?activation_keys=<akey-uuid>
  2. candlepin returned a consumer with the already existing uuid XXX
  3. 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 #1

Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/10241 added
Actions #2

Updated by Chris Roberts over 2 years ago

  • Assignee set to Markus Bucher
  • Target version set to Katello 4.7.0
  • Triaged changed from No to Yes
Actions #3

Updated by Chris Roberts about 2 years ago

  • Target version changed from Katello 4.7.0 to Katello 4.8.0
Actions #4

Updated by The Foreman Bot almost 2 years ago

  • Fixed in Releases Katello 4.8.0 added
Actions #5

Updated by Markus Bucher almost 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF