mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-10 00:10:20 +00:00
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:
parent
4d4ead26dd
commit
2d5cc39e59
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user