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 1340578 - Dashboard fails to load if some organization is deleted via API
Summary: Dashboard fails to load if some organization is deleted via API
Keywords:
Status: CLOSED DUPLICATE of bug 1343108
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Dashboard
Version: 6.2.0
Hardware: x86_64
OS: All
unspecified
high
Target Milestone: Unspecified
Assignee: Partha Aji
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-28 00:24 UTC by Bruno Rocha
Modified: 2019-04-01 20:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-07 16:52:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Bruno Rocha 2016-05-28 00:24:15 UTC
Description of problem:

Looks like Dashboard, maybe some widget is keeping a reference to deleted organizations, so loading it raises the following error:

"Oops, we're sorry but something went wrong Katello::Resources::Candlepin::OwnerInfo: 404 Resource Not Found {"displayMessage":"Organization with id boZBEd could not be found.","requestUuid":"23042dae-9841-47b3-a6a8-bb5209fef8df"} (GET /candlepin/owners/boZBEd/info)"


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

Sat 6.2 Snap 12

How reproducible:

Always when deleting orgs using API

Steps to Reproduce:
1. Create some new organizations and assign hosts to each one 
2. Login to satellite webUI and change context to "AnyOrganization"
3. Using API or nailgun delete the hosts, then delete one organization
4. try to refresh the browser in dashboard or try to login again (as dashboard is the home page)

Actual results:

Error mentioned above right after login or when refreshing the page at dashboard
(acessing other pages like /organizations works well)

Organization with id "deleted org id" could not be found

Expected results:

Dashboard get its organization references updated when some org is deleted

Additional info:

Tried acessing in another browser session and even in another machine, so looks like the reference to deleted org is stored somewhere server side at dashboard.

Comment 3 Partha Aji 2016-07-07 16:52:25 UTC

*** This bug has been marked as a duplicate of bug 1343108 ***


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