Bug #30788
closedEnable 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"
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1872014
Description of problem:
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"
Version-Release number of selected component (if applicable):
satellite-6.8.0-0.7.beta.el7sat.noarch
How reproducible:
100%
Steps to Reproduce:
1.Navigate to Hosts -> All hosts
2.Click on any host to see details.
3.Click on "Enable web console" from dropdown near "schedule remote job"
Actual results:
Oops, we're sorry but something went wrong ERF42-5962 [Foreman::Exception]: No template mapped to feature Enable web console.
> /var/log/foreman/production.log <2020-08-25T01:58:45 [I|app|28ffd443] Started POST "/job_invocations?feature=ansible_enable_web_console&host_ids%5B%5D=6" for 127.0.0.1 at 2020-08-25 01:58:45 +0530
2020-08-25T01:58:45 [I|app|28ffd443] Processing by JobInvocationsController#create as HTML
2020-08-25T01:58:45 [I|app|28ffd443] Parameters: {"authenticity_token"=>"nLiaLNnW+Dwm+6OQnUSD+7H8NVho2q8s9sRF48nKuTtHdc9Z7fAzKuQ5+HTuxRvGs5fgauYXr0BtfdJYoFOKMw==", "feature"=>"ansible_enable_web_console", "host_ids"=>["6"]}
2020-08-25T01:58:45 [W|app|28ffd443] Action failed
2020-08-25T01:58:45 [I|app|28ffd443] Rendering common/500.html.erb within layouts/application
2020-08-25T01:58:45 [I|app|28ffd443] Rendered common/500.html.erb within layouts/application (Duration: 8.8ms | Allocations: 9516)
2020-08-25T01:58:45 [I|app|28ffd443] Rendered layouts/_application_content.html.erb (Duration: 3.7ms | Allocations: 6590)
2020-08-25T01:58:45 [I|app|28ffd443] Rendering layouts/base.html.erb
2020-08-25T01:58:45 [I|app|28ffd443] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_theme_satellite-6.0.1.3/app/views/foreman_theme_satellite/_theme_client_side_branding.js.erb (Duration: 3.7ms | Allocations: 6969)
2020-08-25T01:58:45 [I|app|28ffd443] Rendered layouts/base.html.erb (Duration: 10.0ms | Allocations: 15746)
2020-08-25T01:58:45 [I|app|28ffd443] Completed 500 Internal Server Error in 45ms (Views: 27.8ms | ActiveRecord: 3.1ms | Allocations: 43670) ========================================================
Expected results:
Should rendered the correct template to install and enable cockpit on the host.
Additional info:
Updated by The Foreman Bot over 3 years ago
- Status changed from New to Ready For Testing
- Assignee set to Adam Ruzicka
- Pull request https://github.com/theforeman/foreman_ansible/pull/361 added
Updated by Marek Hulán over 3 years ago
- Subject changed from 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" to 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"
- Fixed in Releases foreman_ansible-5.1.2 added
Updated by Anonymous over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_ansible|494b4f2ea6b9e63bf4be0dd10aeb089595ca1529.
Updated by Adam Ruzicka over 3 years ago
- Fixed in Releases foreman_ansible 5.1.3 added
- Fixed in Releases deleted (
foreman_ansible-5.1.2)