Re: [Pacemaker] PE ignores monitor failure of stonith:external/rackpdu

2010-11-02 Thread Dejan Muhamedagic
Hi, On Fri, Oct 29, 2010 at 08:37:04AM +0200, Pavlos Parissis wrote: Hi, I wanted to check what happens when the monitor of a fencing agents fails, thus I disconnected the PDU from network, reduced the monitor interval and put debug statements on the fencing script. here is the debug

Re: [Pacemaker] PE ignores monitor failure of stonith:external/rackpdu

2010-11-02 Thread Pavlos Parissis
On 2 November 2010 11:22, Dejan Muhamedagic deja...@fastmail.fm wrote: Hi, On Fri, Oct 29, 2010 at 08:37:04AM +0200, Pavlos Parissis wrote: Hi, I wanted to check what happens when the monitor of a fencing agents fails, thus I disconnected the PDU from network, reduced the monitor

Re: [Pacemaker] PE ignores monitor failure of stonith:external/rackpdu

2010-11-02 Thread Dejan Muhamedagic
Hi, On Tue, Nov 02, 2010 at 12:13:43PM +0100, Pavlos Parissis wrote: On 2 November 2010 11:22, Dejan Muhamedagic deja...@fastmail.fm wrote: Hi, On Fri, Oct 29, 2010 at 08:37:04AM +0200, Pavlos Parissis wrote: Hi, I wanted to check what happens when the monitor of a fencing

Re: [Pacemaker] PE ignores monitor failure of stonith:external/rackpdu

2010-11-02 Thread Pavlos Parissis
On 2 November 2010 13:02, Dejan Muhamedagic deja...@fastmail.fm wrote: [...snip...] Definitely not. If you do the monitor action from the command line does that also return the unexpected exit code: from the code I pasted you can see it returned 1. There is a difference.

Re: [Pacemaker] PE ignores monitor failure of stonith:external/rackpdu

2010-11-02 Thread Dejan Muhamedagic
Hi, On Tue, Nov 02, 2010 at 01:09:02PM +0100, Pavlos Parissis wrote: On 2 November 2010 13:02, Dejan Muhamedagic deja...@fastmail.fm wrote: [...snip...] Definitely not. If you do the monitor action from the command line does that also return the unexpected exit code: from

Re: [Pacemaker] PE ignores monitor failure of stonith:external/rackpdu

2010-11-02 Thread Pavlos Parissis
On 2 November 2010 13:18, Dejan Muhamedagic deja...@fastmail.fm wrote: Hi, On Tue, Nov 02, 2010 at 01:09:02PM +0100, Pavlos Parissis wrote: On 2 November 2010 13:02, Dejan Muhamedagic deja...@fastmail.fm wrote: [...snip...] Definitely not. If you do the monitor action from the

Re: [Pacemaker] PE ignores monitor failure of stonith:external/rackpdu

2010-11-02 Thread Dejan Muhamedagic
On Tue, Nov 02, 2010 at 01:28:09PM +0100, Pavlos Parissis wrote: On 2 November 2010 13:18, Dejan Muhamedagic deja...@fastmail.fm wrote: Hi, On Tue, Nov 02, 2010 at 01:09:02PM +0100, Pavlos Parissis wrote: On 2 November 2010 13:02, Dejan Muhamedagic deja...@fastmail.fm wrote:

[Pacemaker] PE ignores monitor failure of stonith:external/rackpdu

2010-10-29 Thread Pavlos Parissis
Hi, I wanted to check what happens when the monitor of a fencing agents fails, thus I disconnected the PDU from network, reduced the monitor interval and put debug statements on the fencing script. here is the debug statements on the status code status) if [ -z $pduip ]; then