Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-14248

case sensitivity causes errors for azure deployments done through clusterdeployments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • ACM 2.10.4, MCE 2.5.5
    • Hive
    • None
    • False
    • None
    • False
    • Important
    • None

      Description of problem:

      if not respecting the case sensitivity for cliendId in the secret the value will be reported as "missing in auth" in an error message

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

      rhacm 2.10

      How reproducible:

      customer environment

      Steps to Reproduce:

      1. create a clusterdeployment using for secret the form used in {1]
      2. deploy

      Actual results:

      deployment finishes but rhacm encounters a "clientId missing in auth" error

      Expected results:

      deployment finishes, noerror reported

      Additional info:

      {1] the secret used for this clusterdeployment looked like this :

      kind: Secret
      apiVersion: v1
      metadata:
        name: azure-service-principal
        namespace: 'acm-c-example3-str'
      stringData:
        osServicePrincipal.json: |-
          {
            "clientid":"REDACTED",
            "clientSecret":"REDACTED",
            "tenantid":"REDACTED",
            "subscriptionid":"REDACTED"
          }
      type: Opaque
      

              efried.openshift Eric Fried
              rhn-support-fdewaley Felix Dewaleyne
              Jianping Shu Jianping Shu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: