[Pacemaker] getting started - crm hangs when adding resources, even "crm ra classes" hangs

Dejan Muhamedagic dejanmm at fastmail.fm
Wed Mar 14 09:16:34 EDT 2012


Hi,

On Tue, Mar 13, 2012 at 05:59:35PM -0400, Phillip Frost wrote:
> On Mar 13, 2012, at 2:21 PM, Jake Smith wrote:
> 
> >> From: "Phillip Frost" <phil at macprofessionals.com>
> >> Subject: [Pacemaker] getting started - crm hangs when adding resources,	even "crm ra classes" hangs
> >> 
> >> more interestingly, even "crm ra classes" never terminates, again
> >> with no output, and nothing appended to syslog.
> > 
> > In Ubuntu 10.04 there is a bug in glib causing hanging on shutdown as well as hanging on some crm commands - there are patches out to fix it for Ubuntu specifically (https://bugs.launchpad.net/ubuntu/oneiric/+source/cluster-glue/+bug/821732).  Not sure if they affect Debian too.
> 
> Seems to be the same issue, somewhat. I noticed sometimes I'd get lrmadmin -C to work once, but the 2nd time it would deadlock. That behavior was described in the launchpad link you gave.
> 
> It seems what's happened is the glib bug has been patched in debian unstable, and this raexecupstart patch is disabled in the cluster-glue package as described in launchpad. squeeze-backports took the package from unstable, but glib is not patched in squeeze, so raexecupstart.patch is still needed. Not re-enabled in squeeze-backports, however.
> 
> So, I built cluster-glue from the debian source package after manually applying that patch, and now I can run lrmadmin -C all day. Now it's also leaking sockets, but I guess I can live with that.

Do you have upstart at all? In that case, the debian package
shouldn't have the upstart enabled when building cluster-glue.

Cheers,

Dejan

> I was playing with building some other versions to see if I could do better, but it seems some time in the past 5 minutes, squeeze-backports got a new version. Either that, or I'm losing my mind. Either way, time to call it a day.
> 
> _______________________________________________
> 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




More information about the Pacemaker mailing list