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

Compliance operator template could not be deployed successfully on IBM Z

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • ACM 2.16.0
    • GRC
    • Quality / Stability / Reliability
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • Workloads - Train 36 - 2, Workloads - Train 37 - 1
    • Critical
    • None

      Description of problem:

      Deployed but failed to enforce compliance operator template on local-cluster of IBM Z. Checked governance framework addon log in ns "open-cluster-management-agent-addon", and found controller stuck at "policy_status_sync"

      2026-02-09T17:04:59.100Z info policy-template-sync templatesync/template_sync.go:595 Policy template created successfully {"Request.Namespace": "local-cluster", "Request.Name": "default.test-compliance-operator", "template": "comp-operator-ns"}

      2026-02-09T17:04:59.109Z info policy-status-sync statussync/policy_status_sync.go:142 Recalculating details for policy templates {"controller": "policy-status-sync", "controllerGroup": "policy.open-cluster-management.io", "controllerKind": "Policy", "Policy": {"name":"default.test-compliance-operator","namespace":"local-cluster"}, "namespace": "local-cluster", "name": "default.test-compliance-operator", "reconcileID": "1828a0e0-7077-46f5-8e44-1149f8617519", "HubNamespace": "local-cluster"}

      2026-02-09T17:04:59.199Z info policy-status-sync statussync/policy_status_sync.go:543 status mismatch on managed, update it {"controller": "policy-status-sync", "controllerGroup": "policy.open-cluster-management.io", "controllerKind": "Policy", "Policy": {"name":"default.test-compliance-operator","namespace":"local-cluster"}, "namespace": "local-cluster", "name": "default.test-compliance-operator", "reconcileID": "1828a0e0-7077-46f5-8e44-1149f8617519", "HubNamespace": "local-cluster"}

      2026-02-09T17:04:59.230Z info policy-template-sync templatesync/template_sync.go:595 Policy template created successfully {"Request.Namespace": "local-cluster", "Request.Name": "default.test-compliance-operator", "template": "operatorpolicy-comp-operator"}

      2026-02-09T17:04:59.231Z info policy-status-sync statussync/policy_status_sync.go:572 status not in sync, update the hub {"controller": "policy-status-sync", "controllerGroup": "policy.open-cluster-management.io", "controllerKind": "Policy", "Policy": {"name":"default.test-compliance-operator","namespace":"local-cluster"}, "namespace": "local-cluster", "name": "default.test-compliance-operator", "reconcileID": "1828a0e0-7077-46f5-8e44-1149f8617519", "HubNamespace": "local-cluster"}

      2026-02-09T17:04:59.238Z error policy-status-sync statussync/policy_status_sync.go:578 Failed to update policy status on hub {"controller": "policy-status-sync", "controllerGroup": "policy.open-cluster-management.io", "controllerKind": "Policy", "Policy": {"name":"default.test-compliance-operator","namespace":"local-cluster"}, "namespace": "local-cluster", "name": "default.test-compliance-operator", "reconcileID": "1828a0e0-7077-46f5-8e44-1149f8617519", "HubNamespace": "local-cluster", "error": "Operation cannot be fulfilled on policies.policy.open-cluster-management.io \"default.test-compliance-operator\": the object has been modified; please apply your changes to the latest version and try again"}

      open-cluster-management.io/governance-policy-framework-addon/controllers/statussync.(*PolicyReconciler).updateStatuses

      /go/src/github.com/open-cluster-management-io/governance-policy-framework-addon/controllers/statussync/policy_status_sync.go:578

      open-cluster-management.io/governance-policy-framework-addon/controllers/statussync.(*PolicyReconciler).Reconcile

      /go/src/github.com/open-cluster-management-io/governance-policy-framework-addon/controllers/statussync/policy_status_sync.go:151

      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Reconcile

      /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.21.0/pkg/internal/controller/controller.go:119

      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler

      /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.21.0/pkg/internal/controller/controller.go:340

      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem

      /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.21.0/pkg/internal/controller/controller.go:300

      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.1

      /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.21.0/pkg/internal/controller/controller.go:202

      2026-02-09T17:04:59.238Z error controller/controller.go:353 Reconciler error {"controller": "policy-status-sync", "controllerGroup": "policy.open-cluster-management.io", "controllerKind": "Policy", "Policy": {"name":"default.test-compliance-operator","namespace":"local-cluster"}, "namespace": "local-cluster", "name": "default.test-compliance-operator", "reconcileID": "1828a0e0-7077-46f5-8e44-1149f8617519", "error": "Operation cannot be fulfilled on policies.policy.open-cluster-management.io \"default.test-compliance-operator\": the object has been modified; please apply your changes to the latest version and try again"}

      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler

      /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.21.0/pkg/internal/controller/controller.go:353

      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem

      /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.21.0/pkg/internal/controller/controller.go:300

      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.1

      /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.21.0/pkg/internal/controller/controller.go:202

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

      ACM 2.16

      How reproducible:

      Always

      Steps to Reproduce:

      1. Deploy compliance operator template to local-cluster
      2. ...

      Actual results:

      The policy failed to be enforced and no subscription, installplan, and operator are created

      Expected results:

      Compliance operator installed successfully

      Additional info:

      The hub environment has been heavily loaded. Not sure if the env issue can cause the error above. However, I was able to manually install the compliance operator from the OCP catalog and everything was installed successfully.

        1. complianceop-output.txt
          27 kB
          Derek Ho
        2. full-output.txt
          21.56 MB
          Derek Ho

              jkulikau@redhat.com Justin Kulikauskas
              drkho Derek Ho
              Derek Ho Derek Ho
              ACM QE Team
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: