-
Bug
-
Resolution: Not a Bug
-
Normal
-
None
-
6.15.5.5, 6.16.5.4, 6.17.5
-
None
-
False
-
sat-endeavour
-
None
-
None
-
None
-
None
Description of problem:
When specifying a Smart Proxy ID (for example, to remove orphans only from the Satellite server), the command still executes orphan removal on all Capsules and the Satellite instead of the targeted smart_proxy.
How reproducible:
100%
Is this issue a regression from an earlier version:
Yes
Steps to Reproduce:
1. Deploy a Red Hat Satellite 6 environment with at least one Capsule server.
2. Attempt to run orphan cleanup only on the Satellite server using the SMART_PROXY_ID parameter:
# SMART_PROXY_ID=1 foreman-rake katello:delete_orphaned_content RAILS_ENV=production >/dev/null
3. Observe that the task is executed on the Satellite and all Capsule servers, ignoring the specified SMART_PROXY_ID.
Actual behavior:
The task runs on all (Satellite and Capsules), disregarding the provided SMART_PROXY_ID parameter.
Expected behavior:
The task should respect the SMART_PROXY_ID parameter and execute orphan cleanup only on the specified Smart Proxy.
Business Impact / Additional info:
In Red Hat Satellite 6.14, SMART_PROXY_ID parameter is working as expected.
Affected versions are Red Hat Satellite 6.15 and above.