Bug 1216195

Summary: Bulk Actions -> Errata page does not load
Product: Red Hat Satellite Reporter: sthirugn <sthirugn>
Component: Content ManagementAssignee: Walden Raines <walden>
Status: CLOSED CURRENTRELEASE QA Contact: sthirugn <sthirugn>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bkearney, walden
Target Milestone: UnspecifiedKeywords: Regression
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/10309
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 13:59:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description sthirugn@redhat.com 2015-04-28 17:52:45 UTC
Created attachment 1019811 [details]
foreman debug

Description of problem:
Bulk Actions -> Errata page does not load

Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-6-20150424.0

How reproducible:
Always

Steps to Reproduce:
1. Navigate to Hosts -> Host Collections -> Select a host collection
2. Go to Collection Actions tab -> click on Errata Installation

Actual results:
The UI does not load and I saw the following error in foreman/production.log

2015-04-28 13:49:23 [E] NameError: uninitialized constant Katello::SystemsBulkAction
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:229:in `each'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:229:in `constantize'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/core_ext/string/inflections.rb:54:in `constantize'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.37/app/controllers/katello/api/v2/api_controller.rb:51:in `rescue in resource_class'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.37/app/controllers/katello/api/v2/api_controller.rb:49:in `resource_class'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.37/app/controllers/katello/api/v2/api_controller.rb:89:in `scoped_search'

Expected results:
The UI loads

Additional info:

Comment 2 Walden Raines 2015-04-29 15:08:58 UTC
Created redmine issue http://projects.theforeman.org/issues/10309 from this bug

Comment 3 Walden Raines 2015-04-29 15:12:35 UTC
PR: https://github.com/Katello/katello/pull/5199

Comment 4 Bryan Kearney 2015-05-04 16:05:48 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/10309 has been closed
-------------
Walden Raines
Applied in changeset commit:katello|ecbb51bca629a6c90c8e0528cb62f6dd238d4654.

Comment 7 sthirugn@redhat.com 2015-05-14 15:37:52 UTC
Verified in GA Snap 4 Compose 2. 

Verification Steps:
1. Navigate to Hosts -> Host Collections -> Select a host collection
2. Go to Collection Actions tab -> click on Errata Installation
3. Apply the errata to the content hosts in host collection - Errata was successfully applied

Comment 8 Bryan Kearney 2015-08-11 13:24:15 UTC
This bug is slated to be released with Satellite 6.1.

Comment 9 Bryan Kearney 2015-08-12 13:59:07 UTC
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.