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" <jsm...@argotec.com> > To: "The Pacemaker cluster resource manager" <pacemaker@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.levr...@gmail.com> > > To: "The Pacemaker cluster resource manager" > > <pacemaker@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 <amar...@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@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 > _______________________________________________ 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