rbd: log error when scheduling flattening fails

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2021-02-10 17:22:45 +01:00 committed by mergify[bot]
parent 5bcd5cb928
commit 8d0b39e690

View File

@ -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