Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-1389

reclaim_space removes artifacts from all repo_versions

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • cloud-2022-04-12
    • None
    • None
    • None
    • False
    • False
    • None

      Reading the code, reclaim space is triggered with image removal. This leads to artifacts removal from the whole repo, including last version, since keeplist_rv is not specified.

       

      https://github.com/ansible/galaxy_ng/blob/master/galaxy_ng/app/tasks/deletion.py#L86

      https://github.com/ansible/galaxy_ng/blob/master/galaxy_ng/app/api/ui/viewsets/execution_environment.py#L278

       

      https://github.com/pulp/pulpcore/blob/main/pulpcore/app/tasks/reclaim_space.py#L21

       

              bmclaugh@redhat.com Brian McLaughlin
              rhn-engineering-ipanova Ina Panova (Inactive)
              Archiver:
              ranumula@redhat.com Raju Anumula
              Clara Spealman Clara Spealman (Inactive)

                Created:
                Updated:
                Resolved:
                Archived: