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

Default Installation Templates are not updated when SiteConfig operator is upgraded

XMLWordPrintable

    • None

      Description of problem:

      Running the latest SiteConfig operator from ACM 2.13 the wave annotation on BMH CRs remains 1 even though the operator should be creating them with wave 3.

       
      Cluster redeployed w/ ClusterInstance (clean env, no cluster ns or clusterinstance).
       

      $ oc get bmh -o yaml | grep wave
      siteconfig.open-cluster-management.io/sync-wave: "1" 
      siteconfig.open-cluster-management.io/sync-wave: "1" 
      siteconfig.open-cluster-management.io/sync-wave: "1" 
      siteconfig.open-cluster-management.io/sync-wave: "1" 
      siteconfig.open-cluster-management.io/sync-wave: "1" 
      siteconfig.open-cluster-management.io/sync-wave: "1" 
      siteconfig.open-cluster-management.io/sync-wave: "1" 
      siteconfig.open-cluster-management.io/sync-wave: "1" 
      siteconfig.open-cluster-management.io/sync-wave: "1" 
      siteconfig.open-cluster-management.io/sync-wave: "1" 
      siteconfig.open-cluster-management.io/sync-wave: "1" 
      siteconfig.open-cluster-management.io/sync-wave: "1" 
      siteconfig.open-cluster-management.io/sync-wave: "1" 
      siteconfig.open-cluster-management.io/sync-wave: "1" 
      siteconfig.open-cluster-management.io/sync-wave: "1"
      

      ACM 2.13:

       
      $ oc get csv -n open-cluster-management 
      NAME DISPLAY VERSION REPLACES PHASE 
      advanced-cluster-management.v2.13.2 Advanced Cluster Management for Kubernetes 2.13.2 advanced-cluster-management.v2.12.2 Succeeded 
      openshift-gitops-operator.v1.15.1 Red Hat OpenShift GitOps 1.15.1 openshift-gitops-operator.v1.15.0-0.1738074324.p Succeeded 
      topology-aware-lifecycle-manager.v4.18.0 Topology Aware Lifecycle Manager 4.18.0 Succeeded
      

      subs are up to date:

       
      $ oc get subs -A -o custom-columns=NAME:.metadata.name,STATE:.status.state,CSV:.status.currentCSV 
      NAME STATE CSV 
      multicluster-engine AtLatestKnown multicluster-engine.v2.8.1 
      redhat-oadp-operator-subscription AtLatestKnown oadp-operator.v1.4.4 
      open-cluster-management-subscription AtLatestKnown advanced-cluster-management.v2.13.2 
      ...
      

      SiteConfig operator image is:

       
      $ oc get pod -n open-cluster-management siteconfig-controller-manager-678c5c4586-kpvmw -o yaml | grep image 
      image: registry.redhat.io/rhacm2/acm-siteconfig-rhel9@sha256:25ffb7638f798f6a4374a326d711692851c7495d620b0e44591169fe9584cd04
      

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

      How reproducible:

      100%

      Steps to Reproduce:

      1. Starting with ACM 2.12
      2. Upgrade to ACM 2.13

      Actual results:

      Expected results:

      Additional info:

      Deleting the SiteConfig templates from open-cluster-management namespace and restarting the siteconfig pod caused the templates to be updated showing that wave 3 will now be used.

      1. oc delete cm -n open-cluster-management ai-node-templates-v1 ai-cluster-templates-v1
      2. oc delete pod -n open-cluster-management siteconfig-controller-manager-678c5c4586-kpvmw

              sakhoury@redhat.com Sharat Akhoury
              rhn-support-imiller Ian Miller
              Joshua Clark Joshua Clark
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: