Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-31312

machine-config-controller not logging enough details to triage the malformed certificate issue.

XMLWordPrintable

    • Important
    • No
    • 2
    • MCO Sprint 254
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      This is related  to  BUG [OCPBUGS-29459](https://issues.redhat.com/browse/OCPBUGS-29459), In addition to fixing this bug, we should fix the logging for machine-config-controller to throw the detailed warnings/error about the faulty malfomed certificate. For example which particular certificate is malformed and what is the actual issue with the malformed certificate for example: `x509: malformed algorithm identifier`,  `x509: invalid certificate policies` etc.
          

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

      
          

      How reproducible:

      
          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

      machine-config-controller just shows `Malformed Cert, not syncing` as Info msgs and is failling to log the details for the malformed certificate and it makes the triage/troubleshooting diffcult, its hard to guess what certificate has issue.
          

      Expected results:

      machine-config-controller to throw the detailed warnings with detailing which certificate has issue which makes the trouleshooting lot easier. And this should be either error or warnings not the info.
          

      Additional info:

      This is related to BUG [OCPBUGS-29459](https://issues.redhat.com/browse/OCPBUGS-29459)
          

            dkhater@redhat.com Dalia Khater
            rhn-support-nkashyap Nirupma Nirupma
            Sergio Regidor de la Rosa Sergio Regidor de la Rosa
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: