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

Cluster creation: spec.iamPolicyController is missing in KlusterletAddonConfig CR

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • ACM 2.11.0
    • GRC
    • False
    • None
    • False
    • Yes
    • Critical

      Description of problem:

      when creating a new cluster via UI, there is an error that appears:

      KlusterletAddonConfig.agent.open-cluster-management.io "clc-test02" is invalid: spec.iamPolicyController: Required value 

      Upon looking at the yaml, we can see that this value is missing by default:

      apiVersion: agent.open-cluster-management.io/v1
      kind: KlusterletAddonConfig
      metadata:
        name: 'clc-test02'
        namespace: 'clc-test02'
      spec:
        clusterName: 'clc-test02'
        clusterNamespace: 'clc-test02'
        clusterLabels:
          cloud: Amazon
          vendor: OpenShift
        applicationManager:
          enabled: true
        policyController:
          enabled: true
        searchCollector:
          enabled: true
        certPolicyController:
          enabled: true 

       

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

      ACM 2.11.0-DOWNSTREAM-2024-04-24-05-52-15

      How reproducible:

      always

      Steps to Reproduce:

      1. click create cluster
      2. go through creation wizard
      3. hit create, see error

      Actual results:

      Expected results:

      Additional info:

      Workaround: Adding iamPolicyController: enabled: true allows cluster creation to work as expected.

            yikim@redhat.com Yi Rae Kim
            rhn-support-dhuynh David Huynh
            Derek Ho Derek Ho
            ACM QE Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: