Bug 1104991
Description
Sachin Ghai
2014-06-05 07:36:13 UTC
Created attachment 902433 [details]
Clicking on "Errata Installation" from "Host Collections"--> "Collection Actions" raises execption in production.log
From logs it seems two exception raises : 1. 400 Bad Request: Processing by Katello::Api::V2::SystemsBulkActionsController#applicable_errata as JSON Parameters: {"included"=>{"ids"=>[], "resources"=>[], "search"=>nil}, "excluded"=>{"ids"=>[]}, "organization_id"=>"1", "page"=>1, "search"=>"host_collection:'tests'", "api_version"=>"v2", "systems_bulk_action"=>{"included"=>{"ids"=>[], "resources"=>[], "search"=>nil}, "excluded"=>{"ids"=>[]}, "organization_id"=>"1", "page"=>1, "search"=>"host_collection:'tests'"}} Katello::HttpErrors::BadRequest: No systems have been specified. /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/controllers/katello/api/v2/systems_bulk_actions_controller.rb:204:in `find_systems' /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/controllers/katello/api/v2/systems_bulk_actions_controller.rb:175:in `find_readable_systems' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:553:in `block (3 levels) in _run__2775906763277148869__process_action__1677933224389130224__callbacks' 2. 404 Not found: Processing by Katello::Api::V2::SystemsBulkActionsController#applicable_errata as JSON Parameters: {"page"=>1, "search"=>"host_collection:'tests'", "api_version"=>"v2", "systems_bulk_action"=>{"page"=>1, "search"=>"host_collection:'tests'"}} Katello::HttpErrors::NotFound: One of parameters [ organization_id ] required but not specified. /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/controllers/katello/api/v2/api_controller.rb:121:in `find_organization' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:542:in `block (3 levels) in _run__2775906763277148869__process_action__1677933224389130224__callbacks' Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release. Created attachment 902436 [details]
firebug throws 400 bad request error
Clicking on "Host Collection Membership" link from "Host Collections"--> "Collection Actions" throws following exceptions: 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":"4da7c89f-c17d-481e-b9e7-7eae58ea5d6f"} (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":"4da7c89f-c17d-481e-b9e7-7eae58ea5d6f"} (GET /candlepin/consumers/bulk-actions) Body: {"displayMessage":"Consumer with id bulk-actions could not be found.","requestUuid":"4da7c89f-c17d-481e-b9e7-7eae58ea5d6f"} /opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in `return!' /opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:230:in `process_result' /opt/rh/ruby193/root/usr/share/gems/gems/rbovirt-0.0.26/lib/restclient_ext/request.rb:50:in `block in transmit' RestClient::ResourceNotFound: Katello::Resources::Candlepin::Consumer: 404 Resource Not Found {"displayMessage":"Consumer with id bulk-actions could not be found.","requestUuid":"4da7c89f-c17d-481e-b9e7-7eae58ea5d6f"} (GET /candlepin/consumers/bulk-actions) Body: {"displayMessage":"Consumer with id bulk-actions could not be found.","requestUuid":"4da7c89f-c17d-481e-b9e7-7eae58ea5d6f"} Created attachment 902439 [details]
Clicking on "Host Collection Membership" from "Host Collections"--> "Collection Actions" raises execption in production.log
Created redmine issue http://projects.theforeman.org/issues/6221 from this bug Moving to POST since upstream bug http://projects.theforeman.org/issues/6221 has been closed Verified with sat6 Beta snap10(Satellite-6.0.3-RHEL-6-20140618.0) On clicking following links via "Host Collections"--> "Collection Actions" tab - Errata Installation - Host Collection Membership I didn't see any issue in production.log. Created attachment 910310 [details]
no error on clicking "Errata Installation" under firebug
Created attachment 910311 [details]
no error on clicking "Host Collection Membership"
This was delivered with 6.0.3, which is the Satellite 6 Beta. |