Bug 1326041 - undefined method `candlepin_consumer_info' for #<Katello::System:0x0000000d5461e0>
Summary: undefined method `candlepin_consumer_info' for #<Katello::System:0x0000000d54...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Sachin Ghai
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-11 16:02 UTC by Bryan Kearney
Modified: 2019-11-14 07:46 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 11:03:16 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 12622 0 None None None 2016-04-26 17:06:46 UTC

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


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