From 0ef9a22cd4a62e963835acf794aa2c1c3e084cd5 Mon Sep 17 00:00:00 2001 From: Yusuke Kuoka Date: Tue, 14 Jun 2022 08:35:04 +0900 Subject: [PATCH] Fix confusing PV controller log (#1526) Ref #1511 --- controllers/sync_volumes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/sync_volumes.go b/controllers/sync_volumes.go index fccd343258..eb9593380c 100644 --- a/controllers/sync_volumes.go +++ b/controllers/sync_volumes.go @@ -148,7 +148,7 @@ func syncPV(ctx context.Context, c client.Client, log logr.Logger, ns string, pv if pv.Labels[labelKeyCleanup] == "" { // We assume that the pvc is shortly terminated, hence retry forever until it gets removed. retry := 10 * time.Second - log.V(1).Info("Retrying sync until pvc gets removed", "requeueAfter", retry) + log.V(2).Info("Retrying sync to see if this PV needs to be managed by ARC", "requeueAfter", retry) return &ctrl.Result{RequeueAfter: retry}, nil }