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

CSO failed to create imagemanifestvulns when pod name length is more than 63 characters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • quay-v3.10.0, quay-v3.9.5, quay-v3.8.14
    • False
    • None
    • False

      Description of problem:

      CSO failed to create imagemanifestvulns when pod name length is more than 63 characters

       

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

       quay-container-security-operator-bundle-container-v3.10.0-18

       

       

      How reproducible:

      Always

       

      Steps to Reproduce:
      1. Install CSO on OCP
      2. Create a pod name length is more than 63 characters
      3. Check CSO pod logs

       

       

      Actual Results:

      error in CSO pod logs:

      level=error msg="error scanning" err="error creating image manifest vuln: ImageManifestVuln.secscan.quay.redhat.com \"sha256.230409c22fdd48300d3dfa7069bfcdbfeedba031f943d5417f48847b25807968\" is invalid: metadata.labels: Invalid value: \"openshift-kube-scheduler/openshift-kube-scheduler-quaytest-1770-pps6d-master-0.c.openshift-qe.internal\": name part must be no more than 63 characters"
      Expected Results:

      Should create imagemanifestvulns without error

       
       
       

              Unassigned Unassigned
              rhn-support-dyan Dongbo Yan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: