Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-9887

Delete and repush tag it remembers previous "Last Pulled" and "Pull Count" data

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • quay-v3.16.0
    • quay
    • False
    • Hide

      None

      Show
      None
    • False

      Description:

      Delete a image and push again, Image pull activity is rely on Time Machine, which maybe confused

      Quay: stable-3-16-v4-19

       

      Steps:

      1. Create testorg/testrepo, Set org Time machine:14d,  and push a image tag eg. redis
      2. Pull the redis by tag, like Pull Count=2
      3. Select redis, Actions->Remove -> Delete
      4. Wait 1 hour (<Time machine) and push same redis image to testrepo

      Result:

      the redis Pull Count = 2, Last Pulled is previous date

      Question is, when image DELETED, should it be start over? User definitely can't remember which tag has been removed in 14 days.

      If Time machine: 30s, manifest quickly permanent delete,  then wait for 1m, and repush Pull Count=0 which is correct

      Quay Config:  

      DEFAULT_TAG_EXPIRATION: "2w"
      TAG_EXPIRATION_OPTIONS:
      - 2w
      - 5m
      - 30s
      FEATURE_IMAGE_PULL_STATS: true
      REDIS_FLUSH_INTERVAL_SECONDS: 30
      PULL_METRICS_REDIS:
          host: quayregistry-quay-redis
          port: 6379
          db: 1

              Unassigned Unassigned
              szhao@redhat.com Sean Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: