[Pacemaker] resource with colocation rule doesn't fail

Johan Huysmans johan.huysmans at inuits.be
Fri Aug 2 03:56:15 EDT 2013

Hi Andrew,

Thanks for the fix.
I tried it on my setup and now when a cloned resource fails the group 
will move to the other node as expected.

However I noticed something strange.
If a cloned resource is failing I see this in the logs:
pengine[12178]:  warning: unpack_rsc_op: Processing failed op monitor 
for d_bird:1 on DEM-2: not running (7)

If that same cloned resource is recovered I still see that same message 
appear in the logfile.
But crm_mon shows it correctly and it functions correctly.

However when I restart the other node (or restart only the pacemaker 
service) it reappears as failed in the crm_mon and the cluster behaves 
as it is failing, however it isn't.
I have to perform a "crm resource cleanup <resource>" to clear this 

I captured this in the attached crm_report.


On 02-08-13 05:14, Andrew Beekhof wrote:
> On 02/08/2013, at 11:42 AM, Andrew Beekhof <andrew at beekhof.net> wrote:
>> On 02/08/2013, at 11:33 AM, Andrew Beekhof <andrew at beekhof.net> wrote:
>>> On 01/08/2013, at 5:38 PM, Johan Huysmans <johan.huysmans at inuits.be> wrote:
>>>> I forgot to mention:
>>>> I'm using a build from git (Version: 1.1.11-1.el6-42f2063).
>>>> I used the same config on an old 1.1.10 rc (rc6 or before) and that worked, as of rc7 it didn't work anymore.
>>> I will have a look, but why are you setting on-fail=block for everything?
>> Ironically the log message for the commit which broke this was:
>> commit faa883cf7927d84f61f29211fe6e2980de645620
>>     Bug: cl#5170 - Correctly support on-fail=block for clones
> Fixed in:
> 	https://github.com/beekhof/pacemaker/commit/66a3ea6
> + Andrew Beekhof (2 minutes ago) 66a3ea6: Fix: PE: Do not allow colocation with blocked clone instances  (HEAD, master)
> + Andrew Beekhof (21 minutes ago) b2c105b: Fix: PE: Do not re-allocate clone instances that are blocked in the Stopped state
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pcmk-vr-02-aug-2013.tar.bz2
Type: application/x-bzip
Size: 164001 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130802/acb58d41/attachment-0003.bin>

More information about the Pacemaker mailing list