Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1194343 - 500 when attempting to apply errata via content host bulk actions
500 when attempting to apply errata via content host bulk actions
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Content Management (Show other bugs)
Nightly
Unspecified Unspecified
unspecified Severity high (vote)
: Unspecified
: Unused
Assigned To: Justin Sherrill
sthirugn@redhat.com
http://projects.theforeman.org/issues...
: Triaged
Depends On:
Blocks: 1158893
  Show dependency treegraph
 
Reported: 2015-02-19 10:38 EST by Walden Raines
Modified: 2017-02-23 15:28 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-12 01:25:23 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 9467 None None None 2016-04-22 11:01 EDT
Red Hat Product Errata RHSA-2015:1592 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 05:04:35 EDT

  None (edit)
Description Walden Raines 2015-02-19 10:38:47 EST
<pre>
NameError: uninitialized constant Katello::SystemsBulkAction
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/inflector/methods.rb:230:in `block in constantize'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/inflector/methods.rb:229:in `each'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/inflector/methods.rb:229:in `constantize'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/core_ext/string/inflections.rb:54:in `constantize'
/home/walden/code/katello/app/controllers/katello/api/v2/api_controller.rb:51:in `rescue in resource_class'
/home/walden/code/katello/app/controllers/katello/api/v2/api_controller.rb:49:in `resource_class'
/home/walden/code/katello/app/controllers/katello/api/v2/api_controller.rb:88:in `scoped_search'
/home/walden/code/katello/app/controllers/katello/api/v2/systems_bulk_actions_controller.rb:106:in `applicable_errata'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/abstract_controller/base.rb:167:in `process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_controller/metal/rendering.rb:10:in `process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:562:in `block (5 levels) in _run__3675889115595483987__process_action__1197849405571889073__callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7211'
/home/walden/code/foreman/app/controllers/api/v2/base_controller.rb:151:in `disable_json_root'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7211'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:517:in `block (4 levels) in _run__3675889115595483987__process_action__1197849405571889073__callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7210'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:326:in `around'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:310:in `_callback_around_3840'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7210'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:505:in `block (3 levels) in _run__3675889115595483987__process_action__1197849405571889073__callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7209'
/home/walden/code/foreman/app/controllers/concerns/application_shared.rb:13:in `set_timezone'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7209'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:504:in `block (2 levels) in _run__3675889115595483987__process_action__1197849405571889073__callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7208'
/home/walden/code/foreman/app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7208'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:448:in `block in _run__3675889115595483987__process_action__1197849405571889073__callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7207'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:326:in `around'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:310:in `_callback_around_13'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7207'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:414:in `_run__3675889115595483987__process_action__1197849405571889073__callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:405:in `__run_callback'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:81:in `run_callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/abstract_controller/callbacks.rb:17:in `process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_controller/metal/rescue.rb:29:in `process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/notifications.rb:123:in `instrument'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.21/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/home/walden/code/katello/app/controllers/katello/concerns/api/api_controller.rb:59:in `process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/abstract_controller/base.rb:121:in `process'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/abstract_controller/rendering.rb:45:in `process'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_controller/metal.rb:203:in `dispatch'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_controller/metal.rb:246:in `block in action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_dispatch/routing/route_set.rb:73:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_dispatch/routing/route_set.rb:36:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_dispatch/routing/mapper.rb:43:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_dispatch/routing/route_set.rb:608:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.21/lib/rails/engine.rb:484:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.21/lib/rails/railtie/configurable.rb:30:in `method_missing'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_dispatch/routing/route_set.rb:608:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_dispatch/middleware/static.rb:83:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_dispatch/middleware/static.rb:83:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/bullet-4.14.4/lib/bullet/rack.rb:12:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/apipie-rails-0.2.6/lib/apipie/extractor/recorder.rb:97:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/apipie-rails-0.2.6/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/conditionalget.rb:35:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_dispatch/middleware/head.rb:14:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/home/walden/code/foreman/lib/middleware/catch_json_parse_errors.rb:9:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_dispatch/middleware/flash.rb:242:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_dispatch/middleware/cookies.rb:341:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.21/lib/active_record/query_cache.rb:64:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.21/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:405:in `_run__1357351658658142972__call__1657118514850179268__callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:405:in `__run_callback'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:81:in `run_callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_dispatch/middleware/reloader.rb:65:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
/home/walden/code/katello/lib/katello/middleware/silenced_logger.rb:29:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_dispatch/middleware/request_id.rb:22:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.21/lib/action_dispatch/middleware/static.rb:83:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.21/lib/rails/engine.rb:484:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.21/lib/rails/application.rb:231:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.21/lib/rails/railtie/configurable.rb:30:in `method_missing'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/builder.rb:134:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/urlmap.rb:64:in `block in call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/urlmap.rb:49:in `each'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/urlmap.rb:49:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.21/lib/rails/rack/log_tailer.rb:17:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/handler/webrick.rb:59:in `service'
/home/walden/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/walden/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/walden/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
caused by: (NameError) uninitialized constant SystemsBulkAction
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/inflector/methods.rb:230:in `block in constantize'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/inflector/methods.rb:229:in `each'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/inflector/methods.rb:229:in `constantize'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.21/lib/active_support/core_ext/string/inflections.rb:54:in `constantize'
    ... skipped 111 lines
Completed 500 Internal Server Error in 19.4ms (Views: 0.2ms | ActiveRecord: 1.1ms)
With body: {"displayMessage":"uninitialized constant Katello::SystemsBulkAction","errors":["uninitialized constant Katello::SystemsBulkAction"]}
</pre>

h3. Steps to Reproduce

# Ensure you have at least one content host with errata
# Go to content hosts page
# Select it and go to bulk actions
# Click on errata tab
# Note 500
Comment 1 Walden Raines 2015-02-19 10:38:48 EST
Created from redmine issue http://projects.theforeman.org/issues/9467
Comment 2 Walden Raines 2015-02-19 10:38:50 EST
Upstream bug assigned to jsherril@redhat.com
Comment 4 Bryan Kearney 2015-02-24 16:05:29 EST
Moving to POST since upstream bug http://projects.theforeman.org/issues/9467 has been closed
-------------
Justin Sherrill
Applied in changeset commit:katello|265b2e90a762affb7eea134e343f49279311fa20.
Comment 7 sthirugn@redhat.com 2015-03-06 11:33:34 EST
Verified.

Satellite-6.1.0-RHEL-6-20150303.0
Comment 8 Bryan Kearney 2015-08-11 09:20:38 EDT
This bug is slated to be released with Satellite 6.1.
Comment 9 errata-xmlrpc 2015-08-12 01:25:23 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/RHSA-2015:1592

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