rbd: log error when scheduling flattening fails

Signed-off-by: Niels de Vos <ndevos@redhat.com>
(cherry picked from commit 8d0b39e690)
This commit is contained in:
Niels de Vos 2021-02-10 17:22:45 +01:00 committed by mergify[bot]
parent 4d4ead26dd
commit 2d5cc39e59

View File

@ -337,7 +337,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