Bug 2225333

Summary: Blank Screen is displayed while opening the web console of registered client host via Satellite WebUI
Product: Red Hat Satellite Reporter: Jayant Bhatia <jbhatia>
Component: HostsAssignee: Adam Ruzicka <aruzicka>
Status: VERIFIED --- QA Contact: Peter Ondrejka <pondrejk>
Severity: high Docs Contact:
Priority: high    
Version: 6.14.0CC: aruzicka, pcreech, rlavi
Target Milestone: 6.14.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-foreman_remote_execution-10.0.5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jayant Bhatia 2023-07-25 01:32:02 UTC
Description of problem:

While launching the web console of registered client host via Satellite WebUI, blank page opens up and web console dashboard page of the host does not open.


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


How reproducible: Always


Steps to Reproduce:
1. Build a RHEL-9 machine and register it with Satellite.

2. Run below command on the registered RHEL-9 client host.
 
       # yum install cockpit

       # systemctl enable --now cockpit.socket

       # firewall-cmd --add-service=cockpit --permanent

       # firewall-cmd --reload

3. Run below command on Satellite machine.

       # satellite-installer --enable-foreman-plugin-remote-execution-cockpit

4. Navigate to Satellite WebUI -> Hosts -> All Hosts -> Click on the name of registered client host -> Click on 3 dots at top right corner -> Click on "Web Console". 


Actual results: A new completely blank web page gets opened.


Expected results: Red Hat web console dashboard of the host should get opened instead of blank page.


Additional info: The Red Hat web console dashboard of the host can be opened successfully manually using URL: "https://client.example.com:9090"

Comment 6 Adam Ruzicka 2023-07-26 07:53:36 UTC
There seems to be something wrong with your external capsule. If I turn it off (and thus force the connection to go through internal capsule), it works just fine.

Comment 11 Adam Ruzicka 2023-07-28 11:46:05 UTC
Created redmine issue https://projects.theforeman.org/issues/36619 from this bug

Comment 13 Peter Ondrejka 2023-08-09 09:47:20 UTC
Verified on Satellite 6.14 snap 10, the web console is now displayed correctly for a rhel 9 host