On Wed, Mar 14, 2012 at 2:16 PM, Dejan Muhamedagic <deja...@fastmail.fm> wrote:
> 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" <p...@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.

The current cluster-glue package in squeeze-backports,
cluster-glue_1.0.9+hg2665-1~bpo60+2, has upstart disabled.
Double-check that you're running that version. If you do, and the
issue persists, please let us know.

Cheers,
Florian

-- 
Need help with High Availability?
http://www.hastexo.com/now

_______________________________________________
Pacemaker mailing list: Pacemaker@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

Reply via email to