Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1198464 - Katello needs to activate pulp consumer as node
Summary: Katello needs to activate pulp consumer as node
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Justin Sherrill
QA Contact: Corey Welton
URL: http://projects.theforeman.org/issues...
Whiteboard:
: 1198405 1214308 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-04 08:39 UTC by Stephen Benjamin
Modified: 2017-02-23 20:23 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 05:28:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 9521 0 None None None 2016-04-22 15:11:19 UTC
Red Hat Product Errata RHSA-2015:1592 0 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 09:04:35 UTC

Description Stephen Benjamin 2015-03-04 08:39:33 UTC
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.

Comment 1 Stephen Benjamin 2015-03-04 08:39:36 UTC
Created from redmine issue http://projects.theforeman.org/issues/9521

Comment 6 Corey Welton 2015-03-18 12:54:43 UTC
Verified in Satellite-6.1.0-RHEL-7-20150311.1

Comment 7 Corey Welton 2015-03-18 12:56:56 UTC
*** Bug 1198405 has been marked as a duplicate of this bug. ***

Comment 8 Mike McCune 2015-07-09 21:07:37 UTC
*** Bug 1214308 has been marked as a duplicate of this bug. ***

Comment 9 Bryan Kearney 2015-08-11 13:18:10 UTC
This bug is slated to be released with Satellite 6.1.

Comment 10 errata-xmlrpc 2015-08-12 05:28:48 UTC
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


Note You need to log in before you can comment on or make changes to this bug.