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

Reclaim Space does not work for Capsules with "Inherit From Repository" download policy

XMLWordPrintable

    • False
    • Moderate
    • Sprint 141
    • sat-artemis
    • None
    • None
    • None
    • None

      Description of problem:
      See Summary and https://github.com/Katello/katello/blob/master/app/lib/actions/pulp3/capsule_content/reclaim_space.rb#L11-L13 .
       

      How reproducible:
      100%
       

      Steps to Reproduce:
      1. Have a Capsule with "Inherit From Repository" download policy
      2. Have a CV with two repos (one with On Demand, one with Immediate download policy) promoted to a LE associated to the Capsule
      3. Sync the Capsule
      4. Fetch a content from the On Demand repo in the CV/LE via the Capsule
      5. Run Reclaim Space for the Capsule.

      Actual behavior:
      5. Fails with error 'Only On Demand smart proxies may have space reclaimed.'.

      Expected behavior:
      5. to reclaim space of exactly the On Demand repo on Capsule.

      Business Impact / Additional info:

              Unassigned Unassigned
              rhn-support-pmoravec Pavel Moravec
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: