Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1097124 - Page remains in "Loading.." state while performing bulk actions on content host
Summary: Page remains in "Loading.." state while performing bulk actions on content host
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Brad Buckingham
QA Contact: Sachin Ghai
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-13 08:05 UTC by Sachin Ghai
Modified: 2019-09-26 17:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-02 14:06:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
complete stacktrace from production.log (51.65 KB, text/x-log)
2014-05-13 08:05 UTC, Sachin Ghai
no flags Details
Content Host -->select hosts --> Bulk Actions --> Host Collection --> Loading (39.54 KB, image/png)
2014-05-13 08:08 UTC, Sachin Ghai
no flags Details
Firebug raises 400 Bad request error (104.08 KB, image/png)
2014-05-16 07:16 UTC, Sachin Ghai
no flags Details
host-collection page was loaded on selecting content-host's -->bulk-action (43.76 KB, image/png)
2014-06-13 06:41 UTC, Sachin Ghai
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 5743 0 None None None 2016-04-22 16:14:41 UTC

Description Sachin Ghai 2014-05-13 08:05:15 UTC
Created attachment 895032 [details]
complete stacktrace from production.log

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:

Comment 1 Sachin Ghai 2014-05-13 08:08:04 UTC
Created attachment 895033 [details]
Content Host -->select hosts --> Bulk Actions --> Host Collection --> Loading

Comment 2 RHEL Program Management 2014-05-13 08:25:15 UTC
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.

Comment 4 Brad Buckingham 2014-05-15 17:28:38 UTC
Created redmine issue http://projects.theforeman.org/issues/5743 from this bug

Comment 5 Sachin Ghai 2014-05-16 07:16:31 UTC
Created attachment 896217 [details]
Firebug raises 400 Bad request error

Comment 6 Brad Buckingham 2014-06-04 21:36:23 UTC
fix included with katello PR: 

https://github.com/Katello/katello/pull/4217

Comment 9 Sachin Ghai 2014-06-13 06:40:06 UTC
Verified with sat6 beta snap9 compose2 (Satellite-6.0.3-RHEL-6-20140612.1)

Host collection tab under bulk actions was loaded properly and didn't see any error in production.log

Comment 10 Sachin Ghai 2014-06-13 06:41:33 UTC
Created attachment 908380 [details]
host-collection page was loaded on selecting content-host's -->bulk-action

Comment 11 Bryan Kearney 2014-07-02 14:06:17 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.


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