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

Quota doesn't compute multi-arch images

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • quay-v3.8.4
    • quay

      If I have an image with multiple architectures, quay doesn't compute their total size to the Quota.

      Why?
      Probably due to a bug when doing the used size:
      A multi-arch image is defined using a mediatype = 16 ( application/vnd.docker.distribution.manifest.list.v2+json ) so then the UI can iterate over the different mediatypes listed in the manifest and get the right layer (every layer is an image for an specific arch ). The layers has a right size field but probably the quota is expecting a mediatype = 15 ( or 13 ) to add the image to the uses space.

      As we can not know the space used and the quota is not working for a multi-arch repository, it can grows without limit and fill the disk space

        1. Captura de pantalla 2023-03-20 a las 17.06.00.png
          80 kB
          Fernando Jordan Silva
        2. Captura de pantalla 2023-03-20 a las 17.08.22.png
          62 kB
          Fernando Jordan Silva
        3. image-2023-06-26-15-03-40-115.png
          128 kB
          Sean Zhao

              bcaton@redhat.com Brandon Caton
              rhosd_fjordans Fernando Jordan Silva
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: