<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'><font size="3">Hi Jake,</font><div style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; " id="">No, unfortunately I did not record the status of libglib2.0-0 before installing. However, I do have the list of packages that were installed when I did "apt-get install drbd8-utils heartbeat pacemaker" from the PPA and it is not listed among them:</div><div id=""><div id="">binutils build-essential cluster-glue cvs debconf-utils debhelper dkms dpatch dpkg-dev drbd8-source drbd8-utils</div><div id="">  fakeroot fancontrol g++ g++-4.4 gawk gcc gcc-4.4 gettext heartbeat html2text intltool-debian libc-dev-bin</div><div id="">  libc6-dev libcib1 libcluster-glue libcorosync4 libcrmcluster1 libcrmcommon2 libcroco3 libcurl3 libesmtp5 libgomp1</div><div id="">  libheartbeat2 liblrm2 libltdl7 liblzma1 libmail-sendmail-perl libnet1 libnspr4-0d libnss3-1d libopenhpi2</div><div id="">  libopenipmi0 libpe-rules2 libpe-status3 libpengine3 libperl5.10 libpils2 libplumb2 libplumbgpl2 libsensors4</div><div id="">  libsnmp-base libsnmp15 libstdc++6-4.4-dev libstonith1 libstonithd1 libsys-hostname-long-perl libtransitioner1</div><div id="">  libxml2-utils libxslt1.1 linux-libc-dev lm-sensors manpages-dev openhpid pacemaker patchutils po-debconf</div><div id="">  resource-agents xz-utils</div><div id=""><br></div><div id="aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown">This leads me to believe that it was installed from lucid-updates until I applied the fix.</div><div id="aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown"><br></div><div id="aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown">The version of Heartbeat (I am using it instead of Corosync) is 3.0.5 and the version of Pacemaker is 1.1.6.</div><div id="aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown"><br></div><div id="aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown">Thanks,</div><div id="aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown"><br></div><div id="aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown">Andrew</div><br><hr id="zwchr" style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; "><div style="color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica, Arial, sans-serif; font-size: 12pt; "><b>From: </b>"Jake Smith" <jsmith@argotec.com><br><b>To: </b>"The Pacemaker cluster resource manager" <pacemaker@oss.clusterlabs.org><br><b>Sent: </b>Monday, January 9, 2012 5:04:32 PM<br><b>Subject: </b>Re: [Pacemaker] Cannot Create Primitive in CRM Shell<br><br>Andrew,<br><br>Curious - Did you check the version before you applied the fix I posted?<br><br>No idea on the long shutdown time (mine wasn't even shutting down before the fix - now it's under 30 seconds)...<br>What version of corosync? pacemaker?<br><br>Jake <br><br><br><br>----- Original Message ----- <br><br>> From: "Andrew Martin" <amartin@xes-inc.com><br>> To: "The Pacemaker cluster resource manager"<br>> <pacemaker@oss.clusterlabs.org><br>> Sent: Monday, January 9, 2012 5:06:13 PM<br>> Subject: Re: [Pacemaker] Cannot Create Primitive in CRM Shell<br><br>> Hi Jake,<br><br>> I applied the fix you posted, rebooted my system, and I am now able<br>> to create primitives from the crm shell! I have confirmed that the<br>> ppa version of libglib2.0-0 is the one that is installed<br>> (2.24.1-0ubuntu1.1~ppa1).<br><br>> I am not sure if it is a side-effect of this problem or not but<br>> shutting down the machines takes quite awhile - at least 5 minutes.<br>> During this time crmd prints a bunch of Pending (id: ...) statements<br>> for different resources in my pacemaker configuration. Eventually it<br>> times out and does restart, though it seems like this behavior could<br>> be improved.<br><br>> Thanks!<br><br>> Andrew<br><br>> ----- Original Message -----<br><br>> From: "Jake Smith" <jsmith@argotec.com><br>> To: "The Pacemaker cluster resource manager"<br>> <pacemaker@oss.clusterlabs.org><br>> Sent: Monday, January 9, 2012 3:03:14 PM<br>> Subject: Re: [Pacemaker] Cannot Create Primitive in CRM Shell<br><br>> Andrew - my solution below may have been a premature answer. It may<br>> have only applied to something on my system that wasn't right.<br><br>> First thing would be to check and see if you have the correct<br>> libglib2.0-0 version:<br><br>> 2.24.1-0ubuntu1.1~ppa1<br><br>> If you do than disregard below.<br><br>> Jake<br><br>> ----- Original Message -----<br>> > From: "Jake Smith" <jsmith@argotec.com><br>> > To: "The Pacemaker cluster resource manager"<br>> > <pacemaker@oss.clusterlabs.org><br>> > Sent: Monday, January 9, 2012 3:31:23 PM<br>> > Subject: Re: [Pacemaker] Cannot Create Primitive in CRM Shell<br>> ><br>> > ----- Original Message -----<br>> > > From: "Rasto Levrinc" <rasto.levrinc@gmail.com><br>> > > To: "The Pacemaker cluster resource manager"<br>> > > <pacemaker@oss.clusterlabs.org><br>> > > Sent: Monday, January 9, 2012 2:12:54 PM<br>> > > Subject: Re: [Pacemaker] Cannot Create Primitive in CRM Shell<br>> > ><br>> > > On Mon, Jan 9, 2012 at 3:34 PM, Andrew Martin<br>> > > <amartin@xes-inc.com><br>> > > wrote:<br>> > > > Hi Florian,<br>> > > ><br>> > > > Thanks for the quick response. This is a fresh install of<br>> > > > pacemaker/heartbeat on two VMs so it should not have any<br>> > > > previous/corrupted<br>> > > > configuration (Ubuntu 10.04 amd64). I had previously deployed<br>> > > > pacemaker on<br>> > > > alternative copies of these VM images, but both of those have<br>> > > > since<br>> > > > been<br>> > > > deleted. I am using the versions of these packages from the<br>> > > > Ubuntu<br>> > > > HA<br>> > > > PPA because the Lucid version does not appear to contain<br>> > > > ocf:heartbeat:exportfs.<br>> ><br>> > Andrew - I was having similiar problems and I believe I've fixed it<br>> > on mine and wouldn't be surprised if it was the same on yours.<br>> ><br>> > ***All the credit goes to Florian and the Hastexo group from<br>> > pointing<br>> > me to the problem***<br>> ><br>> > I use the ubuntu-ha-maintainers PPA also. There is an updated<br>> > version of libglib2.0-0 that (along with some fixes that are<br>> > applied<br>> > to corosync? in the ppa) fixes the issue you and I were seeing with<br>> > adding primitives and ra info commands and even caused corosync to<br>> > hang on stop for mine.<br>> > Problem is that the libglib2.0-0 has an updated package in Lucid<br>> > updates which gives it priority over the version in the ppa. To<br>> > fix:<br>> ><br>> > (assuming you are using the ubuntu-ha-maintainers ppa)<br>> ><br>> > $vi /etc/apt/preferences.d/ubuntu-ha-maintainers-ppa-pin-995<br>> > and add:<br>> ><br>> > Package: *<br>> > Pin: release o=LP-PPA-ubuntu-ha-maintainers<br>> > Pin-Priority: 995<br>> ><br>> > Then apt-get upgrade. Then I restarted both nodes and all was well.<br>> ><br>> > HTH!<br>> ><br>> > Jake<br>> ><br>> ><br>> > _______________________________________________<br>> > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org<br>> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker<br>> ><br>> > Project Home: http://www.clusterlabs.org<br>> > Getting started:<br>> > http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf<br>> > Bugs: http://bugs.clusterlabs.org<br>> ><br><br>> _______________________________________________<br>> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org<br>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker<br><br>> Project Home: http://www.clusterlabs.org<br>> Getting started:<br>> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf<br>> Bugs: http://bugs.clusterlabs.org<br><br>> _______________________________________________<br>> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org<br>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker<br><br>> Project Home: http://www.clusterlabs.org<br>> Getting started:<br>> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf<br>> Bugs: http://bugs.clusterlabs.org<br><br>_______________________________________________<br>Pacemaker mailing list: Pacemaker@oss.clusterlabs.org<br>http://oss.clusterlabs.org/mailman/listinfo/pacemaker<br><br>Project Home: http://www.clusterlabs.org<br>Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf<br>Bugs: http://bugs.clusterlabs.org<br></div><br></div></div></body></html>