Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit 8d2ae75

Browse files
Add timeout error into container logs of cspo pod
Signed-off-by: michal.gubricky <[email protected]>
1 parent 07f745e commit 8d2ae75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/controller/openstacknodeimagerelease_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ func (r *OpenStackNodeImageReleaseReconciler) Reconcile(ctx context.Context, req
202202
// Check if the image has been active after waitForImageBecomeActiveTimeout minutes
203203
if image.Status != images.ImageStatusActive && elapsedTime > waitForImageBecomeActiveTimeout {
204204
err = fmt.Errorf("timeout - wait for the image %s to transition to the ACTIVE status exceeds the timeout duration %d minutes", image.Name, r.WaitForImageBecomeActiveMinutes)
205+
logger.Error(err, "Timeout duration exceeded")
205206
conditions.MarkFalse(openstacknodeimagerelease,
206207
apiv1alpha1.OpenStackImageReadyCondition,
207208
apiv1alpha1.OpenStackImageImportTimeOutReason,

0 commit comments

Comments
 (0)