[ClusterLabs] [OCF] Pacemaker reports a multi-state clone resource instance as running while it is not in fact

Dejan Muhamedagic dejanmm at fastmail.fm
Mon Jan 4 11:14:37 EST 2016


Hi,

On Mon, Jan 04, 2016 at 04:52:43PM +0100, Bogdan Dobrelya wrote:
> On 04.01.2016 16:36, Ken Gaillot wrote:
> > On 01/04/2016 09:25 AM, Bogdan Dobrelya wrote:
> >> On 04.01.2016 15:50, Bogdan Dobrelya wrote:
[...]
> >> Also note, that lrmd spawns *many* monitors like:
> >> root      6495  0.0  0.0  70268  1456 ?        Ss    2015   4:56  \_
> >> /usr/lib/pacemaker/lrmd
> >> root     31815  0.0  0.0   4440   780 ?        S    15:08   0:00  |   \_
> >> /bin/sh /usr/lib/ocf/resource.d/dummy/dummy monitor
> >> root     31908  0.0  0.0   4440   388 ?        S    15:08   0:00  |
> >>   \_ /bin/sh /usr/lib/ocf/resource.d/dummy/dummy monitor
> >> root     31910  0.0  0.0   4440   384 ?        S    15:08   0:00  |
> >>       \_ /bin/sh /usr/lib/ocf/resource.d/dummy/dummy monitor
> >> root     31915  0.0  0.0   4440   392 ?        S    15:08   0:00  |
> >>           \_ /bin/sh /usr/lib/ocf/resource.d/dummy/dummy monitor
> >> ...
> > 
> > At first glance, that looks like your monitor action is calling itself
> > recursively, but I don't see how in your code.
> 
> Yes, it should be a bug in the ocf-shellfuncs's ocf_log().

If you're sure about that, please open an issue at
https://github.com/ClusterLabs/resource-agents/issues

Thanks,

Dejan




More information about the Users mailing list