Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1589646 - foreman-rake katello:regenerate_repo_metadata failed with "NoMethodError: undefined method `in_default_view' for #<Array:0x000000000ce126f0>"
foreman-rake katello:regenerate_repo_metadata failed with "NoMethodError: und...
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Repositories (Show other bugs)
6.3.1
Unspecified Unspecified
unspecified Severity medium (vote)
: 6.3.3
: Unused
Assigned To: Stephen Benjamin
Kedar Bidarkar
: Regression, Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-06-11 01:04 EDT by matt jia
Modified: 2018-08-22 16:07 EDT (History)
7 users (show)

See Also:
Fixed In Version: tfm-rubygem-katello-3.4.5.75-1
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1596350 (view as bug list)
Environment:
Last Closed: 2018-08-22 16:07:12 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Full stacktrace (6.36 KB, text/plain)
2018-06-13 16:20 EDT, Brad Buckingham
no flags Details
task status successful (54.26 KB, image/png)
2018-08-03 06:02 EDT, Kedar Bidarkar
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 23943 None None None 2018-06-14 11:25 EDT
Red Hat Product Errata RHBA-2018:2550 None None None 2018-08-22 16:07 EDT

  None (edit)
Description matt jia 2018-06-11 01:04:11 EDT
Description of problem:

Can't run foreman-rake katello:regenerate_repo_metadata  as it failed with

"NoMethodError: undefined method `in_default_view' for #<Array:0x000000000ce126f0>"

Version-Release number of selected component (if applicable):

6.3.1

How reproducible:

Easy

Steps to Reproduce:

foreman-rake katello:regenerate_repo_metadata

Actual results:

"NoMethodError: undefined method `in_default_view' for #<Array:0x000000000ce126f0>"


Expected results:

No error.
Comment 2 Brad Buckingham 2018-06-13 16:20 EDT
Created attachment 1451027 [details]
Full stacktrace
Comment 4 Stephen Benjamin 2018-06-14 11:25:38 EDT
Created redmine issue http://projects.theforeman.org/issues/23943 from this bug
Comment 5 pm-sat@redhat.com 2018-06-14 12:19:33 EDT
Upstream bug assigned to stbenjam@redhat.com
Comment 6 pm-sat@redhat.com 2018-06-14 12:19:37 EDT
Upstream bug assigned to stbenjam@redhat.com
Comment 7 pm-sat@redhat.com 2018-06-14 20:18:57 EDT
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/23943 has been resolved.
Comment 11 Kedar Bidarkar 2018-08-03 06:01:08 EDT
[root@sat63-rhel7 ~]# foreman-rake katello:regenerate_repo_metadata
Regenerating 50 repositories.  You can monitor these on task id 2315ebbc-1cec-45ef-b5fc-3eebe40fb342

There was no error upon running the command and  no error in the /v/l/foreman/production.log

VERIFIED with the Sat6.3.3 snap2 build.

Will also attach a screenshot of the task success status shortly.
Comment 12 Kedar Bidarkar 2018-08-03 06:02 EDT
Created attachment 1472935 [details]
task status successful
Comment 14 errata-xmlrpc 2018-08-22 16:07:12 EDT
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-2018:2550

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