Problem:
A freshly installed Smart Proxy is unable to sync because it reports the following error:
Oops, we're sorry but something went wrong Not all necessary pulp workers running at https://smartproxy.lont.htm.lan/pulp/api/v3.
When running foreman-maintain service status
on the system, it reports everything is running.
From what I was able to find on the forum in other posts is that it could have something to do the pulpcore-worker
service.
When looking on the system I can only see 1 of these services running:
[root@smartproxy ~]# systemctl status pulpcore-worker@* --all
● pulpcore-worker@1.service - Pulp Worker
Loaded: loaded (/etc/systemd/system/pulpcore-worker@.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2021-11-04 12:31:19 UTC; 7min ago
Main PID: 1016 (pulpcore-worker)
Tasks: 1 (limit: 36569)
Memory: 99.4M
CGroup: /system.slice/system-pulpcore\x2dworker.slice/pulpcore-worker@1.service
└─1016 /usr/libexec/platform-python /usr/bin/pulpcore-worker
Nov 04 12:31:19 smartproxy.lont.htm.lan systemd[1]: Started Pulp Worker.
Nov 04 12:31:38 smartproxy.lont.htm.lan pulpcore-worker-1[1016]: pulp [None]: pulpcore.tasking.entrypoint:INFO: Start>
Nov 04 12:31:38 smartproxy.lont.htm.lan pulpcore-worker-1[1016]: pulp [None]: pulpcore.tasking.worker_watcher:INFO:
And when I manually start pulpcore-worker@2
the problem goes away until the next reboot.
[root@smartproxy ~]# systemctl status pulpcore-worker@* --all
● pulpcore-worker@2.service - Pulp Worker
Loaded: loaded (/etc/systemd/system/pulpcore-worker@.service; disabled; vendor preset: disabled)
Active: active (running) since Thu 2021-11-04 12:40:05 UTC; 1s ago
Main PID: 1826 (pulpcore-worker)
Tasks: 1 (limit: 36569)
Memory: 44.0M
CGroup: /system.slice/system-pulpcore\x2dworker.slice/pulpcore-worker@2.service
└─1826 /usr/libexec/platform-python /usr/bin/pulpcore-worker
Nov 04 12:40:05 smartproxy.lont.htm.lan systemd[1]: Started Pulp Worker.
● pulpcore-worker@1.service - Pulp Worker
Loaded: loaded (/etc/systemd/system/pulpcore-worker@.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2021-11-04 12:31:19 UTC; 8min ago
Main PID: 1016 (pulpcore-worker)
Tasks: 1 (limit: 36569)
Memory: 99.4M
CGroup: /system.slice/system-pulpcore\x2dworker.slice/pulpcore-worker@1.service
└─1016 /usr/libexec/platform-python /usr/bin/pulpcore-worker
Nov 04 12:31:19 smartproxy.lont.htm.lan systemd[1]: Started Pulp Worker.
Nov 04 12:31:38 smartproxy.lont.htm.lan pulpcore-worker-1[1016]: pulp [None]: pulpcore.tasking.entrypoint:INFO: Starting distributed type worker
Nov 04 12:31:38 smartproxy.lont.htm.lan pulpcore-worker-1[1016]: pulp [None]: pulpcore.tasking.worker_watcher:INFO: New worker '1016@smartproxy.lont.htm.lan' discovered
What’s up with that?
Expected outcome:
Just work™
Foreman and Proxy versions: 3.0.1
Foreman and Proxy plugin versions: Katello 4.2.0.1
Distribution and version: Rocky 8.4
Other relevant data: