Bug 2069634 - new host ui details, unable to read the host from different taxonomies when logged in
Summary: new host ui details, unable to read the host from different taxonomies when l...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.12.0
Assignee: Amir
QA Contact: Peter Dragun
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-29 10:20 UTC by tstrych
Modified: 2023-09-18 04:34 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-16 13:33:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 33862 0 Normal Closed new host page lacks empty state 2022-03-31 14:51:06 UTC
Red Hat Issue Tracker SAT-13536 0 None None None 2022-10-21 15:35:53 UTC
Red Hat Product Errata RHSA-2022:8506 0 None None None 2022-11-16 13:34:01 UTC

Description tstrych 2022-03-29 10:20:41 UTC
Description of problem:
user is looking at a host within new_org, going for lunch, the sat will automatically sign him out from satellite, when he gets back and log in, the new host page details is showing an empty host. In this case user is required to notice that he was logged in to default taxonomy and is not possible to load such a host. 
The expected result, we tell the user that his request is wrong.



Version-Release number of selected component (if applicable):
sat 6.11 snap 14

How reproducible:
Always

Steps to Reproduce:
Apply on the description above but without waiting. 
1. Create a host with a different organization as default 
2. Make sure that your user will open with default taxonomies on login (I think it is by default) 
3. copy URL https://<sat-fqdn>/new/hosts/<host-fqdn>#/Overview
4. log out
5. paste URL 
6. use credentials to log in

Actual results:
host page is empty trying and it seems it's trying to load 
as shown on attached screen 1.

Expected results:
Old UI is resolving this with an Error, "Host not found Please try to update your request" attachment 2 [details].

Comment 3 Bryan Kearney 2022-03-31 20:05:51 UTC
Upstream bug assigned to afeferku

Comment 4 Bryan Kearney 2022-03-31 20:05:52 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/33862 has been resolved.

Comment 5 tstrych 2022-03-31 20:50:16 UTC
Easier reproducer:

create two hosts in two different org, 
open the host details,
change the organization

actual and expected results are same in this scenario as in the description

Comment 6 tstrych 2022-03-31 20:55:26 UTC
it is getting unpredictable when in one browser tab the host details is opened, and then in the other tab organization is changed
get back to the first browser tab and click between tabs, things are not loaded, but user is not aware of that, because on his tab the organization is still shown the same, just data are not loaded anymore, of course until reload

Comment 8 Peter Dragun 2022-08-16 08:31:50 UTC
Verified on Sat 6.12 snap 6

Comment 12 errata-xmlrpc 2022-11-16 13:33:45 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 (Important: Satellite 6.12 Release), 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-2022:8506

Comment 13 Red Hat Bugzilla 2023-09-18 04:34:21 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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