Description of problem: When creating an AgentClusterInstall CRD (without a corresponding ClusterDeployment), there is no debugInfo available which is expected as not status is available yet. However, there's no indication in the log for that. Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. Create an AgentClusterInstall CRD 2. 3. Actual results: No indication that status and debugInfo should not be available yet. Expected results: E.g. a warning/info log that the debugInfo (eventsURL/logsURL) would be available once a ClusterDeployment CRD is created. Additional info:
Maybe we should add to the SpecSync condition that we miss an object, and set all the others conditions to Unknown
+1 to SpecSync
Actually do we even reconcile on this agent cluster install? We are looking at cluster deployment as the main resource.
When reconcile we are searching for cluster deployment and we don't know the reference to agent cluster install, so it's impossible to set anything on agent cluster install unless we manage to get cluster deployment.
After few conversations we decided that for this case we can add another controller that will watch only AgentClusterInstall, it will set the sync condition value to failure with a message explaining that the link to cluster deployment is invalid. It will probably need to set all the other conditions to unknown. The two cases that it will cover are 1. Cluster deployment is not created yet. 2. User set invalid reference to cluster deployment.
*** Bug 1969416 has been marked as a duplicate of this bug. ***
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