referenced ImageRepository has not been scanned yet error since upgrade to 2.6.0 #5376
-
|
Since the upgrade to 2.6.0 I'm now always getting the following error notifications I get this also if I manually reconcile an image repository. The log entries look like this So while it shows this error it still seems to be work correctly. It looks also like all flux resources are in ready status, so what am I missing, why is it generating this error? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
The error is not harmful, that's because when image-reflector-controller starts reconciling an ImageRepository it marks the object as "Progressing", which is not "Ready". The ImagePolicy reconciler gets notified about this change in the ImageRepository status and tries to reconcile, but because the ImageRepo is not ready, we mark the ImagePolicy as not ready either with the reason https://fluxcd.io/flux/components/notification/alerts/#event-exclusion |
Beta Was this translation helpful? Give feedback.
-
|
Closing as duplicate of fluxcd/image-reflector-controller#773 |
Beta Was this translation helpful? Give feedback.
The error is not harmful, that's because when image-reflector-controller starts reconciling an ImageRepository it marks the object as "Progressing", which is not "Ready". The ImagePolicy reconciler gets notified about this change in the ImageRepository status and tries to reconcile, but because the ImageRepo is not ready, we mark the ImagePolicy as not ready either with the reason
DependencyNotReady. But when the controller finishes reconciling the ImageRepo, the ImagePolicy will get another event and reconcile properly. You can configure yourAlertto ignore this error for now:https://fluxcd.io/flux/components/notification/alerts/#event-exclusion