Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Pacemaker
Re: Cannot Create Primitive in CRM Shell
 

Index | Next | Previous | View Flat


jsmith at argotec

Jan 9, 2012, 12:31 PM


Views: 1574
Permalink
Re: Cannot Create Primitive in CRM Shell [In reply to]

----- Original Message -----
> From: "Rasto Levrinc" <rasto.levrinc [at] gmail>
> To: "The Pacemaker cluster resource manager" <pacemaker [at] oss>
> 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>
> 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
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

Subject User Time
Cannot Create Primitive in CRM Shell amartin at xes-inc Jan 6, 2012, 1:24 PM
    Re: Cannot Create Primitive in CRM Shell df.cluster at gmail Jan 9, 2012, 2:42 AM
    Re: Cannot Create Primitive in CRM Shell florian at hastexo Jan 9, 2012, 3:44 AM
    Re: Cannot Create Primitive in CRM Shell df.cluster at gmail Jan 9, 2012, 5:30 AM
    Re: Cannot Create Primitive in CRM Shell amartin at xes-inc Jan 9, 2012, 6:34 AM
        Re: Cannot Create Primitive in CRM Shell amartin at xes-inc Jan 9, 2012, 7:10 AM
            Re: Cannot Create Primitive in CRM Shell florian at hastexo Jan 9, 2012, 7:37 AM
        Re: Cannot Create Primitive in CRM Shell rasto.levrinc at gmail Jan 9, 2012, 11:12 AM
    Re: Cannot Create Primitive in CRM Shell jsmith at argotec Jan 9, 2012, 10:16 AM
    Re: Cannot Create Primitive in CRM Shell jsmith at argotec Jan 9, 2012, 12:31 PM
        Re: Cannot Create Primitive in CRM Shell jsmith at argotec Jan 9, 2012, 1:03 PM
            Re: Cannot Create Primitive in CRM Shell amartin at xes-inc Jan 9, 2012, 2:06 PM
                Re: Cannot Create Primitive in CRM Shell jsmith at argotec Jan 9, 2012, 3:04 PM
                    Re: Cannot Create Primitive in CRM Shell amartin at xes-inc Jan 10, 2012, 8:31 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.