[Pacemaker] corosync init script broken

Dejan Muhamedagic dejanmm at fastmail.fm
Mon Dec 28 12:27:49 UTC 2009


Hi Dominik,

On Mon, Dec 28, 2009 at 01:22:34PM +0100, Dominik Klein wrote:
> Hi cluster people
> 
> been a while, couldn't really follow things. Today I was tasked to
> install a new cluster, went for 1.0.6 and corosync as described on the
> wiki and hit this:
> 
> New cluster with pacemaker 106 and latest available corosync from the
> clusterlabs.org/rpm opensuse 11.1 repo.
> 
> This installs /etc/init.d/corosync
> 
> "start" says "OK", but does not start corosync.
> 
> Manually starting it, then
> 
> "stop" never returns.

There has been recently an update to the corosync init script. I
think that it was actually written from scratch. It should be
included in release 1.2.0. Do you have that version?

Thanks,

Dejan

> This is because the internal status in the script calls "killall -0
> corosync". This finds /etc/init.d/corosync, therefore start returns
> early and stop never returns.
> 
> Workaround: Rename /etc/init.d/corosync
> 
> I can't believe I am the first one to hit this. Am I?
> 
> Regards
> Dominik
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker




More information about the Pacemaker mailing list