mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
"rbd: image xxx is locked by other nodes" is misleading
This commit is contained in:
parent
9848cdb3ac
commit
29030d2b42
@ -269,7 +269,7 @@ func (util *RBDUtil) AttachDisk(b rbdMounter) error {
|
||||
|
||||
// fence off other mappers
|
||||
if err = util.fencing(b); err != nil {
|
||||
return fmt.Errorf("rbd: image %s is locked by other nodes", b.Image)
|
||||
return fmt.Errorf("rbd: failed to lock image %s (maybe locked by other nodes), error %v", b.Image, err)
|
||||
}
|
||||
// rbd lock remove needs ceph and image config
|
||||
// but kubelet doesn't get them from apiserver during teardown
|
||||
|
Loading…
Reference in New Issue
Block a user