Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-10-03 Thread Colin McCormack
On 10/02/12 15:49, pacemaker-requ...@oss.clusterlabs.org wrote: Check out http://clusterlabs.org/rpm-next for the latest pacemaker for RHEL5 derivatives. Thank you! No more hangs! Although i leave the "crm options user hacluster" my normal linux u

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-10-02 Thread Dejan Muhamedagic
On Tue, Oct 02, 2012 at 01:12:51PM +0100, Colin McCormack wrote: > Hi Dejan, > I see that's some kind of workaround in pacemaker code - but how do i Right. You'd need to patch the code. Since it's python, you can also patch the installed version. > affect a workaround? > But i need a workaround f

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-10-02 Thread Colin McCormack
Hi Dejan, I see that's some kind of workaround in pacemaker code - but how do i affect a workaround? But i need a workaround from the terminal/bash So when i do: crm configure... it won't hang on me Cheers again Col On 10/02/12 12:04, pacemaker-requ...@oss.clusterlabs.org wrote: Ah, it's v

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-10-02 Thread Andrew Beekhof
On Tue, Oct 2, 2012 at 6:52 PM, Colin McCormack wrote: > Hi again, > > > "OK. This seems to be a deficiency in lrmd which got fixed later. But > there was a workaround in crm shell for almost two years (iirc since > pacemaker v1.1.5)." > > What was this workaround - sorry for such low-level questi

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-10-02 Thread Dejan Muhamedagic
Hi, On Tue, Oct 02, 2012 at 09:52:39AM +0100, Colin McCormack wrote: > Hi again, > > "OK. This seems to be a deficiency in lrmd which got fixed later. But > there was a workaround in crm shell for almost two years (iirc since > pacemaker v1.1.5)." > > What was this workaround - sorry for such lo

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-10-02 Thread Colin McCormack
Hi again, "OK. This seems to be a deficiency in lrmd which got fixed later. But there was a workaround in crm shell for almost two years (iirc since pacemaker v1.1.5)." What was this workaround - sorry for such low-level questions - but googling for this isn't very useful - they're all re-posts

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-10-01 Thread Dejan Muhamedagic
On Fri, Sep 28, 2012 at 04:51:36PM +0100, Colin McCormack wrote: > Hi Dejan - thanks for taking the time to respond again > > >"Hangs? Wasn't it in the first message that "cibadmin is not > available"? If it hangs, then you should check the process list (pstree) > to see what the shell is doing at

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-09-28 Thread Colin McCormack
Hi Dejan - thanks for taking the time to respond again >"Hangs? Wasn't it in the first message that "cibadmin is not available"? If it hangs, then you should check the process list (pstree) to see what the shell is doing at the time and take a look at the logs." crm configure... Hangs sudo crm

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-09-28 Thread Dejan Muhamedagic
again > > Col > > > > > On 09/27/12 18:07, pacemaker-requ...@oss.clusterlabs.org wrote: > >Message: 3 > >Date: Thu, 27 Sep 2012 16:40:15 +0200 > >From: Lars Marowsky-Bree > >To: The Pacemaker cluster resource manager > > > >Su

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-09-28 Thread Dejan Muhamedagic
Hi, On Thu, Sep 27, 2012 at 04:40:15PM +0200, Lars Marowsky-Bree wrote: > On 2012-09-27T14:57:08, Colin McCormack wrote: > > > I installed pacemaker/corosync as root (details below): > > Pacemaker version 1.0.12, release 1.el5.centos, x86_64 > > Corosync version 1.2.7, release 1.1.el5, x86_64 >

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-09-28 Thread Colin McCormack
012 16:40:15 +0200 From: Lars Marowsky-Bree To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user Message-ID:<20120927144015.go4...@suse.de> Content-Type: text/plain; charset=iso-

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-09-27 Thread Lars Marowsky-Bree
On 2012-09-27T14:57:08, Colin McCormack wrote: > I installed pacemaker/corosync as root (details below): > Pacemaker version 1.0.12, release 1.el5.centos, x86_64 > Corosync version 1.2.7, release 1.1.el5, x86_64 You have the user in the haclient group, and thus it should be able to control the c

[Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-09-27 Thread Colin McCormack
Hi, I can't issue 'crm configure' commands under a designated privileged user (via: crm options user priv_user) - pacemaker seems to be only be able to be configured via the 'root' user. Run with sudo it gives this error: 'cibadmin not available, check your installation' Steps taken: I insta