<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Hi Jake,<div id=""><br></div><div id="">I applied the fix you posted, rebooted my system, and I am now able to create primitives from the crm shell! I have confirmed that the ppa version of libglib2.0-0 is the one that is installed (2.24.1-0ubuntu1.1~ppa1).</div><div id=""><br></div><div id="aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown">I am not sure if it is a side-effect of this problem or not but shutting down the machines takes quite awhile - at least 5 minutes. During this time crmd prints a bunch of Pending (id: ...) statements for different resources in my pacemaker configuration. Eventually it times out and does restart, though it seems like this behavior could be improved.</div><div id=""><br></div><div id="aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown">Thanks!</div><div id="aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown"><br></div><div id="aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown">Andrew<br><br><hr id="zwchr"><div style="color:#000;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 3:03:14 PM<br><b>Subject: </b>Re: [Pacemaker] Cannot Create Primitive in CRM Shell<br><br>Andrew - my solution below may have been a premature answer. It may 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 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" <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 <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 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 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: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf<br>Bugs: http://bugs.clusterlabs.org<br></div><br></div></div></body></html>