-
Bug
-
Resolution: Done
-
Critical
-
quay-v3.4.0
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:
- Login Quay and create new image repository
- Push imageA with tag name latest
- Push imageB with tag name amz
- Navigate to Image Repository Tags page, for imageA edit label , add new label, add new tag named nginx
- For imageB edit label , add new label, add new tag named aws-linux
- 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 }