Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-28056

Regularly purge the Platform team Jenkins X Docker registry

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.1, 2021.0
    • Component/s: CI/CD

      Description

      As it's getting full very quickly with the number of images deployed for each PR and master branch on each repo, including the builders, nuxeo, ...

      Then we get "no space left on device" errors in the logs of the Docker registry pod, making Kaniko fail with an obscure error when trying to push:

      21:36:43  error checking push permissions -- make sure you entered the correct tag name, and that you are authenticated correctly, and try again: checking push permission for "10.63.253.90:5000/nuxeo/nuxeo:11.1-SNAPSHOT-PR-3334": UNKNOWN: unknown error; map[DriverName:filesystem Enclosed:map[Op:mkdir Path:/var/lib/registry/docker/registry/v2/repositories/nuxeo/nuxeo/_uploads/3dd1c7e8-69f5-42d7-8f34-1be4c33dee87 Err:28]]
      

      Waiting for an automatic cleanup, see NXBT-2991, let's use a cron job running a script to purge the images tagged and pushed from PRs.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ataillefer Antoine Taillefer
                Reporter:
                ataillefer Antoine Taillefer
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h