Bug 1326041

Summary: undefined method `candlepin_consumer_info' for #<Katello::System:0x0000000d5461e0>
Product: Red Hat Satellite Reporter: Bryan Kearney <bkearney>
Component: Content ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Sachin Ghai <sghai>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, bkearney, cwelton, ehelms, jsherril, mmccune, mtessun, sghai, stkachen
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/12622
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:03:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bryan Kearney 2016-04-11 16:02:38 UTC
In certain cases rake tasks # foreman-rake katello:reindex throws exception 
Re-indexing Katello::System
The following Katello::System items could not be indexed due to various reasons.
Please check /usr/share/foreman/log/reindex.log for more detailed information.
Object: #<Katello::System id: 21, uuid: nil, name: "katello.example.com", description: "Initial Registration Params", location: "None", environment_id: 11, created_at: "2015-07-06 14:31:41", updated_at: "2015-07-06 14:31:41", type: "Katello::System", content_view_id: 12, host_id: nil>
rake aborted!
undefined method `candlepin_consumer_info' for #<Katello::System:0x0000000d4361d0>

Comment 1 Bryan Kearney 2016-04-11 16:02:40 UTC
Created from redmine issue http://projects.theforeman.org/issues/12622

Comment 2 Bryan Kearney 2016-04-11 18:13:54 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/12622 has been closed
-------------
Ranjan Kumar
Applied in changeset commit:katello|068c4238fae691c402a4ed4ccdb77b81d737c6be.

Comment 5 Sachin Ghai 2016-06-16 10:35:36 UTC
I ran  "foreman-rake katello:reindex" on sat6.2 installed with beta2 snap15.2

 ~]# foreman-rake katello:reindex
Re-indexing Katello::Rpm


I don't see any issue with katello:reindex. Is there anything else needs to be verified here ?

Comment 6 Mike McCune 2016-07-22 04:44:15 UTC
I'd close this one out if you aren't seeing any errors running katello:reindex.

if this re-occurs in customer environments we can re-open.

Comment 7 Bryan Kearney 2016-07-27 11:03:16 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/RHBA-2016:1501