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

Deleted quay tags not shown in tag history UI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      We hit a weird issue in an upstream project. We accidentally deleted some tags recently that we shouldn't have.

       

      What was odd, though, was that the web UI (neither old or new interface) showed the deleted tag in the tag history, which means it couldn't be restored via the UI even though the 7 day time machine window hadn't closed.

       

      For the original tag `quay.io/fedora/fedora-coreos:42.20250526.1.0` I was able to restore it using the API as instructed by rhn-support-ibazulic.

      tag='42.20250526.1.0'
      curl -X POST -H "Authorization: Bearer YOUR_QUAY_API_TOKEN_HERE" \
        -H "Content-type: application/json" \
        -d '{"manifest_digest":"sha256:5ca45656bd7dc2ee40adf01ba28a1eb9bbb7f6acc28daa2b6c4d23093210a17b"}' \
        "https://quay.io/api/v1/repository/fedora/fedora-coreos/tag/${tag}/restore"
      

      Though it is apparently a bug that this wasn't shown in the web UI as an option.

      I've restored that specific tag, but there are other tags for us to investigate in the remaining time window we have left of the 7 days to try to find the root cause of this UI issue. Here is one of them:

          {                                                                                       
            "kind": "delete_tag",                                                                 
            "metadata": {                                                                         
              "repo": "fedora-coreos",                                                            
              "namespace": "fedora",                                                              
              "user-agent": "skopeo/1.20.0",                                                      
              "tag": "42.20250526.3.0",                                                           
              "digest": "sha256:268cae42c6cfa4aa504ed185de9f78c8306206d6605f607b6256d5e0bcef5969",
              "username": "fedora+fcos",                                                          
              "is_robot": true,                                                                   
              "resolved_ip": {                                                                    
                "provider": "internet",                                                           
                "service": "US",                                                                  
                "sync_token": "1754612673",                                                       
                "country_iso_code": "US",                                                         
                "aws_region": null,                                                               
                "continent": "NA"                                                                 
              }                                                                                   
            },                                                                                    
            "ip": "38.145.32.3",                                                                  
            "datetime": "Wed, 03 Sep 2025 18:06:40 -0000",                                        
            "performer": {                                                                        
              "kind": "user",                                                                     
              "name": "fedora+fcos",                                                              
              "is_robot": true,                                                                   
              "avatar": {                                                                         
                "name": "fedora+fcos",                                                            
                "hash": "df4350a86e93ca84a692d41eec6a755e",                                       
                "color": "#a55194",                                                               
                "kind": "robot"                                                                   
              }                                                                                   
            }                                                                                     
          },                                                                                      
      

      This delete event for`42.20250526.3.0` doesn't show up in the tag history UI, but it was deleted on 09/03.

              Unassigned Unassigned
              rhn-gps-dmabe Dusty Mabe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: