[Pacemaker] Cannot Create Primitive in CRM Shell

Jake Smith jsmith at argotec.com
Mon Jan 9 16:03:14 EST 2012


Andrew - my solution below may have been a premature answer. It may have only applied to something on my system that wasn't right.

First thing would be to check and see if you have the correct libglib2.0-0 version:

2.24.1-0ubuntu1.1~ppa1

If you do than disregard below.

Jake 

----- Original Message -----
> From: "Jake Smith" <jsmith at argotec.com>
> To: "The Pacemaker cluster resource manager" <pacemaker at oss.clusterlabs.org>
> Sent: Monday, January 9, 2012 3:31:23 PM
> Subject: Re: [Pacemaker] Cannot Create Primitive in CRM Shell
> 
> ----- 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
> 
> 
> _______________________________________________
> 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