Problem:
Upgrade
Foreman 2.2 to 2.3
Katello from 3.17.1 to 3.18 fails.
2021-01-11 19:35:13 [ERROR ] [configure] Systemd start for pulpcore-api.socket failed!
2021-01-11 19:35:13 [ERROR ] [configure] journalctl log for pulpcore-api.socket:
2021-01-11 19:35:13 [ERROR ] [configure] -- Logs begin at Mon 2021-01-11 19:31:26 CET, end at Mon 2021-01-11 19:35:13 CET. --
2021-01-11 19:35:13 [ERROR ] [configure] Jan 11 19:35:13 lnxvib0063.internal.draexlmaier.com systemd[1]: Socket service pulpcore-api.service already active, refusing.
2021-01-11 19:35:13 [ERROR ] [configure] Jan 11 19:35:13 lnxvib0063.internal.draexlmaier.com systemd[1]: Failed to listen on Pulp API Server socket.
2021-01-11 19:35:13 [ERROR ] [configure] /Stage[main]/Pulpcore::Service/Systemd::Unit_file[pulpcore-api.socket]/Service[pulpcore-api.socket]/ensure: change from 'stopped' to 'running' failed: Systemd start for pulpcore-api.socket failed!
2021-01-11 19:35:13 [ERROR ] [configure] journalctl log for pulpcore-api.socket:
2021-01-11 19:35:13 [ERROR ] [configure] -- Logs begin at Mon 2021-01-11 19:31:26 CET, end at Mon 2021-01-11 19:35:13 CET. --
2021-01-11 19:35:13 [ERROR ] [configure] Jan 11 19:35:13 lnxvib0063.internal.draexlmaier.com systemd[1]: Socket service pulpcore-api.service already active, refusing.
2021-01-11 19:35:13 [ERROR ] [configure] Jan 11 19:35:13 lnxvib0063.internal.draexlmaier.com systemd[1]: Failed to listen on Pulp API Server socket.
2021-01-11 19:35:13 [ERROR ] [configure] Systemd start for pulpcore-content.socket failed!
2021-01-11 19:35:13 [ERROR ] [configure] journalctl log for pulpcore-content.socket:
2021-01-11 19:35:13 [ERROR ] [configure] -- Logs begin at Mon 2021-01-11 19:31:26 CET, end at Mon 2021-01-11 19:35:13 CET. --
2021-01-11 19:35:13 [ERROR ] [configure] Jan 11 19:35:13 lnxvib0063.internal.draexlmaier.com systemd[1]: Socket service pulpcore-content.service already active, refusing.
2021-01-11 19:35:13 [ERROR ] [configure] Jan 11 19:35:13 lnxvib0063.internal.draexlmaier.com systemd[1]: Failed to listen on Pulp Content App socket.
2021-01-11 19:35:13 [ERROR ] [configure] /Stage[main]/Pulpcore::Service/Systemd::Unit_file[pulpcore-content.socket]/Service[pulpcore-content.socket]/ensure: change from 'stopped' to 'running' failed: Systemd start for pulpcore-content.socket failed!
2021-01-11 19:35:13 [ERROR ] [configure] journalctl log for pulpcore-content.socket:
2021-01-11 19:35:13 [ERROR ] [configure] -- Logs begin at Mon 2021-01-11 19:31:26 CET, end at Mon 2021-01-11 19:35:13 CET. --
2021-01-11 19:35:13 [ERROR ] [configure] Jan 11 19:35:13 lnxvib0063.internal.draexlmaier.com systemd[1]: Socket service pulpcore-content.service already active, refusing.
2021-01-11 19:35:13 [ERROR ] [configure] Jan 11 19:35:13 lnxvib0063.internal.draexlmaier.com systemd[1]: Failed to listen on Pulp Content App socket.
2021-01-11 19:35:15 [NOTICE] [configure] 2300 out of 2303 done.
2021-01-11 19:35:17 [NOTICE] [configure] System configuration has finished.
2021-01-11 19:35:17 [NOTICE] [post] Executing hooks in group post
After turning off those sockets and running foreman-install.
2021-01-11 19:40:25 [ERROR ] [configure] Proxy lnxvib0063.internal.draexlmaier.com has failed to load one or more features (Registration), check /var/log/foreman-proxy/proxy.log for configuration errors
2021-01-11 19:40:25 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[lnxvib0063]/features: change from ["Dynflow", "HTTPBoot", "Logs", "Pulp", "Pulpcore", "Puppet", "Puppet CA", "SSH", "TFTP", "Templates"] to ["Dynflow", "HTTPBoot", "Logs", "Pulp", "Pulpcore", "Puppet", "Puppet CA", "Registration", "SSH", "TFTP", "Templates"] failed: Proxy lnxvib0063 has failed to load one or more features (Registration), check /var/log/foreman-proxy/proxy.log for configuration errors
[root@lnxvib0063 ~]# curl https://lnxvib0063:9090/features
[“dynflow”,“httpboot”,“logs”,“pulp”,“pulpcore”,“puppet”,“puppetca”,“ssh”,“templates”,“tftp”]
It seems registration is missing.
Expected outcome:
foreman-installer successfully upgraded the software
Distribution and version:
RedHat 7.9
Other relevant data:
The installer exists with error but foreman looks like it’s updated…
Ticket is a duplicate of Proxy has failed to load one or more features (Registration) after upgrade ot 2.3.0 - Support - TheForeman