Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
After login dashboard is the homepage, if the user is admin and has no default_organization set it takes long time to load (up to 2 minutes).
Version-Release number of selected component (if applicable):
Sattelite 6.2 snap 13
How reproducible:
When system has more than 10 organizations
Steps to Reproduce:
1. Create a lot of organizations 10+
2. Create a new admin user without default_organization set
3. Login with this new user to dashboard
4. Note that login takes a long time comparing to users with default_organization
Actual results:
When user has no default_organization and log in, it will load in "Any Context" which will cause the dashboard to aggregate values form all organization.
According to *beav* and watching server logs I notice there is a call to candlepin for each organization.
Expected results:
User log in to dashboard using "Any Context" showing data from all the organizations, but only a single call to candlepin to get the data in bulk would avoid the long time to load.
Additional info:
The recommended fix is to display "please select an organization to view subscription information" for the subscription widget if no org is selected.
It is possible to fix this by adding multi-org API calls to candlepin and katello, but I do not think it's worth it for this use case. Most users drill down into an org before examining subscription data.
Verified on 6.3.0 snap 6. Subscription widget shows "Please select an organization to view subscription totals." msg. Even after creating 11 orgs the load time for the page seems to be the same. So I am changing status to verified
Comment 8Satellite Program
2018-02-21 16:51:07 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-2018:0336