From 2ce8292803f814291eb8f03b94b4dd26cbdb55d8 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Wed, 6 Dec 2023 01:06:53 +0300 Subject: [PATCH] Also log when killing process --- csi/src/nodeserver.go | 1 + 1 file changed, 1 insertion(+) diff --git a/csi/src/nodeserver.go b/csi/src/nodeserver.go index f4f10414..bb98f8e9 100644 --- a/csi/src/nodeserver.go +++ b/csi/src/nodeserver.go @@ -176,6 +176,7 @@ func (ns *NodeServer) unmapNbd(devicePath string) func findByPidFile(pidFile string) (*os.Process, error) { + klog.Infof("killing process with PID from file %s", pidFile) pidBuf, err := os.ReadFile(pidFile) if (err != nil) {