Description of problem: In a disconnected OCP cluster, with CNV installed, and golden images enabled, the CDIDataImportCronOutdated, KubeContainerWaiting, and KubeJobCompletion (which I guess is related) alert is constantly firing. Version-Release number of selected component (if applicable): 4.10 How reproducible: Always Steps to Reproduce: 1. Install CNV 4.10 on a disconnected cluster 2. 3. Actual results: Wait for the CDIDataImportCronOutdated, KubeContainerWaiting, and KubeJobCompletion alerts to fire Expected results: CDIDataImportCronOutdated, KubeContainerWaiting, and KubeJobCompletion do not fire Additional info: Should the fix be rather to a. silent the alert for disconnected? b. make sure to also get the imported images mirrored?
Simone, how easy it is to get the images mirrored for disconnected OCP cluster?
Since the operator can't know if they are running within a connection environment or not, we added the enableCommonBootImageImport Feature Gate (default = true). Setting this feature gate to false will disable all the common image imports. Alternatively, it is possible to disable a specific image, or to edit it source to a local registry.
Is this issue solved simply by disabling the feature for disconnected? What are the next steps?
Hey, this alert is firing because some (all?) of the imported images are not getting mirrored into a disconnected env. This is by design, as these images are not built or owned by the OpenShift Virtualization team. As discussed in previous comments the solution is to disable the mirroring OR to have the customer manually mirror the to be imported images into the disconnected cluster. Do we have a runbook for this alert which is pointing to the documentation of how to disable the mirroring? if we have this runbook, then to me this bug can be closed.
Sure, we have a runbook for this alert which is pointing to the documentation of how to disable the mirroring: https://access.redhat.com/documentation/en-us/openshift_container_platform/4.12/html/virtualization/logging-events-and-monitoring#virt-runbook-cdidataimportcronoutdated_virt-runbooks