Description of problem: The assisted-service is logging errors similar to below, where it is failing to find Agents. This is because the backend is generating events with the wrong namespace. Recently Agents started being created in the InfraEnv namespace instead of in the ClusterDeployment namespace, but this bit of code apparently was not updated. time="2021-06-03T15:33:07Z" level=error msg="Failed to get resource clusters-hs0/d81d73b5-ffcc-4f26-8317-37944201256a" func="github.com/openshift/assisted-service/internal/controller/controllers.(*AgentReconciler).Reconcile" file="/go/src/github.com/openshift/origin/internal/controller/controllers/agent_controller.go:93" agent=d81d73b5-ffcc-4f26-8317-37944201256a agent_namespace=clusters-hs0 error="Agent.agent-install.openshift.io \"d81d73b5-ffcc-4f26-8317-37944201256a\" not found" go-id=1025 request_id=22c327ac-dc67-4d87-b2c1-d54665eebaa0 Code: https://github.com/openshift/assisted-service/blob/989d3b7/internal/controller/controllers/controller_event_wrapper.go#L42 Version-Release number of selected component (if applicable): 0.0.5-rc1 How reproducible: always Steps to Reproduce: 1. Use the k8s API workflow to create an Agent (boot-it-yourself is fine) 2. look in the container logs
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: OpenShift Container Platform 4.9.0 bug fix and security update), 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-2021:3759