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

Quay image repository Tags page can't display existing image tags

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • quay-v3.4.0
    • quay-v3.4.0
    • quay

      Description:

      This is an issue found when push multiple images to new Quay image repository, after edit labels, add new tags to existing image tag, then can't see all existing image tags on Tags tab page, checked Quay POD logs, found when loading page ".../repository/quay/demo?tab=tags", Quay actually invoke API "/api/v1/repository/quay/demo/build/?limit=3", actually Quay UI should invoke Quay API "/api/v1/repository/quay/demo/tag/", also checked usages logs and tag history, all operations are existed and correct. 

      Note: QE reproduced this issue in two ENV with quay image "quay.io/projectquay/quay:50ba6130"

      Refer to Quay POD Logs and screenshots.

      nginx stdout | 10.131.0.5 () - - [11/Aug/2020:02:36:04 +0000] "GET /api/v1/repository/quay/demo/build/?limit=3 HTTP/2.0" 200 15 "https://demo-quayecosystem-quay-quay-enterprise.apps.quay-294.qe.devcluster.openshift.com/repository/quay/demo?tab=tags" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Firefox/68.0" (0.034 424 0.035)
      

       

      Quay Image: quay.io/projectquay/quay:50ba6130

      Steps:

      1. Login Quay and create new image repository
      2. Push imageA with tag name latest
      3. Push imageB with tag name amz
      4. Navigate to Image Repository Tags page, for imageA edit label , add new label, add new tag named  nginx
      5. For imageB edit label , add new label, add new tag named aws-linux
      6. refresh Tags page

      Expected Results:

      All image tags should be displayed correctly.

      Actual Results:

      No tags can be displayed here.

      Checked Quay API, can show all tags correctly for target image repository.

      curl https://demo-quayecosystem-quay-quay-enterprise.apps.quay-294.qe.devcluster.openshift.com/api/v1/repository/quay/demo/tag/ -k | jq
      {
        "tags": [
          {
            "name": "aws-linux",
            "reversion": false,
            "start_ts": 1597068228,
            "manifest_digest": "sha256:1481659e18042055e174f9f5e61998bf7ab57f8c9432f3c9412a56d116cc0c68",
            "is_manifest_list": false,
            "size": 61716540,
            "docker_image_id": "be3e4a5769a324347abd4eb36272e5948e2068b3a6dda975526e97deb5b629d4",
            "image_id": "be3e4a5769a324347abd4eb36272e5948e2068b3a6dda975526e97deb5b629d4",
            "last_modified": "Mon, 10 Aug 2020 14:03:48 -0000"
          },
          {
            "name": "nginx",
            "reversion": false,
            "start_ts": 1597068203,
            "manifest_digest": "sha256:a5a1e8e5148de5ebc9697b64e4edb2296b5aac1f05def82efdc00ccb7b457171",
            "is_manifest_list": false,
            "size": 53430460,
            "docker_image_id": "e942593795b6de3745b95abd2e426bd9857c48a537e36947ad26e72a346dbea3",
            "image_id": "e942593795b6de3745b95abd2e426bd9857c48a537e36947ad26e72a346dbea3",
            "last_modified": "Mon, 10 Aug 2020 14:03:23 -0000"
          },
          {
            "name": "amz",
            "reversion": false,
            "start_ts": 1597068170,
            "manifest_digest": "sha256:1481659e18042055e174f9f5e61998bf7ab57f8c9432f3c9412a56d116cc0c68",
            "is_manifest_list": false,
            "size": 61716540,
            "docker_image_id": "be3e4a5769a324347abd4eb36272e5948e2068b3a6dda975526e97deb5b629d4",
            "image_id": "be3e4a5769a324347abd4eb36272e5948e2068b3a6dda975526e97deb5b629d4",
            "last_modified": "Mon, 10 Aug 2020 14:02:50 -0000"
          },
          {
            "name": "latest",
            "reversion": false,
            "start_ts": 1597068092,
            "manifest_digest": "sha256:a5a1e8e5148de5ebc9697b64e4edb2296b5aac1f05def82efdc00ccb7b457171",
            "is_manifest_list": false,
            "size": 53430460,
            "docker_image_id": "e942593795b6de3745b95abd2e426bd9857c48a537e36947ad26e72a346dbea3",
            "image_id": "e942593795b6de3745b95abd2e426bd9857c48a537e36947ad26e72a346dbea3",
            "last_modified": "Mon, 10 Aug 2020 14:01:32 -0000"
          }
        ],
        "page": 1,
        "has_additional": false
      }
      

       

        1. image-2020-08-20-14-51-20-117.png
          image-2020-08-20-14-51-20-117.png
          240 kB
        2. image-2020-08-20-14-50-18-874.png
          image-2020-08-20-14-50-18-874.png
          351 kB
        3. quaypython3-aws.log
          19.59 MB
        4. Image repository usage logs page.png
          Image repository usage logs page.png
          311 kB
        5. Image repository tag history.png
          Image repository tag history.png
          306 kB
        6. Image repository Tags Page.png
          Image repository Tags Page.png
          239 kB

              sleesinc Kenny Lee Sin Cheong
              lzha1981 luffy zhang
              luffy zhang luffy zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: