[Pacemaker] Cannot Create Primitive in CRM Shell

Jake Smith jsmith at argotec.com
Mon Jan 9 21:31:23 CET 2012


----- Original Message -----
> From: "Rasto Levrinc" <rasto.levrinc at gmail.com>
> To: "The Pacemaker cluster resource manager" <pacemaker at oss.clusterlabs.org>
> Sent: Monday, January 9, 2012 2:12:54 PM
> Subject: Re: [Pacemaker] Cannot Create Primitive in CRM Shell
> 
> On Mon, Jan 9, 2012 at 3:34 PM, Andrew Martin <amartin at xes-inc.com>
> wrote:
> > Hi Florian,
> >
> > Thanks for the quick response. This is a fresh install of
> > pacemaker/heartbeat on two VMs so it should not have any
> > previous/corrupted
> > configuration (Ubuntu 10.04 amd64). I had previously deployed
> > pacemaker on
> > alternative copies of these VM images, but both of those have since
> > been
> > deleted. I am using the versions of these packages from the Ubuntu
> > HA
> > PPA because the Lucid version does not appear to contain
> > ocf:heartbeat:exportfs.

Andrew - I was having similiar problems and I believe I've fixed it on mine and wouldn't be surprised if it was the same on yours.

***All the credit goes to Florian and the Hastexo group from pointing me to the problem***

I use the ubuntu-ha-maintainers PPA also.  There is an updated version of libglib2.0-0 that (along with some fixes that are applied to corosync? in the ppa) fixes the issue you and I were seeing with adding primitives and ra info commands and even caused corosync to hang on stop for mine.
Problem is that the libglib2.0-0 has an updated package in Lucid updates which gives it priority over the version in the ppa.  To fix:

(assuming you are using the ubuntu-ha-maintainers ppa)

$vi /etc/apt/preferences.d/ubuntu-ha-maintainers-ppa-pin-995
and add:

Package: *
Pin: release o=LP-PPA-ubuntu-ha-maintainers
Pin-Priority: 995

Then apt-get upgrade.  Then I restarted both nodes and all was well.

HTH!

Jake




More information about the Pacemaker mailing list