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

Curling app cnr endpoint does not give correct response in certain situations

    XMLWordPrintable

Details

    • Quay Hosted
    • 0

    Description

      Curling the opencloudio application repository on Quay.io, which does not have any applications inside, yields the following error:

      # curl -v "https://quay.io/cnr/api/v1/packages?namespace=opencloudio"
      *   Trying 54.84.167.150...
      * TCP_NODELAY set
      * Expire in 149968 ms for 3 (transfer 0x55c83da28e80)
      * Expire in 200 ms for 4 (transfer 0x55c83da28e80)
      * Connected to quay.io (54.84.167.150) port 443 (#0)
      ...
      *  SSL certificate verify ok.
      * Using HTTP2, server supports multi-use
      * Connection state changed (HTTP/2 confirmed)
      * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
      * Using Stream ID: 1 (easy handle 0x55c83da28e80)
      > GET /cnr/api/v1/packages?namespace=opencloudio HTTP/2
      > Host: quay.io
      > User-Agent: curl/7.64.0
      > Accept: */*
      >
      * Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
      < HTTP/2 404
      < server: nginx/1.12.1
      < date: Mon, 08 Jun 2020 08:52:23 GMT
      < content-type: application/json
      < content-length: 249
      <
      {"error":{"code":"package-not-found","details":{"media_type":null,"package":"opencloudio/f6a54c25-dc8b-441c-8ba0-3cf4fff6236c","release":null},"message":"package opencloudio/f6a54c25-dc8b-441c-8ba0-3cf4fff6236c doesn't exist, v: None, type: None"}}
      * Connection #0 to host quay.io left intact
      

      The correct response should be an empty list. I first thought this was a problem with garbage collection but I can't reproduce it on my own standalone Quay. Can you please check?

      Attachments

        Activity

          People

            kmullins@redhat.com Kurtis Mullins (Inactive)
            rhn-support-ibazulic Ivan Bazulic
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: