From 8d0b39e690d03c0a49844b2f9b741c5c8a340241 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Wed, 10 Feb 2021 17:22:45 +0100 Subject: [PATCH] rbd: log error when scheduling flattening fails Signed-off-by: Niels de Vos --- internal/rbd/rbd_util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/rbd/rbd_util.go b/internal/rbd/rbd_util.go index 9e6004cf2..ea6df0c3a 100644 --- a/internal/rbd/rbd_util.go +++ b/internal/rbd/rbd_util.go @@ -342,7 +342,7 @@ func addRbdManagerTask(ctx context.Context, pOpts *rbdVolume, arg []string) (boo util.WarningLog(ctx, "access denied to Ceph MGR-based rbd commands on cluster ID (%s)", pOpts.ClusterID) supported = false default: - util.WarningLog(ctx, "uncaught error while scheduling a task: %s", err) + util.WarningLog(ctx, "uncaught error while scheduling a task (%v): %s", err, stderr) } } return supported, err