Expected outcome: Upload package profile for a host is working
Foreman and Proxy versions: foremanctl-3.0.0.develop-4.20260806191135884226
Foreman and Proxy plugin versions:
Distribution and version:
Other relevant data: Rocky Linux release 10.2
Hi everyone,
After pulling the latest images using foremanctl pull-images and subsequently running foremanctl deploy --add-feature foreman-proxy --add-feature remote-execution --add-feature hammer, the “Upload package profile for a host” function no longer works. I only see the following message:
1: Error initializing command: RuntimeError - No such file or directory -sshpass
2: Exit status: EXCEPTION
3: StandardError: Job execution failed
It fails regardless of which host I select. And sshpass is installed on the respective hosts.
I noticed that sshpass is active within the Foreman container but is missing from the Foreman-Proxy container.
I would expect sshpass to be present in the Foreman-Proxy container, though please correct me if I am mistaken.
Does anyone know where the problem might lie?
I tried bootc, commands, and katello from the “Job category,” but none of them worked.
Yes, after running foremanctl pull-images, I always ran the following command: foremanctl deploy --add-feature foreman-proxy --add-feature remote-execution --add-feature hammer—which, until now, had always yielded the desired result.
Great. We did end up injecting the package differently (via a packaging dependency, not an explicit installation in the Containerfile), but the result will be the same.