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

If an image scan fails due to clair pod crashing, the image is marked as failed and never rescheduled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • quay-v3.6.2
    • clair, quay
    • 0

    Description

      There is a logic bug in this section of code:

      https://github.com/quay/quay/blob/master/data/secscan_model/secscan_v4_model.py#L293-L313

      If clair crashes during the the scan, the image is marked as failed in the database and is never rescheduled for scan, again, requiring the quay admin to update the database manually to force the rescan.

      rhn-support-dshumake may have more details/insight.

      Attachments

        1. quay-db-dive.tgz
          43.99 MB
          Daniel Yocum
        2. Screenshot from 2022-01-11 13-21-42.png
          2.65 MB
          Daniel Yocum
        3. Screenshot from 2022-01-11 13-22-05.png
          2.07 MB
          Daniel Yocum
        4. stage.clair-notifier-5dd879ff7b-2cnpj.log
          5.18 MB
          Devon Shumaker

        Activity

          People

            jcroslan@redhat.com Joseph Crosland
            rhn-support-dyocum Daniel Yocum
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: