Red Hat Bugzilla – Bug 1589646
foreman-rake katello:regenerate_repo_metadata failed with "NoMethodError: undefined method `in_default_view' for #<Array:0x000000000ce126f0>"
Last modified: 2018-08-22 16:07:48 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.
Created attachment 1451027 [details] Full stacktrace
Created redmine issue http://projects.theforeman.org/issues/23943 from this bug
Upstream bug assigned to stbenjam@redhat.com
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/23943 has been resolved.
[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.
Created attachment 1472935 [details] task status successful
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