Re: [ceph-users] rbd unmap command hangs when there is no network connection with mons and osds

2015-05-12 Thread Sebastien Han
Should we put a timeout to the unmap command on the RBD RA in the meantime? > On 08 May 2015, at 15:13, Vandeir Eduardo wrote: > > Wouldn't be better a configuration named (map|unmap)_timeout? Cause we are > talking about a map/unmap of a RBD device, not a mount/unmount of a file > system. >

Re: [ceph-users] rbd unmap command hangs when there is no network connection with mons and osds

2015-05-08 Thread Ilya Dryomov
On Fri, May 8, 2015 at 4:25 PM, Ilya Dryomov wrote: > On Fri, May 8, 2015 at 4:13 PM, Vandeir Eduardo > wrote: >> Wouldn't be better a configuration named (map|unmap)_timeout? Cause we are >> talking about a map/unmap of a RBD device, not a mount/unmount of a file >> system. > > The mount_timeout

Re: [ceph-users] rbd unmap command hangs when there is no network connection with mons and osds

2015-05-08 Thread Ilya Dryomov
On Fri, May 8, 2015 at 4:13 PM, Vandeir Eduardo wrote: > Wouldn't be better a configuration named (map|unmap)_timeout? Cause we are > talking about a map/unmap of a RBD device, not a mount/unmount of a file > system. The mount_timeout option is already there and is used in cephfs. We could certa

Re: [ceph-users] rbd unmap command hangs when there is no network connection with mons and osds

2015-05-08 Thread Vandeir Eduardo
Wouldn't be better a configuration named (map|unmap)_timeout? Cause we are talking about a map/unmap of a RBD device, not a mount/unmount of a file system. On Fri, May 8, 2015 at 10:04 AM, Ilya Dryomov wrote: > On Fri, May 8, 2015 at 3:59 PM, Ilya Dryomov wrote: > > On Fri, May 8, 2015 at 1:18

Re: [ceph-users] rbd unmap command hangs when there is no network connection with mons and osds

2015-05-08 Thread Ilya Dryomov
On Fri, May 8, 2015 at 3:59 PM, Ilya Dryomov wrote: > On Fri, May 8, 2015 at 1:18 PM, Vandeir Eduardo > wrote: >> 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 conne

Re: [ceph-users] rbd unmap command hangs when there is no network connection with mons and osds

2015-05-08 Thread Ilya Dryomov
On Fri, May 8, 2015 at 1:18 PM, Vandeir Eduardo wrote: > 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 > resour

Re: [ceph-users] rbd unmap command hangs when there is no network connection with mons and osds

2015-05-07 Thread Ilya Dryomov
On Thu, May 7, 2015 at 10:20 PM, Vandeir Eduardo 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 i

[ceph-users] rbd unmap command hangs when there is no network connection with mons and osds

2015-05-07 Thread Vandeir Eduardo
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? Att. Vandeir. ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.c