Today I’ve updated to Katello 4.1.4 on my Foreman 2.5.2 and now the foreman-maintain health check is constantly failing, telling that:
Check whether all services are running using the ping call: [FAIL]
Couldn’t connect to the server: undefined method `to_sym’ for nil:NilClass
Restarting the services then doesn’t change anything:
All services started
/ Try 1/5: checking status of hammer ping
Couldn’t connect to the server: undefined methodto_sym' for nil:NilClass | Try 2/5: checking status of hammer ping Couldn't connect to the server: undefined method
to_sym’ for nil:NilClass
in the foreman-maintain.log the failing service seem to be “katello_agent”:
D, [2021-10-01 08:03:48+0200 #30440] DEBUG – : Called /katello/api/ping
D, [2021-10-01 08:03:48+0200 #30440] DEBUG – : Response: 200, {“status”:“FAIL”,“services”:{“candlepin”:{“status”:“ok”,“duration_ms”:“28”},“candlepin_auth”:{“status”:“ok”,“duration_ms”:“65”},“foreman_tasks”:{“status”:“ok”,“duration_ms”:“7”},“katello_events”:{“status”:“ok”,“message”:“1 Processed, 0 Failed”,“duration_ms”:“0”},“candlepin_events”:{“status”:“ok”,“message”:“0 Processed, 0 Failed”,“duration_ms”:“0”},“pulp3”:{“status”:“ok”,“duration_ms”:“323”},“katello_agent”:{“status”:“FAIL”,“message”:“Not running”,“duration_ms”:“0”}}}
What’s wrong here??
Thanks!