Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-39224

[Bug] remove orphans command ignores SMART_PROXY_ID parameter on Satellite server.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Normal Normal
    • None
    • 6.15.5.5, 6.16.5.4, 6.17.5
    • Foreman Proxy, Pulp
    • 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.

              Unassigned Unassigned
              rhn-support-dhjoshi Dhaval Joshi
              Dhaval Joshi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: