On Tue, Apr 19, 2011 at 1:12 AM, Andrew Beekhof <[email protected]> wrote:
> On Mon, Apr 18, 2011 at 11:38 PM, Serge Dubrouski <[email protected]> wrote:
>> Ok, I've read the documentation. It's not a bug, it's a feature :-)
>
> Might be nice if the shell could somehow prevent such configs, but it
> would be non-trivial to implement.

Or may be as trivial as checking for such duplicates and in case of
different roles adjusting interval time with plus or minus 1.

>
>>
>> On Mon, Apr 18, 2011 at 3:01 PM, Serge Dubrouski <[email protected]> wrote:
>>> Hello -
>>>
>>> Looks like there is a bug in crm shell Pacemaker version 1.1.5 or in 
>>> pengine.
>>>
>>>
>>> primitive pg_drbd ocf:linbit:drbd \
>>>        params drbd_resource="drbd0" \
>>>        op monitor interval="60s" role="Master" timeout="10s" \
>>>        op monitor interval="60s" role="Slave" timeout="10s"
>>>
>>> Log file:
>>>
>>> Apr 17 04:05:29 cs51 pengine: [5534]: ERROR: is_op_dup: Operation
>>> pg_drbd-monitor-60s-0 is a duplicate of pg_drbd-monitor-60s
>>> Apr 17 04:05:29 cs51 crmd: [5535]: info: do_state_transition: Starting
>>> PEngine Recheck Timer
>>> Apr 17 04:05:29 cs51 pengine: [5534]: ERROR: is_op_dup: Do not use the
>>> same (name, interval) combination more than once per resource
>>> Apr 17 04:05:29 cs51 pengine: [5534]: ERROR: is_op_dup: Operation
>>> pg_drbd-monitor-60s-0 is a duplicate of pg_drbd-monitor-60s
>>> Apr 17 04:05:29 cs51 pengine: [5534]: ERROR: is_op_dup: Do not use the
>>> same (name, interval) combination more than once per resource
>>> Apr 17 04:05:29 cs51 pengine: [5534]: ERROR: is_op_dup: Operation
>>> pg_drbd-monitor-60s-0 is a duplicate of pg_drbd-monitor-60s
>>>
>>> Plus strange behavior of the cluster like inability to mover resources
>>> from one node to another.
>>>
>>> --
>>> Serge Dubrouski.
>>>
>>
>>
>>
>> --
>> Serge Dubrouski.
>> _______________________________________________________
>> Linux-HA-Dev: [email protected]
>> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
>> Home Page: http://linux-ha.org/
>>
> _______________________________________________________
> Linux-HA-Dev: [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
>



-- 
Serge Dubrouski.
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to