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

case sensitivity causes errors for azure deployments done through clusterdeployments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • MCE 2.4.6
    • ACM 2.10.4, MCE 2.5.5
    • Cluster Lifecycle
    • 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
      

              rhn-support-dhuynh David Huynh
              rhn-support-fdewaley Felix Dewaleyne
              David Huynh David Huynh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: