Raise logging level for PV deletion timeout (#3316)

* raised logging level for PV deletion timeout

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>

* add changelog

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
pull/3327/head
Madhav Jivrajani 2021-01-22 06:18:33 +05:30 committed by GitHub
parent 9e29e50773
commit 01853826b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
Change the logging level of PV deletion timeout from Debug to Warn

View File

@ -663,7 +663,7 @@ func (ctx *restoreContext) shouldRestore(name string, pvClient client.Dynamic) (
})
if err == wait.ErrWaitTimeout {
pvLogger.Debug("timeout reached waiting for persistent volume to delete")
pvLogger.Warn("timeout reached waiting for persistent volume to delete")
}
return shouldRestore, err