Description of the problem: On a bare metal spoke cluster deployed via ZTP procedure, governance-policy-framework pod on the spoke cluster is in CrashLoopBackOff state due to: Defaulted container "spec-sync" out of: spec-sync, status-sync, template-sync 2022-07-14T08:42:50.155Z info setup app/main.go:92 Using {"OperatorVersion": "0.0.1", "GoVersion": "go1.18.1", "GOOS": "linux", "GOARCH": "amd64"} 2022-07-14T08:42:57.873Z info controller-runtime.metrics logr.2/logr.go:252 Metrics server is starting to listen {"addr": "0.0.0.0:8384"} 2022-07-14T08:42:57.873Z error setup app/main.go:200 Failed to start manager {"error": "error listening on :8081: listen tcp :8081: bind: address already in use"} main.main /remote-source/app/main.go:200 runtime.main /usr/lib/golang/src/runtime/proc.go:250 Release version: 2.6.0-DOWNSTREAM-2022-07-09-13-09-35 Operator snapshot version: 2.6.0-DOWNSTREAM-2022-07-09-13-09-35 OCP version: 4.11.0-rc.2 Browser Info: Steps to reproduce: 1. Deploy bare metal spoke cluster via ZTP process 2. Wait for policies to be created on the spoke cluster Actual results: Policies are not created. Expected results: Policies are created and the system gets configured. Additional info: Attaching must-gather
Created attachment 1897004 [details] must-gather
This will be fixed once a new build is out with this change: https://github.com/stolostron/governance-policy-addon-controller/pull/60
I can confirm the issue no longer reproduced with a more recent ACM 2.6 build
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Red Hat Advanced Cluster Management 2.6.0 security updates and bug fixes), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:6370