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

reclaim_space removes artifacts from all repo_versions

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

      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
            Clara Spealman Clara Spealman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: