Bug 1872014
Summary: | Enable web console on host error in "Oops, we're sorry but something went wrong ERF42-5962 [Foreman::Exception]: No template mapped to feature Enable web console" | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Satyajit Das <sadas> | ||||||
Component: | Ansible - Configuration Management | Assignee: | Adam Ruzicka <aruzicka> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 6.8.0 | CC: | aruzicka, inecas, oezr, pcreech | ||||||
Target Milestone: | 6.8.0 | Keywords: | Triaged | ||||||
Target Release: | Unused | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | tfm-rubygem-foreman_ansible-5.1.3 | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2020-10-27 13:05:30 UTC | 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: | |||||||||
Attachments: |
|
Description
Satyajit Das
2020-08-24 20:30:35 UTC
Created attachment 1712435 [details]
Screenshot of the page from satellite GUI.
The web console is accessed by "web console" button in host details which sits somewhere between "bootdisk" and "schedule remote job" buttons. Because it is not there on the screenshot you provided, my guess would be you haven't enabled it when installing satellite. All the things in the dropdown under "schedule remote job" are REX/ansible jobs. "Enable web console" should install all the dependencies that are need for the web console to work on a given host using ansible. So yes, this is a bug, but a different one than you described. The mapping between features and templates probably got out of sync. Expected result: Ansible runs and installs some cockpit-* packages on the target host. (In reply to Adam Ruzicka from comment #2) > The web console is accessed by "web console" button in host details which > sits somewhere between "bootdisk" and "schedule remote job" buttons. Because > it is not there on the screenshot you provided, my guess would be you > haven't enabled it when installing satellite. > > All the things in the dropdown under "schedule remote job" are REX/ansible > jobs. "Enable web console" should install all the dependencies that are need > for the web console to work on a given host using ansible. So yes, this is a > bug, but a different one than you described. The mapping between features > and templates probably got out of sync. > > Expected result: > Ansible runs and installs some cockpit-* packages on the target host. ========================================================================== Hello Adam, Initially I was testing the Red Hat Web Console feature by following the steps from the below document link and it did not work ~~~~~~~~~~~~~~ https://access.redhat.com/documentation/en-us/red_hat_satellite/6.8-beta/html/managing_hosts/host_management_and_monitoring_using_red_hat_web_console ~~~~~~~~~~~~~~ Then, I found the bug(1837960), so I though a bug is already in place, however for "Enable web console" from dropdown near "schedule remote job", did not work and I did not find any bug reported for this, so reported the bug. let me know if the Web Console feature really works for 6.8 beta, as for me it's not working, however, I can access the cockpit-console of the client from my browser by pulling the URL https://client.example.com:9090/system Yes, it works. Judging by you not having the web console button on the screenshot you posted, it looks as if you haven't run "satellite-installer --enable-foreman-plugin-remote-execution-cockpit" on your satellite to actually enable the entire feature on satellite. Created attachment 1712541 [details]
Screenshot of the page from satellite GUI with Web Console.
I stand corrected, sorry about that. So what happens when you hit the "web console" button? Created redmine issue http://projects.theforeman.org/issues/30788 from this bug Upstream bug assigned to aruzicka Upstream bug assigned to aruzicka Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/30788 has been resolved. VERIFIED.
@Satellite 6.8.0 Snap16
tfm-rubygem-foreman_ansible-5.1.3-1.el7sat.noarch
by the following reproducer:
1) Navigate to Hosts -> All hosts
2) Select any host to see details
3) Click on "Enable web console" from dropdown near "Schedule remote job"
Job invocations > Service Action - Enable Web Console > Template Invocation for host.example.com
Target: host.example.com
1:
2:PLAY [all] *********************************************************************
3:
4:TASK [Gathering Facts] *********************************************************
5:ok: [host.example.com]
6:
7:TASK [ensure cockpit is installed] *********************************************
8:ok: [host.example.com]
9:PLAY RECAP *********************************************************************
10:host.example.com : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
11:Exit status: 0
>>> Service Action - Enable Web Console task finished successfully
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.8 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-2020:4366 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.8 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-2020:4366 |