From 4d5594acab46eb7906b5226f67328e89fc023dd0 Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Mon, 2 Sep 2024 10:24:47 +0200 Subject: [PATCH] rbd: set volume condition for block set volume condition as healthy if we dont have any errors for the block mode as well. Signed-off-by: Madhu Rajanna --- internal/rbd/nodeserver.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/rbd/nodeserver.go b/internal/rbd/nodeserver.go index ff699aead..5308e9129 100644 --- a/internal/rbd/nodeserver.go +++ b/internal/rbd/nodeserver.go @@ -1365,6 +1365,10 @@ func blockNodeGetVolumeStats(ctx context.Context, targetPath string) (*csi.NodeG Unit: csi.VolumeUsage_BYTES, }, }, + VolumeCondition: &csi.VolumeCondition{ + Abnormal: false, + Message: "volume is in a healthy condition", + }, }, nil }