Bug #5743
closedPage remains in "Loading.." state while performing bulk actions on content host
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1097124
Description of problem:
I was trying to perform bulk actions on selected hosts. So I clicked on 'Bulk Actions' --> Host collections Tab
on clicking Host collections, Page keep on Loading..
And production.log says:
===================
/opt/rh/ruby193/root/usr/share/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
Completed 400 Bad Request in 40ms (Views: 0.3ms | ActiveRecord: 0.3ms)
Processing by Katello::Api::V2::HostCollectionsController#index as JSON
Parameters: {"offset"=>"0", "organization_id"=>"ACME_Corporation", "page"=>"1", "paged"=>"true", "search"=>"", "sort_by"=>"name", "sort_order"=>"ASC", "api_version"=>"v2"}
Processing by Katello::Api::V2::SystemsController#show as JSON
Parameters: {"fields"=>"full", "api_version"=>"v2", "id"=>"bulk-actions"}
exception when talking to a remote client: Katello::Resources::Candlepin::Consumer: 404 Resource Not Found {"displayMessage":"Consumer with id bulk-actions could not be found.","requestUuid":"2364709e-1c6d-4a20-b091-ca097b428541"} (GET /candlepin/consumers/bulk-actions) RestClient::ResourceNotFound: Katello::Resources::Candlepin::Consumer: 404 Resource Not Found {"displayMessage":"Consumer with id bulk-actions could not be found.","requestUuid":"2364709e-1c6d-4a20-b091-ca097b428541"} (GET /candlepin/consumers/bulk-actions)
Body: {"displayMessage":"Consumer with id bulk-actions could not be found.","requestUuid":"2364709e-1c6d-4a20-b091-ca097b428541"}
/opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.1/lib/restclient/abstract_response.rb:48:in `return!'
/opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.1/lib/restclient/request.rb:220:in `process_result'
Version-Release number of selected component (if applicable):
Satellite 6 Beta Snap 4
Satellite-6.0.3-RHEL-6-20140508.1
How reproducible:
always
Steps to Reproduce:
1. select two hosts
2. click on 'Bulk Actions' from content host page
3. select Host Collections tab
Actual results:
Page remains in "Loading.." state while performing bulk actions on content host
from host collections tab
Expected results:
Host collection tab should be loaded properly and no error should be thrown in production.log
Additional info: