Hi Everyone,
These past few days, I have been trying to debug an issue that occurred several times.
The issue is that I am not able to connect with cockpit SSO plugin after reinstalling the server.
reinstallation is required occasionally for running tests.
Before reinstalling the server, I deleted the host from Foreman. (hammer host delete --id 79)
Please note that connecting directly with DNS/IP on 9090 port does work.
On the first installation of the server and connecting it to FOREMAN, I was able to log in with SSO plugin.
The cockpit package was also installed.
I have tried to zero in on the problem in different ways:
- Made sure that were not any duplicate DNS.
- Created a new network card.
- Didn’t see any login attempts on the designated server.
- Selinux disabled
- firewalld disabled
The versions I’m using:
FOREMAN - 3.3.0
Katello - 4.5.0
Copied logs from FOREMAN server:
Sep 05 00:51:55 sdl-foreman cockpit-ws[22093]: INFO: Running foreman-cockpit-session with settings from /etc/foreman/cockpit/foreman-cockpit-session.yml:
Sep 05 00:51:55 sdl-foreman cockpit-ws[22093]: {:foreman_url=>“https://sdl-foreman.ilntsur.loc”, :s sl_ca_file=>"/etc/pki/katello/certs/katello-server-ca.crt", :ssl_certificate=>"/etc/foreman/client_ cert.pem", :ssl_private_key=>"/etc/foreman/client_key.pem"}
Sep 05 00:51:55 sdl-foreman smart-proxy[1315]: 10.8.0.48 - - [05/Sep/2022:00:51:55 IDT] “GET /dynfl ow/tasks/count?state=running HTTP/1.1” 200 29
Sep 05 00:51:55 sdl-foreman smart-proxy[1315]: - → /dynflow/tasks/count?state=running
Sep 05 00:52:25 sdl-foreman cockpit-ws[1344]: foreman-cockpit-session: session timed out during authentication
Sep 05 00:52:25 sdl-foreman cockpit-ws[1344]: foreman-cockpit-session: authentication timed out
Any help will be much appreciated!
Thanks in advance,
Shay