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

[IBI] - The ignitionConfigOverride value under clusterinstance.spec is ignored with IBI operator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.17.0
    • LCA operator
    • None
    • None
    • False
    • Hide

      None

      Show
      None

      multicluster-engine.v2.7.0-86
      advanced-cluster-management.v2.12.0-76
      OCP 4.17.0-0.nightly-2024-09-16-082730

       oc get clusterinstances.siteconfig.open-cluster-management.io -A
      NAMESPACE   NAME     PROVISIONSTATUS   PROVISIONDETAILS         AGE
      elvis2      elvis2   Completed         Provisioning completed   13h
      
      
      oc get clusterinstances.siteconfig.open-cluster-management.io -n elvis2 elvis2 -o yaml
      apiVersion: siteconfig.open-cluster-management.io/v1alpha1
      kind: ClusterInstance
      metadata:
        creationTimestamp: "2024-09-19T00:52:43Z"
        finalizers:
        - clusterinstance.siteconfig.open-cluster-management.io/finalizer
        generation: 1
        name: elvis2
        namespace: elvis2
        resourceVersion: "2207966"
        uid: e2df6d48-cb1c-468c-ba2f-e95a4aaa04cd
      spec:
        additionalNTPSources:
        - clock.redhat.com
        - clock2.redhat.com
        baseDomain: qe.lab.redhat.com
        clusterImageSetNameRef: "4.17"
        clusterLabels:
          common: "true"
          sites: elvis2
        clusterName: elvis2
        clusterNetwork:
        - cidr: 10.128.0.0/14
          hostPrefix: 23
        cpuPartitioningMode: None
        extraAnnotations:
          ClusterDeployment:
            myTestAnnotation: success
        holdInstallation: false
        ignitionConfigOverride: '{"ignition": {"version":"3.2.0"},"storage": {"files": [{"path":
          "/etc/motd","mode": 420,"contents": {"source": "data:text/plain;base64,SGVsbG8gZWNvc3lzdGVtIFFFCg=="}}]
          }}'
        installConfigOverrides: '{"capabilities":{"baselineCapabilitySet": "None", "additionalEnabledCapabilities":
          [ "marketplace", "OperatorLifecycleManager", "Console", "NodeTuning", "Ingress",
          "ImageRegistry" ] }}'
        machineNetwork:
        - cidr: 192.168.123.0/24
        networkType: OVNKubernetes
        nodes:
        - automatedCleaningMode: disabled
          bmcAddress: redfish-virtualmedia+https://192.168.123.1:8000/redfish/v1/Systems/4a50b4a0-02c1-4cc5-ba80-8741b43583d1
          bmcCredentialsName:
            name: bmc-secret1
          bootMACAddress: 52:54:00:f7:d4:d1
          bootMode: UEFI
          hostName: elvis2.example.redhat.com
          ironicInspect: disabled
          nodeNetwork:
            config:
              dns-resolver:
                config:
                  server:
                  - 192.168.123.1
              interfaces:
              - ipv4:
                  address:
                  - ip: 192.168.123.142
                    prefix-length: 24
                  dhcp: false
                  enabled: true
                ipv6:
                  enabled: false
                mac-address: 52:54:00:f7:d4:d1
                name: enp5s0
                state: up
                type: ethernet
              routes:
                config:
                - destination: 0.0.0.0/0
                  next-hop-address: 192.168.123.1
                  next-hop-interface: enp5s0
                  table-id: 254
            interfaces:
            - macAddress: 52:54:00:f7:d4:d1
              name: enp5s0
          role: master
          rootDeviceHints:
            deviceName: /dev/sda
          templateRefs:
          - name: ibi-node-templates-v1
            namespace: rhacm
        pullSecretRef:
          name: pull-secret
        serviceNetwork:
        - cidr: 172.30.0.0/16
        sshPublicKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDjEQXbTauuwDKVeGyveSAIU77h1iZE5iMa8WzGSx2m+6khNqBMBih88Y4OShhsL0lT1pRPhvW8vyFbotkkCe5VNzvfHnUE8/PrRyIZnXv91oXjITHN2URixwEhqJESUCbizXCGfzN5LpJzQL8PCJTiuObIFqCYIke082/uGfx8u15gtJbSvt9/v6NbicOvVZya8fKKTs2ZAomAj2G33RW7PRRD3DV9kRl9sR8CLsdhX1SuNsmyksIXF/8LdGZNtqAft6pVcGE/iJE20f3rfqFxO7folUur0IQESciLHbCAtaAA9yTrBo20HvxP+PMQQUEFrv7isSUqBBtUroMRBWeiZIA7WEfH3aWIXM5rpMWBqlBFLi0jqNy4P36ynpQ58nm/7C+SF+j762nr1tuFANzuX4LZKLAfgqaMVQHbERsbrOSLlN42w3LJHG6s3fvX13RDI5NbUh8139bIpqfHMueC/q04CcrUiQZLLT15MxJ0CddmIzC2/55B7ZCp/5bc8H8=
          root@sealusa34.mobius.lab.eng.rdu2.redhat.com
        templateRefs:
        - name: ibi-cluster-templates-v1
          namespace: rhacm
      status:
        clusterDeploymentRef:
          name: elvis2
        conditions:
        - lastTransitionTime: "2024-09-19T00:52:43Z"
          message: Validation succeeded
          reason: Completed
          status: "True"
          type: ClusterInstanceValidated
        - lastTransitionTime: "2024-09-19T00:52:43Z"
          message: Rendered templates successfully
          reason: Completed
          status: "True"
          type: RenderedTemplates
        - lastTransitionTime: "2024-09-19T00:52:43Z"
          message: Rendered templates validation succeeded
          reason: Completed
          status: "True"
          type: RenderedTemplatesValidated
        - lastTransitionTime: "2024-09-19T00:52:43Z"
          message: Applied site config manifests
          reason: Completed
          status: "True"
          type: RenderedTemplatesApplied
        - lastTransitionTime: "2024-09-19T01:04:34Z"
          message: Provisioning completed
          reason: Completed
          status: "True"
          type: Provisioned
        deploymentConditions:
        - lastProbeTime: "2024-09-19T13:04:34Z"
          lastTransitionTime: "2024-09-19T00:52:43Z"
          message: inspection is disabled for BareMetalHost elvis2/elvis2.example.redhat.com,
            skip hardware validation
          reason: HostValidationSucceeded
          status: "True"
          type: ClusterInstallRequirementsMet
        - lastProbeTime: "2024-09-19T13:04:34Z"
          lastTransitionTime: "2024-09-19T00:52:43Z"
          message: Cluster installation has succeeded
          reason: ClusterInstallationSucceeded
          status: "True"
          type: ClusterInstallCompleted
        - lastProbeTime: "2024-09-19T13:04:34Z"
          lastTransitionTime: "2024-09-19T00:52:43Z"
          message: Cluster installation has succeeded
          reason: ClusterInstallationSucceeded
          status: "False"
          type: ClusterInstallFailed
        - lastProbeTime: "2024-09-19T13:04:34Z"
          lastTransitionTime: "2024-09-19T00:52:43Z"
          message: Cluster installation has succeeded
          reason: ClusterInstallationSucceeded
          status: "True"
          type: ClusterInstallStopped
        manifestsRendered:
        - apiGroup: metal3.io/v1alpha1
          kind: BareMetalHost
          lastAppliedTime: "2024-09-19T00:52:43Z"
          name: elvis2.example.redhat.com
          namespace: elvis2
          status: rendered
          syncWave: 1
        - apiGroup: hive.openshift.io/v1
          kind: ClusterDeployment
          lastAppliedTime: "2024-09-19T00:52:43Z"
          name: elvis2
          namespace: elvis2
          status: rendered
          syncWave: 1
        - apiGroup: extensions.hive.openshift.io/v1alpha1
          kind: ImageClusterInstall
          lastAppliedTime: "2024-09-19T00:52:43Z"
          name: elvis2
          namespace: elvis2
          status: rendered
          syncWave: 1
        - apiGroup: v1
          kind: Secret
          lastAppliedTime: "2024-09-19T00:52:43Z"
          name: elvis2.example.redhat.com
          namespace: elvis2
          status: rendered
          syncWave: 1
        - apiGroup: agent.open-cluster-management.io/v1
          kind: KlusterletAddonConfig
          lastAppliedTime: "2024-09-19T00:52:43Z"
          name: elvis2
          namespace: elvis2
          status: rendered
          syncWave: 2
        - apiGroup: cluster.open-cluster-management.io/v1
          kind: ManagedCluster
          lastAppliedTime: "2024-09-19T00:52:43Z"
          name: elvis2
          status: rendered
          syncWave: 2
        observedGeneration: 1
      
      
      oc get imageclusterinstalls.extensions.hive.openshift.io -n elvis2 elvis2 -o yaml
      apiVersion: extensions.hive.openshift.io/v1alpha1
      kind: ImageClusterInstall
      metadata:
        annotations:
          siteconfig.open-cluster-management.io/sync-wave: "1"
        creationTimestamp: "2024-09-19T00:52:43Z"
        finalizers:
        - imageclusterinstall.extensions.hive.openshift.io/deprovision
        generation: 2
        labels:
          siteconfig.open-cluster-management.io/owned-by: elvis2_elvis2
        name: elvis2
        namespace: elvis2
        ownerReferences:
        - apiVersion: siteconfig.open-cluster-management.io/v1alpha1
          blockOwnerDeletion: true
          controller: true
          kind: ClusterInstance
          name: elvis2
          uid: e2df6d48-cb1c-468c-ba2f-e95a4aaa04cd
        resourceVersion: "2207975"
        uid: c5c01ec2-b531-4983-8422-c2eb3ccfd4e8
      spec:
        bareMetalHostRef:
          name: elvis2.example.redhat.com
          namespace: elvis2
        clusterDeploymentRef:
          name: elvis2
        clusterMetadata:
          adminKubeconfigSecretRef:
            name: elvis2-admin-kubeconfig
          adminPasswordSecretRef:
            name: elvis2-admin-password
          clusterID: 367d95d6-dacb-43d4-8bc2-ca6cac1bf26d
          infraID: elvis2-l6hss
        hostname: elvis2.example.redhat.com
        imageSetRef:
          name: "4.17"
        sshKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDjEQXbTauuwDKVeGyveSAIU77h1iZE5iMa8WzGSx2m+6khNqBMBih88Y4OShhsL0lT1pRPhvW8vyFbotkkCe5VNzvfHnUE8/PrRyIZnXv91oXjITHN2URixwEhqJESUCbizXCGfzN5LpJzQL8PCJTiuObIFqCYIke082/uGfx8u15gtJbSvt9/v6NbicOvVZya8fKKTs2ZAomAj2G33RW7PRRD3DV9kRl9sR8CLsdhX1SuNsmyksIXF/8LdGZNtqAft6pVcGE/iJE20f3rfqFxO7folUur0IQESciLHbCAtaAA9yTrBo20HvxP+PMQQUEFrv7isSUqBBtUroMRBWeiZIA7WEfH3aWIXM5rpMWBqlBFLi0jqNy4P36ynpQ58nm/7C+SF+j762nr1tuFANzuX4LZKLAfgqaMVQHbERsbrOSLlN42w3LJHG6s3fvX13RDI5NbUh8139bIpqfHMueC/q04CcrUiQZLLT15MxJ0CddmIzC2/55B7ZCp/5bc8H8=
          root@sealusa34.mobius.lab.eng.rdu2.redhat.com
      status:
        bareMetalHostRef:
          name: elvis2.example.redhat.com
          namespace: elvis2
        bootTime: "2024-09-19T00:52:46Z"
        conditions:
        - lastProbeTime: "2024-09-19T13:04:34Z"
          lastTransitionTime: "2024-09-19T00:52:46Z"
          message: inspection is disabled for BareMetalHost elvis2/elvis2.example.redhat.com,
            skip hardware validation
          reason: HostValidationSucceeded
          status: "True"
          type: RequirementsMet
        - lastProbeTime: "2024-09-19T01:04:34Z"
          lastTransitionTime: "2024-09-19T01:04:34Z"
          message: Cluster installation has succeeded
          reason: ClusterInstallationSucceeded
          status: "True"
          type: Completed
        - lastProbeTime: "2024-09-19T01:04:34Z"
          lastTransitionTime: "2024-09-19T00:53:31Z"
          message: Cluster installation has succeeded
          reason: ClusterInstallationSucceeded
          status: "False"
          type: Failed
        - lastProbeTime: "2024-09-19T01:04:34Z"
          lastTransitionTime: "2024-09-19T01:04:34Z"
          message: Cluster installation has succeeded
          reason: ClusterInstallationSucceeded
          status: "True"
          type: Stopped
      
      

      If we don't plan to change it - we should at least document this.

              jche@redhat.com Jun Chen
              achuzhoy@redhat.com Alexander Chuzhoy
              Yang Liu Yang Liu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: