Bug 2127147 - CDIDataImportCronOutdated, KubeContainerWaiting, and KubeJobCompletion are constantly firing in a disconnected env
Summary: CDIDataImportCronOutdated, KubeContainerWaiting, and KubeJobCompletion are co...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Storage
Version: 4.10.4
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: 4.11.4
Assignee: Arnon Gilboa
QA Contact: Yan Du
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-15 13:18 UTC by Fabian Deutsch
Modified: 2023-02-06 08:57 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-02-06 08:57:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CNV-21295 0 None None None 2022-10-27 09:47:46 UTC

Description Fabian Deutsch 2022-09-15 13:18:54 UTC
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?

Comment 2 Arnon Gilboa 2022-10-27 09:26:03 UTC
Simone, how easy it is to get the images mirrored for disconnected OCP cluster?

Comment 4 Nahshon Unna-Tsameret 2022-11-29 14:47:06 UTC
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.

Comment 6 Adam Litke 2023-01-18 14:25:28 UTC
Is this issue solved simply by disabling the feature for disconnected?  What are the next steps?

Comment 8 Fabian Deutsch 2023-01-19 11:43:51 UTC
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.

Comment 9 Arnon Gilboa 2023-02-06 08:56:18 UTC
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


Note You need to log in before you can comment on or make changes to this bug.