[Pacemaker] corosync init script broken
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. 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@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Re: [Pacemaker] corosync init script broken
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@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Re: [Pacemaker] corosync init script broken
Am Montag, 28. Dezember 2009 13:22:34 schrieb Dominik Klein: > 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. Yes. opensuse 11.1 init script from clusterlabs.org/rpm somehow seems to be broken. Did not figure out the final cause of the problem. Greetins, -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: mi...@multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Re: [Pacemaker] corosync init script broken
Dejan, thanks for your quick answer. > 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? # rpm -qa|grep coro libcorosync-1.1.2-1 corosync-1.1.2-1 That's what came from the mentioned repo. Maybe I can pull just the script and keep the rest. I don't want to build from source. Regards Dominik ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Re: [Pacemaker] corosync init script broken
Hopefully all of these init script problems have been fixed in 1.2.0 by Fabio and Andrew and should be in a repo available for you soon. Regards -steve On Mon, 2009-12-28 at 13:22 +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. > > 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@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker