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

Clair failed to scan image vulnerability with Quay v3.4.4

    XMLWordPrintable

Details

    • 0

    Description

      Description of problem:

      Clair failed to scan image vulnerability with Quay v3.4.4

      Version-Release number of selected component (if applicable):

      'registry-proxy.engineering.redhat.com/rh-osbs/quay-clair-rhel8@sha256:7504652d7795d813eae5ac1df1fbc6945acdf6cd0216370298e0ff27524f17fd',
      'registry-proxy.engineering.redhat.com/rh-osbs/quay-clair-rhel8:v3.4.4-1'

      How reproducible:

      Always

      Steps to Reproduce:
      1. Deploy quay v3.4.2 with clair
      2. Push image registry.redhat.io/quay/quay-rhel8:v3.4.3 to quay, check image vulnerability
      3. Upgrade quay with clair to v3.4.3, check again

      4. Upgrade quay with clair to v3.4.4, check again

      Actual results:

      Unable to scan vulnerability

      Expected results:

      Show correct vulnerability

      Additional info:

      logs in clair

      {"level":"error","component":"init/NewHttpTransport","component":"libindex/Libindex.Index","manifest":"sha256:8619161ba64d4ca3c016dd06234da99b8bed01f334250311f6e300cac4aeebaa","component":"libindex/Libindex.index","component":"internal/indexer/controller/Controller.Index","manifest":"sha256:8619161ba64d4ca3c016dd06234da99b8bed01f334250311f6e300cac4aeebaa","state":"CheckManifest","error":"failed finish scann. attempt a rescan of the manifest: store:storeManifest failed to link manifest with scanner list: ERROR: duplicate key value violates unique constraint \"scanned_manifest_pkey\" (SQLSTATE 23505)","time":"2021-04-16T03:24:21Z","time":"2021-04-16T03:24:21Z","message":"error during scan"}

      Attachments

        1. clair-v3.4.4.log
          313 kB
          Dongbo Yan
        2. Screenshot from 2021-04-16 11-36-31.png
          36 kB
          Dongbo Yan

        Issue Links

          Activity

            People

              ldelossa Louis DeLosSantos (Inactive)
              rhn-support-dyan Dongbo Yan
              Dongbo Yan Dongbo Yan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: