Problem:
Cockpit Icon in Foreman is not visible
Expected outcome:
Cockpit Icon should be visible in the host section
Foreman and Proxy versions:
foreman-debug-1.18.2-1.el7.noarch
foreman-1.18.2-1.el7.noarch
foreman-release-1.18.2-1.el7.noarch
foreman-installer-1.18.2-1.el7.noarch
foreman-release-scl-7-1.el7.noarch
foreman-postgresql-1.18.2-1.el7.noarch
foreman-proxy-1.18.2-1.el7.noarch
tfm-rubygem-foreman_cockpit-2.0.3-3.fm1_18.el7.noarch
foreman-cli-1.18.2-1.el7.noarch
foreman-selinux-1.18.2-1.el7.noarch
OS: CentOS Linux release 7.5.1804 (Core)
Foreman and Proxy plugin versions:
Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]
Hi,
I installed Foreman 1.18 and the Foreman Cockpit plugin. Cockpit is also running on the Foreman host.
The Cockpit GUI is working fine and the Foreman Gui seems also have no problem.
If i go under the Hosts and click on the Foreman host in the gui, the Cockpit Icon is missing. I did all steps based on the documentation. I am search a lot in the Internet about this Problem and found some issues which are related to a Foreman + katello Installation which have port conflicts (9090). But i have no katello installed. The Foreman Proxy is not running on this port. I also tried to change the Cockpit port and configfiles of Foreman to use the port 9091 for Cockpit. This modification not solve the issue.
iptables is also disabled on this Hosts.
The only warning i found in the production logfile. But i am sure if this is related to that issue:
2018-09-17T09:42:43 [I|app|57989] Completed 201 Created in 136ms (Views: 13.9ms | ActiveRecord: 32.4ms)
2018-09-17T10:00:06 [W|app|] ForemanCockpit: skipping engine hook (undefined method alias_method_chain' for HostsHelper:Module Did you mean? alias_method) 2018-09-17T10:00:06 [I|dyn|] start terminating throttle_limiter... 2018-09-17T10:00:06 [I|dyn|] start terminating client dispatcher... 2018-09-17T10:00:06 [I|dyn|] stop listening for new events... 2018-09-17T10:00:06 [W|app|] ForemanCockpit: skipping engine hook (undefined method
alias_method_chain’ for HostsHelper:Module
Did you mean? alias_method)
2018-09-17T10:00:06 [I|dyn|] start terminating clock…
2018-09-17T10:00:06 [I|dyn|] start terminating throttle_limiter…
2018-09-17T10:00:06 [I|dyn|] start terminating client dispatcher…
I also tried to do a Setup with the newer Foreman Version 1.19, but it is still the same behavior.
Hope someone can help me to solve this issue.
br
Michael