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

Florian Haas florian at hastexo.com
Wed Mar 14 14:25:14 CET 2012


On Wed, Mar 14, 2012 at 2:16 PM, Dejan Muhamedagic <dejanmm at 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" <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.

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



More information about the Pacemaker mailing list