Re: [Pacemaker] Filesystem resource killing innocent processes on stop

2015-05-18 Thread Dejan Muhamedagic
Hi, On Mon, May 18, 2015 at 12:20:38PM +0200, Nikola Ciprich wrote: Hi, I noticed very annoying bug (or so I think), that resource-agents-3.9.5 in RHEL / centos 6 Filesystem OCF resource seems to be killing completely unrelated processes on shutdown although they're not using anything on

Re: [Pacemaker] Filesystem resource killing innocent processes on stop

2015-05-18 Thread emmanuel segura
are you sure you process are not in working directory /home/cluster/virt ? I'm using suse 11 Sp2 and I don't know if the agent is the same in redhat 6, but i think so, anyway for umounting the fs the script uses the following functions Filesystem_stop - fs_stop - signal_processes In the fs_stop

Re: [Pacemaker] Filesystem resource killing innocent processes on stop

2015-05-18 Thread Vladislav Bogdanov
18.05.2015 18:57, Nikola Ciprich wrote: Hi Vladislav, Isn't that a bind-mount? nope, but your question lead me to possible culprit.. it's cephfs mount, when I try to some local filesystem, I don't see this weird fuser behaviour.. so maybe fuser does not work correctly on cephfs? yep, for

Re: [Pacemaker] Filesystem resource killing innocent processes on stop

2015-05-18 Thread Vladislav Bogdanov
18.05.2015 13:20, Nikola Ciprich wrote: Hi, I noticed very annoying bug (or so I think), that resource-agents-3.9.5 in RHEL / centos 6 Filesystem OCF resource seems to be killing completely unrelated processes on shutdown although they're not using anything on mounted filesystem... Isn't

Re: [Pacemaker] Filesystem resource killing innocent processes on stop

2015-05-18 Thread Nikola Ciprich
Hi Dejan, The list below seems too extensive. Which version of resource-agents do you run? $ grep 'Build version:' /usr/lib/ocf/lib/heartbeat/ocf-shellfuncs yes, it's definitely wrong.. here's the info you've requested: # Build version: 5434e9646462d2c3c8f7aad2609d0ef1875839c7 rpm

Re: [Pacemaker] Filesystem resource killing innocent processes on stop

2015-05-18 Thread Nikola Ciprich
Hi Vladislav, Isn't that a bind-mount? nope, but your question lead me to possible culprit.. it's cephfs mount, when I try to some local filesystem, I don't see this weird fuser behaviour.. so maybe fuser does not work correctly on cephfs? this is how fs is mounted:

[Pacemaker] Filesystem resource killing innocent processes on stop

2015-05-18 Thread Nikola Ciprich
Hi, I noticed very annoying bug (or so I think), that resource-agents-3.9.5 in RHEL / centos 6 Filesystem OCF resource seems to be killing completely unrelated processes on shutdown although they're not using anything on mounted filesystem... unfortunately, one of processes very often killed is