Fwd: rbd unmap command hangs when there is no network connection with mons and osds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




This causes an annoying problem with rbd resource agent in pacemaker. In a situation where pacemaker needs to stop a rbd resource agent on a node where there is no network connection, the rbd unmap command hangs. This causes the resource agent stop command to timeout and the node is fenced.

On Thu, May 7, 2015 at 4:37 PM, Ilya Dryomov <idryomov@xxxxxxxxx> wrote:
On Thu, May 7, 2015 at 10:20 PM, Vandeir Eduardo
<vandeir.eduardo@xxxxxxxxx> wrote:
> Hi,
>
> when issuing rbd unmap command when there is no network connection with mons
> and osds, the command hangs. Isn't there a option to force unmap even on
> this situation?

No, but you can Ctrl-C the unmap command and that should do it.  In the
dmesg you'll see something like

  rbd: unable to tear down watch request

and you may have to wait for the cluster to timeout the watch.

Thanks,

                Ilya


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux