Bug 1280044 - File image upload for services catalog fails with 500
Summary: File image upload for services catalog fails with 500
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.5.0
Assignee: Dávid Halász
QA Contact: Pete Savage
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-10 19:57 UTC by Pete Savage
Modified: 2015-12-08 13:46 UTC (History)
5 users (show)

Fixed In Version: 5.5.0.11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-08 13:46:06 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2551 0 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 17:58:09 UTC

Description Pete Savage 2015-11-10 19:57:49 UTC
Description of problem: File image upload for services catalog fails with 500


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


How reproducible: 100%


Steps to Reproduce:
1. Create a catalog bundle
2. Try to upload an image to it
3.

Actual results: 500 Error however the image uploads


Expected results: No 500 Error


Additional info:
[----] I, [2015-11-10T14:53:26.914010 #25054:af3994]  INFO -- : Started POST "/catalog/st_upload_image/3" for 127.0.0.1 at 2015-11-10 14:53:26 -0500
[----] I, [2015-11-10T14:53:26.915670 #25054:af3994]  INFO -- : Processing by CatalogController#st_upload_image as HTML
[----] I, [2015-11-10T14:53:26.915814 #25054:af3994]  INFO -- :   Parameters: {"utf8"=>"✓", "authenticity_token"=>"vPpGO/yEwepopofw23f2WFwefpojWef3f4nxbc+/THL2s13vEH37fq1NZB0fweifhwoihgoiuhw3fw3f2Mw==", "upload"=>{"image"=>#<ActionDispatch::Http::UploadedFile:0x0000000c91f030 @tempfile=#<Tempfile:/tmp/RackMultipart20151110-25054-rvo5zz.png>, @original_filename="text36371.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"upload[image]\"; filename=\"text36371.png\"\r\nContent-Type: image/png\r\n">}, "commit"=>"Upload", "id"=>"3"}
[----] I, [2015-11-10T14:53:27.352615 #25054:af3994]  INFO -- :   Rendered layouts/_info_msg.html.haml (0.1ms)
[----] I, [2015-11-10T14:53:27.353038 #25054:af3994]  INFO -- :   Rendered layouts/_flash_msg.html.haml (0.2ms)
[----] I, [2015-11-10T14:53:27.356583 #25054:af3994]  INFO -- :   Rendered layouts/_list_grid.html.haml (2.8ms)
[----] I, [2015-11-10T14:53:27.356731 #25054:af3994]  INFO -- :   Rendered layouts/gtl/_list.html.haml (3.5ms)
[----] I, [2015-11-10T14:53:27.356850 #25054:af3994]  INFO -- :   Rendered layouts/_x_gtl.html.haml (4.5ms)
[----] I, [2015-11-10T14:53:27.379012 #25054:af3994]  INFO -- :   Rendered layouts/_my_code_mirror.html.haml (21.9ms)
[----] I, [2015-11-10T14:53:27.379173 #25054:af3994]  INFO -- :   Rendered catalog/explorer.html.haml within layouts/application (27.0ms)
[----] I, [2015-11-10T14:53:27.379525 #25054:af3994]  INFO -- :   Rendered layouts/_doctype.html.haml (0.1ms)
[----] I, [2015-11-10T14:53:27.383992 #25054:af3994]  INFO -- :   Rendered stylesheets/_template50.html.haml (0.1ms)
[----] I, [2015-11-10T14:53:27.391081 #25054:af3994]  INFO -- :   Rendered layouts/_user_options.html.haml (3.9ms)
[----] I, [2015-11-10T14:53:27.474990 #25054:af3994]  INFO -- :   Rendered layouts/_page_header_navbar.html.haml (83.6ms)
[----] I, [2015-11-10T14:53:27.475484 #25054:af3994]  INFO -- :   Rendered layouts/_spinner.html.haml (0.1ms)
[----] I, [2015-11-10T14:53:27.475857 #25054:af3994]  INFO -- :   Rendered layouts/_lightbox_panel.html.haml (0.1ms)
[----] I, [2015-11-10T14:53:27.476037 #25054:af3994]  INFO -- :   Rendered layouts/_header.html.haml (91.2ms)
[----] I, [2015-11-10T14:53:27.477010 #25054:af3994]  INFO -- :   Rendered layouts/_x_history_buttons.html.haml (0.1ms)
[----] I, [2015-11-10T14:53:27.477471 #25054:af3994]  INFO -- :   Rendered layouts/_center_buttons.html.haml (0.2ms)
[----] I, [2015-11-10T14:53:27.477892 #25054:af3994]  INFO -- :   Rendered layouts/_x_custom_buttons.html.haml (0.1ms)
[----] I, [2015-11-10T14:53:27.478249 #25054:af3994]  INFO -- :   Rendered layouts/_x_view_buttons.html.haml (0.1ms)
[----] I, [2015-11-10T14:53:27.508419 #25054:af3994]  INFO -- :   Rendered layouts/_x_taskbar.html.haml (31.7ms)
[----] I, [2015-11-10T14:53:27.510471 #25054:af3994]  INFO -- :   Rendered layouts/_x_form_buttons.html.haml (0.1ms)
[----] I, [2015-11-10T14:53:27.510658 #25054:af3994]  INFO -- :   Rendered layouts/_x_pagingcontrols.html.haml (1.7ms)
[----] I, [2015-11-10T14:53:27.512739 #25054:af3994]  INFO -- :   Rendered layouts/_dynatree.html.haml (0.2ms)
[----] I, [2015-11-10T14:53:27.512916 #25054:af3994]  INFO -- :   Rendered shared/_tree.html.haml (0.8ms)
[----] I, [2015-11-10T14:53:27.513079 #25054:af3994]  INFO -- :   Rendered shared/_explorer_tree.html.haml (1.2ms)
[----] I, [2015-11-10T14:53:27.514546 #25054:af3994]  INFO -- :   Rendered layouts/_dynatree.html.haml (0.2ms)
[----] I, [2015-11-10T14:53:27.514727 #25054:af3994]  INFO -- :   Rendered shared/_tree.html.haml (0.7ms)
[----] I, [2015-11-10T14:53:27.514920 #25054:af3994]  INFO -- :   Rendered shared/_explorer_tree.html.haml (1.1ms)
[----] I, [2015-11-10T14:53:27.516397 #25054:af3994]  INFO -- :   Rendered layouts/_dynatree.html.haml (0.2ms)
[----] I, [2015-11-10T14:53:27.516568 #25054:af3994]  INFO -- :   Rendered shared/_tree.html.haml (0.7ms)
[----] I, [2015-11-10T14:53:27.516739 #25054:af3994]  INFO -- :   Rendered shared/_explorer_tree.html.haml (1.1ms)
[----] I, [2015-11-10T14:53:27.518071 #25054:af3994]  INFO -- :   Rendered layouts/_dynatree.html.haml (0.1ms)
[----] I, [2015-11-10T14:53:27.518196 #25054:af3994]  INFO -- :   Rendered shared/_tree.html.haml (0.6ms)
[----] I, [2015-11-10T14:53:27.518302 #25054:af3994]  INFO -- :   Rendered shared/_explorer_tree.html.haml (0.9ms)
[----] I, [2015-11-10T14:53:27.518532 #25054:af3994]  INFO -- :   Rendered layouts/listnav/_explorer.html.haml (7.2ms)
[----] I, [2015-11-10T14:53:27.518688 #25054:af3994]  INFO -- :   Rendered layouts/_listnav.html.haml (7.5ms)
[----] I, [2015-11-10T14:53:27.518827 #25054:af3994]  INFO -- :   Rendered layouts/_content.html.haml (42.5ms)
[----] I, [2015-11-10T14:53:27.519241 #25054:af3994]  INFO -- :   Rendered layouts/_adv_search.html.haml (0.1ms)
[----] I, [2015-11-10T14:53:27.519390 #25054:af3994]  INFO -- :   Rendered layouts/_footer.html.haml (0.4ms)
[----] F, [2015-11-10T14:53:27.520106 #25054:af3994] FATAL -- : Error caught: [AbstractController::DoubleRenderError] Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirect_to(...) and return".
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/rendering.rb:15:in `render'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/opt/rh/rh-ruby22/root/usr/share/ruby/benchmark.rb:303:in `realtime'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/core_ext/benchmark.rb:12:in `ms'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/instrumentation.rb:44:in `block in render'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activerecord/lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/instrumentation.rb:43:in `render'
/var/www/miq/vmdb/app/controllers/catalog_controller.rb:474:in `block (2 levels) in st_upload_image'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/mime_responds.rb:217:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/mime_responds.rb:217:in `respond_to'
/var/www/miq/vmdb/app/controllers/catalog_controller.rb:470:in `st_upload_image'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/abstract_controller/base.rb:198:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/rendering.rb:10:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/callbacks.rb:117:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/callbacks.rb:117:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/callbacks.rb:505:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/callbacks.rb:505:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/callbacks.rb:81:in `run_callbacks'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/abstract_controller/callbacks.rb:19:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/rescue.rb:29:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/notifications.rb:164:in `block in instrument'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/notifications.rb:164:in `instrument'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activerecord/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/abstract_controller/base.rb:137:in `process'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionview/lib/action_view/rendering.rb:30:in `process'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal.rb:196:in `dispatch'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal.rb:237:in `block in action'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/routing/route_set.rb:76:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/routing/route_set.rb:45:in `serve'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/journey/router.rb:43:in `block in serve'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/journey/router.rb:30:in `each'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/journey/router.rb:30:in `serve'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/routing/route_set.rb:817:in `call'
/opt/rh/cfme-gemset/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
/opt/rh/cfme-gemset/gems/rack-1.6.4/lib/rack/conditionalget.rb:38:in `call'
/opt/rh/cfme-gemset/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/middleware/flash.rb:260:in `call'
/opt/rh/cfme-gemset/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
/opt/rh/cfme-gemset/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/middleware/cookies.rb:560:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activerecord/lib/active_record/query_cache.rb:36:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/callbacks.rb:81:in `run_callbacks'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/rack/logger.rb:38:in `call_app'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/rack/logger.rb:22:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/middleware/request_id.rb:21:in `call'
/opt/rh/cfme-gemset/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
/opt/rh/cfme-gemset/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
/opt/rh/cfme-gemset/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/middleware/static.rb:116:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/middleware/static.rb:116:in `call'
/opt/rh/cfme-gemset/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/engine.rb:518:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/application.rb:165:in `call'
/opt/rh/cfme-gemset/gems/rack-1.6.4/lib/rack/content_length.rb:15:in `call'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/thin-1.6.3/lib/thin/connection.rb:86:in `block in pre_process'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/thin-1.6.3/lib/thin/connection.rb:84:in `catch'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/thin-1.6.3/lib/thin/connection.rb:84:in `pre_process'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/thin-1.6.3/lib/thin/connection.rb:53:in `process'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/thin-1.6.3/lib/thin/connection.rb:39:in `receive_data'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/eventmachine-1.0.7/lib/eventmachine.rb:187:in `run_machine'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/eventmachine-1.0.7/lib/eventmachine.rb:187:in `run'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/thin-1.6.3/lib/thin/backends/base.rb:73:in `start'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/thin-1.6.3/lib/thin/server.rb:162:in `start'
/opt/rh/cfme-gemset/gems/rack-1.6.4/lib/rack/handler/thin.rb:19:in `run'
/opt/rh/cfme-gemset/gems/rack-1.6.4/lib/rack/server.rb:286:in `start'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/commands/server.rb:80:in `start'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/commands/commands_tasks.rb:80:in `block in server'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/commands/commands_tasks.rb:75:in `tap'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/commands/commands_tasks.rb:75:in `server'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/commands.rb:17:in `<top (required)>'
/var/www/miq/vmdb/bin/rails:4:in `require'
/var/www/miq/vmdb/bin/rails:4:in `<main>'
[----] I, [2015-11-10T14:53:27.520656 #25054:af3994]  INFO -- : Completed 500 Internal Server Error in 605ms (Views: 152.8ms | ActiveRecord: 195.8ms)
[----] F, [2015-11-10T14:53:27.521924 #25054:af3994] FATAL -- : 
AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirect_to(...) and return".):
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/rendering.rb:15:in `render'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
  /opt/rh/rh-ruby22/root/usr/share/ruby/benchmark.rb:303:in `realtime'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/core_ext/benchmark.rb:12:in `ms'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/instrumentation.rb:44:in `block in render'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activerecord/lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/instrumentation.rb:43:in `render'
  app/controllers/application_controller.rb:121:in `block (2 levels) in render_exception'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/mime_responds.rb:217:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/mime_responds.rb:217:in `respond_to'
  app/controllers/application_controller.rb:110:in `render_exception'
  app/controllers/application_controller.rb:105:in `error_handler'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/rescuable.rb:80:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/rescuable.rb:80:in `rescue_with_handler'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/rescue.rb:15:in `rescue_with_handler'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/rescue.rb:32:in `rescue in process_action'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/rescue.rb:29:in `process_action'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/notifications.rb:164:in `block in instrument'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/notifications.rb:164:in `instrument'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activerecord/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/abstract_controller/base.rb:137:in `process'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionview/lib/action_view/rendering.rb:30:in `process'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal.rb:196:in `dispatch'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal.rb:237:in `block in action'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/routing/route_set.rb:76:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/routing/route_set.rb:45:in `serve'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/journey/router.rb:43:in `block in serve'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/journey/router.rb:30:in `each'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/journey/router.rb:30:in `serve'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/routing/route_set.rb:817:in `call'
  rack (1.6.4) lib/rack/etag.rb:24:in `call'
  rack (1.6.4) lib/rack/conditionalget.rb:38:in `call'
  rack (1.6.4) lib/rack/head.rb:13:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/middleware/flash.rb:260:in `call'
  rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
  rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/middleware/cookies.rb:560:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activerecord/lib/active_record/query_cache.rb:36:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/callbacks.rb:81:in `run_callbacks'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/rack/logger.rb:38:in `call_app'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/rack/logger.rb:22:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/middleware/request_id.rb:21:in `call'
  rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
  rack (1.6.4) lib/rack/runtime.rb:18:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
  rack (1.6.4) lib/rack/lock.rb:17:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/middleware/static.rb:116:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/middleware/static.rb:116:in `call'
  rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/engine.rb:518:in `call'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/application.rb:165:in `call'
  rack (1.6.4) lib/rack/content_length.rb:15:in `call'
  thin (1.6.3) lib/thin/connection.rb:86:in `block in pre_process'
  thin (1.6.3) lib/thin/connection.rb:84:in `catch'
  thin (1.6.3) lib/thin/connection.rb:84:in `pre_process'
  thin (1.6.3) lib/thin/connection.rb:53:in `process'
  thin (1.6.3) lib/thin/connection.rb:39:in `receive_data'
  eventmachine (1.0.7) lib/eventmachine.rb:187:in `run_machine'
  eventmachine (1.0.7) lib/eventmachine.rb:187:in `run'
  thin (1.6.3) lib/thin/backends/base.rb:73:in `start'
  thin (1.6.3) lib/thin/server.rb:162:in `start'
  rack (1.6.4) lib/rack/handler/thin.rb:19:in `run'
  rack (1.6.4) lib/rack/server.rb:286:in `start'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/commands/server.rb:80:in `start'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/commands/commands_tasks.rb:80:in `block in server'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/commands/commands_tasks.rb:75:in `tap'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/commands/commands_tasks.rb:75:in `server'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
  /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/commands.rb:17:in `<top (required)>'
  bin/rails:4:in `require'
  bin/rails:4:in `<main>'

Comment 3 CFME Bot 2015-11-13 00:40:42 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/8797bd64bc065aed851648dcec55f926dfaadd5d

commit 8797bd64bc065aed851648dcec55f926dfaadd5d
Author:     Dávid Halász <dhalasz>
AuthorDate: Wed Nov 11 11:10:18 2015 +0100
Commit:     Dávid Halász <dhalasz>
CommitDate: Wed Nov 11 11:10:18 2015 +0100

    Fixed double rendering when uploading an image for a catalog bundle
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1280044

 app/controllers/catalog_controller.rb | 1 -
 1 file changed, 1 deletion(-)

Comment 5 CFME Bot 2015-11-16 21:17:33 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=ffd5ad903eab9c44a7f7f3128432c33286c0d35c

commit ffd5ad903eab9c44a7f7f3128432c33286c0d35c
Author:     Dávid Halász <dhalasz>
AuthorDate: Wed Nov 11 11:10:18 2015 +0100
Commit:     Dávid Halász <dhalasz>
CommitDate: Fri Nov 13 15:58:59 2015 +0100

    Fixed double rendering when uploading an image for a catalog bundle
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1280044
    
    Clean cherrypick from: https://github.com/ManageIQ/manageiq/pull/5385
    
    (cherry picked from commit 8797bd64bc065aed851648dcec55f926dfaadd5d)

 app/controllers/catalog_controller.rb | 1 -
 1 file changed, 1 deletion(-)

Comment 6 CFME Bot 2015-11-16 21:17:45 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=923d5720abc0eb0522dcca32d23b135dc438bacf

commit 923d5720abc0eb0522dcca32d23b135dc438bacf
Merge: 3f39cea ffd5ad9
Author:     Dan Clarizio <dclarizi>
AuthorDate: Fri Nov 13 13:23:25 2015 -0500
Commit:     Dan Clarizio <dclarizi>
CommitDate: Fri Nov 13 13:23:25 2015 -0500

    Merge branch 'bz-1280044' into '5.5.z'
    
    Fixed double rendering when uploading an image for a catalog bundle
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1280044
    
    Clean cherrypick from: https://github.com/ManageIQ/manageiq/pull/5385
    
    (cherry picked from commit 8797bd64bc065aed851648dcec55f926dfaadd5d)
    
    See merge request !442

 app/controllers/catalog_controller.rb | 1 -
 1 file changed, 1 deletion(-)

Comment 7 Pete Savage 2015-11-19 11:23:31 UTC
Verified in 5.5.0.11

Comment 9 errata-xmlrpc 2015-12-08 13:46:06 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/RHSA-2015:2551


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