mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 22:30:23 +00:00
rbd: log error when scheduling flattening fails
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
5bcd5cb928
commit
8d0b39e690
@ -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)
|
util.WarningLog(ctx, "access denied to Ceph MGR-based rbd commands on cluster ID (%s)", pOpts.ClusterID)
|
||||||
supported = false
|
supported = false
|
||||||
default:
|
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
|
return supported, err
|
||||||
|
Loading…
Reference in New Issue
Block a user