Red Hat Bugzilla – Bug 1198464
Katello needs to activate pulp consumer as node
Last modified: 2017-02-23 15:23:43 EST
After chatting with jortel a pulp node needs to be activated using this method: https://github.com/Katello/katello/blob/106bb48226f970a58b4329c6db3cd398477c49f1/app/models/katello/glue/pulp/consumer.rb#L202 when a capsule registers with the pulp_node feature. from irc: ``` jortel | stbenjam: looking at your node sync issue, you capsule does not seem to be | activated as a node (in the pulp db) jsherrill | jortel: when you say 'activated' what do you mean exactly? jsherrill | which api call? jortel | jsherrill: when you create the consumer, you need to add a special top-secret | note that indicates it's a node and what it's strategy is jortel | jsherrill: or, in a consumer update jsherrill | jortel: is this new? jsherrill | (my memory is a little fuzzy) jsherrill | and i'm trying to find where we might have ever done that jsherrill | i dont' see anything jsherrill | we were just registering the consumer and adding environments to sync jsherrill | as far as i can tell jsherrill | errr, adding repos jsherrill | jortel: doesn't look like, it is possible pulp 2.4 didn't care? jortel | jsherrill: yes, it's possible. iirc, we fixed a bug whereby that strategy | was not being passed to the agent. ``` my guess is that we used to call this method when pulp nodes were first implemented but that got lost along the way.
Created from redmine issue http://projects.theforeman.org/issues/9521
Verified in Satellite-6.1.0-RHEL-7-20150311.1
*** Bug 1198405 has been marked as a duplicate of this bug. ***
*** Bug 1214308 has been marked as a duplicate of this bug. ***
This bug is slated to be released with Satellite 6.1.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2015:1592