pulp / pulp_container

Pulp Container Registry
https://docs.pulpproject.org/pulp_container/
GNU General Public License v2.0
23 stars 44 forks source link

As a user I can re-upload artifacts if the file has gone missing or corrupted #477

Closed pulpbot closed 11 months ago

pulpbot commented 2 years ago

Author: @ipanova (ipanova@redhat.com)

Redmine Issue: 7790, https://pulp.plan.io/issues/7790


If an artifact has gone missing or corrupted(bit rot) there is no way to re-upload it back to the filesystem

  1. push an image with 'podman push'
  2. rm /var/lib/pulp/artifacts/ or corrupt it
  3. push same image with 'podman push'
  4. file is still missing/corrupted

Same stands for the oci image builder feature

While we have /repair/ endpoint it will not work for these operations since there is not remoteartifact.

lubosmj commented 11 months ago

Closing in favour of https://github.com/pulp/pulp_container/issues/1288. Manifests will be artifactless in the future.