Re: [Pacemaker] Regarding Stonith RAs

2011-11-30 Thread neha chatrath
 Could not init comms on: /var/run/crm/cib_rw
> Nov 24 17:26:19 p crmd: [3544]: debug: cib_native_signon_raw: Connection
> to command channel failed
> Nov 24 17:26:19 p crmd: [3544]: debug: init_client_ipc_comms_nodispatch:
> Attempting to talk on: /var/run/crm/cib_callback
> Nov 24 17:26:19 p crmd: [3544]: debug: init_client_ipc_comms_nodispatch:
> Could not init comms on: /var/run/crm/cib_callback
> Nov 24 17:26:19 p crmd: [3544]: debug: cib_native_signon_raw: Connection
> to callback channel failed
> Nov 24 17:26:19 p crmd: [3544]: debug: cib_native_signon_raw: Connection
> to CIB failed: connection failed
> Nov 24 17:26:19 p crmd: [3544]: debug: cib_native_signoff: Signing out of
> the CIB Service
> Nov 24 17:26:19 p cib: [3540]: info: write_cib_contents: Archived previous
> version as /var/lib/heartbeat/crm/cib-1.raw
> Nov 24 17:26:19 p cib: [3540]: debug: write_cib_contents: Writing CIB to
> disk
> ...
> ...
> ..
> Nov 24 17:27:47 p crmd: [3544]: WARN: do_cib_control: Couldn't complete
> CIB registration 30 times... pause and retry
> Nov 24 17:27:47 p crmd: [3544]: ERROR: do_cib_control: Could not complete
> CIB registration  30 times... hard error
> Nov 24 17:27:47 p crmd: [3544]: debug: s_crmd_fsa: Processing I_ERROR: [
> state=S_STARTING cause=C_FSA_INTERNAL origin=do_cib_control ]
> Nov 24 17:27:47 p crmd: [3544]: debug: do_fsa_action: actions:trace://
> A_ERROR
> Nov 24 17:27:47 p crmd: [3544]: ERROR: do_log: FSA: Input I_ERROR from
> do_cib_control() received in state S_STARTING
> Nov 24 17:27:47 p crmd: [3544]: info: do_state_transition: State
> transition S_STARTING -> S_RECOVERY [ input=I_ERROR cause=C_FSA_INTERNAL
> origin=do_cib_control ]
> Nov 24 17:27:47 p crmd: [3544]: debug: do_fsa_action: actions:trace://
> A_DC_TIMER_STOP
> Nov 24 17:27:47 p crmd: [3544]: debug: do_fsa_action: actions:trace://
> A_INTEGRATE_TIMER_STOP
> Nov 24 17:27:47 p crmd: [3544]: debug: do_fsa_action: actions:trace://
> A_FINALIZE_TIMER_STOP
> Nov 24 17:27:47 p crmd: [3544]: debug: do_fsa_action: actions:trace://
> A_RECOVER
> Nov 24 17:27:47 p crmd: [3544]: ERROR: do_recover: Action A_RECOVER
> (0100) not supported
> Nov 24 17:27:47 p crmd: [3544]: debug: do_fsa_action: actions:trace://
> A_HA_CONNECT
> Nov 24 17:27:47 p crmd: [3544]: CRIT: get_cluster_type: This installation
> of Pacemaker does not support the '(null)' cluster infrastructure.
> Terminating.
> Nov 24 17:27:47 p heartbeat: [3522]: WARN: Managed /usr/lib/heartbeat/crmd
> process 3544 exited with return code 100.
> Nov 24 17:27:47 p heartbeat: [3522]: ERROR: Client /usr/lib/heartbeat/crmd
> exited with return code 100."
>
>  It seems to be reading configuration info from /var/run/heartbeat
> directory but actually the info is present in /usr/var/run/heartbeat.
>
> Can somebody suggest me how should I correct that path?
> Path environment variable has the following value:
> [root@p init.d]# echo $PATH
>
> /usr/lib/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
>
>
> Thanks and regards
> Neha Chatrath
>
> Date: Fri, 18 Nov 2011 10:22:22 +1100
> From: Andrew Beekhof 
>
> To: The Pacemaker cluster resource manager
> >
> Subject: Re: [Pacemaker] Regarding Stonith RAs
> Message-ID:
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Thu, Nov 17, 2011 at 1:28 AM, Dejan Muhamedagic 
> wrote:
> > Hi,
> >
> > On Wed, Nov 16, 2011 at 05:49:30PM +0530, neha chatrath wrote:
> > [...]
>
> >> Nov 14 13:16:57 ggns2mexsatsdp17.hsc.com lrmd: [3976]: notice:
> >> on_msg_get_rsc_types: can not find this RA class stonith"
> >
> > The PILS plugin handling stonith resources was not found.
> > Strange, cannot recall seeing this before.
>
> Could be a RHEL6 based distro.
>
> > It should be in
> > /usr/lib/heartbeat/plugins/RAExec/stonith.so (or /usr/lib64
> > depending on your installation). Please check permissions and if
> > this file is really a valid so object file. If everything's in
> > order no idea what else could be the reason. You could strace
> > lrmd on startup and see what happens between lines 1137 and 1158.
> >
> > Thanks,
> >
> > Dejan
>
>
> On Mon, Nov 14, 2011 at 2:05 PM, neha chatrath wrote:
>
>> Hello,
>> I am facing issue in configuring a Stonith resource in my system of
>> cluster with 2 nodes.
>> Whenever I try to give the following command:
>> "crm configure primitive app_fence stonith::external/ipmi params hostname=
>> ggns2mexsatsdp17.hsc.com ipaddr=192.168.113.17 userid=root
>> passwd=pass@abc123" ,
>> I get the following 

Re: [Pacemaker] Regarding Stonith RAs

2011-11-27 Thread Andrew Beekhof
o talk on: /var/run/crm/cib_callback
> Nov 24 17:26:19 p crmd: [3544]: debug: init_client_ipc_comms_nodispatch:
> Could not init comms on: /var/run/crm/cib_callback
> Nov 24 17:26:19 p crmd: [3544]: debug: cib_native_signon_raw: Connection to
> callback channel failed
> Nov 24 17:26:19 p crmd: [3544]: debug: cib_native_signon_raw: Connection to
> CIB failed: connection failed
> Nov 24 17:26:19 p crmd: [3544]: debug: cib_native_signoff: Signing out of
> the CIB Service
> Nov 24 17:26:19 p cib: [3540]: info: write_cib_contents: Archived previous
> version as /var/lib/heartbeat/crm/cib-1.raw
> Nov 24 17:26:19 p cib: [3540]: debug: write_cib_contents: Writing CIB to
> disk
> ...
> ...
> ..
> Nov 24 17:27:47 p crmd: [3544]: WARN: do_cib_control: Couldn't complete CIB
> registration 30 times... pause and retry
> Nov 24 17:27:47 p crmd: [3544]: ERROR: do_cib_control: Could not complete
> CIB registration  30 times... hard error
> Nov 24 17:27:47 p crmd: [3544]: debug: s_crmd_fsa: Processing I_ERROR: [
> state=S_STARTING cause=C_FSA_INTERNAL origin=do_cib_control ]
> Nov 24 17:27:47 p crmd: [3544]: debug: do_fsa_action: actions:trace:    //
> A_ERROR
> Nov 24 17:27:47 p crmd: [3544]: ERROR: do_log: FSA: Input I_ERROR from
> do_cib_control() received in state S_STARTING
> Nov 24 17:27:47 p crmd: [3544]: info: do_state_transition: State transition
> S_STARTING -> S_RECOVERY [ input=I_ERROR cause=C_FSA_INTERNAL
> origin=do_cib_control ]
> Nov 24 17:27:47 p crmd: [3544]: debug: do_fsa_action: actions:trace:    //
> A_DC_TIMER_STOP
> Nov 24 17:27:47 p crmd: [3544]: debug: do_fsa_action: actions:trace:    //
> A_INTEGRATE_TIMER_STOP
> Nov 24 17:27:47 p crmd: [3544]: debug: do_fsa_action: actions:trace:    //
> A_FINALIZE_TIMER_STOP
> Nov 24 17:27:47 p crmd: [3544]: debug: do_fsa_action: actions:trace:    //
> A_RECOVER
> Nov 24 17:27:47 p crmd: [3544]: ERROR: do_recover: Action A_RECOVER
> (0100) not supported
> Nov 24 17:27:47 p crmd: [3544]: debug: do_fsa_action: actions:trace:    //
> A_HA_CONNECT
> Nov 24 17:27:47 p crmd: [3544]: CRIT: get_cluster_type: This installation of
> Pacemaker does not support the '(null)' cluster infrastructure.
> Terminating.
> Nov 24 17:27:47 p heartbeat: [3522]: WARN: Managed /usr/lib/heartbeat/crmd
> process 3544 exited with return code 100.
> Nov 24 17:27:47 p heartbeat: [3522]: ERROR: Client /usr/lib/heartbeat/crmd
> exited with return code 100."
>
>  It seems to be reading configuration info from /var/run/heartbeat directory
> but actually the info is present in /usr/var/run/heartbeat.
>
> Can somebody suggest me how should I correct that path?
> Path environment variable has the following value:
> [root@p init.d]# echo $PATH
> /usr/lib/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
>
> Thanks and regards
> Neha Chatrath
>
> Date: Fri, 18 Nov 2011 10:22:22 +1100
> From: Andrew Beekhof 
> To: The Pacemaker cluster resource manager
>        >
> Subject: Re: [Pacemaker] Regarding Stonith RAs
> Message-ID:
>        
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Thu, Nov 17, 2011 at 1:28 AM, Dejan Muhamedagic 
> wrote:
>> Hi,
>>
>> On Wed, Nov 16, 2011 at 05:49:30PM +0530, neha chatrath wrote:
>> [...]
>>> Nov 14 13:16:57 ggns2mexsatsdp17.hsc.com lrmd: [3976]: notice:
>>> on_msg_get_rsc_types: can not find this RA class stonith"
>>
>> The PILS plugin handling stonith resources was not found.
>> Strange, cannot recall seeing this before.
>
> Could be a RHEL6 based distro.
>
>> It should be in
>> /usr/lib/heartbeat/plugins/RAExec/stonith.so (or /usr/lib64
>> depending on your installation). Please check permissions and if
>> this file is really a valid so object file. If everything's in
>> order no idea what else could be the reason. You could strace
>> lrmd on startup and see what happens between lines 1137 and 1158.
>>
>> Thanks,
>>
>> Dejan
>
> On Mon, Nov 14, 2011 at 2:05 PM, neha chatrath 
> wrote:
>>
>> Hello,
>> I am facing issue in configuring a Stonith resource in my system of
>> cluster with 2 nodes.
>> Whenever I try to give the following command:
>> "crm configure primitive app_fence stonith::external/ipmi params
>> hostname=ggns2mexsatsdp17.hsc.com ipaddr=192.168.113.17 userid=root
>> passwd=pass@abc123" ,
>> I get the following errors:
>>
>> "ERROR: stonith:external/ipmi: could not parse meta-data:
>> Traceback (most recent call last):
>>   File "/usr/sbin/crm", line 41, in 
>>     crm.main.run()
>>   File "/usr/lib/python2.6/site-packages/crm

Re: [Pacemaker] Regarding Stonith RAs

2011-11-24 Thread neha chatrath
 17:27:47 p crmd: [3544]: WARN: do_cib_control: Couldn't complete CIB
registration 30 times... pause and retry
Nov 24 17:27:47 p crmd: [3544]: ERROR: do_cib_control: Could not complete
CIB registration  30 times... hard error
Nov 24 17:27:47 p crmd: [3544]: debug: s_crmd_fsa: Processing I_ERROR: [
state=S_STARTING cause=C_FSA_INTERNAL origin=do_cib_control ]
Nov 24 17:27:47 p crmd: [3544]: debug: do_fsa_action: actions:trace://
A_ERROR
Nov 24 17:27:47 p crmd: [3544]: ERROR: do_log: FSA: Input I_ERROR from
do_cib_control() received in state S_STARTING
Nov 24 17:27:47 p crmd: [3544]: info: do_state_transition: State transition
S_STARTING -> S_RECOVERY [ input=I_ERROR cause=C_FSA_INTERNAL
origin=do_cib_control ]
Nov 24 17:27:47 p crmd: [3544]: debug: do_fsa_action: actions:trace://
A_DC_TIMER_STOP
Nov 24 17:27:47 p crmd: [3544]: debug: do_fsa_action: actions:trace://
A_INTEGRATE_TIMER_STOP
Nov 24 17:27:47 p crmd: [3544]: debug: do_fsa_action: actions:trace://
A_FINALIZE_TIMER_STOP
Nov 24 17:27:47 p crmd: [3544]: debug: do_fsa_action: actions:trace://
A_RECOVER
Nov 24 17:27:47 p crmd: [3544]: ERROR: do_recover: Action A_RECOVER
(0100) not supported
Nov 24 17:27:47 p crmd: [3544]: debug: do_fsa_action: actions:trace://
A_HA_CONNECT
Nov 24 17:27:47 p crmd: [3544]: CRIT: get_cluster_type: This installation
of Pacemaker does not support the '(null)' cluster infrastructure.
Terminating.
Nov 24 17:27:47 p heartbeat: [3522]: WARN: Managed /usr/lib/heartbeat/crmd
process 3544 exited with return code 100.
Nov 24 17:27:47 p heartbeat: [3522]: ERROR: Client /usr/lib/heartbeat/crmd
exited with return code 100."

 It seems to be reading configuration info from /var/run/heartbeat
directory but actually the info is present in /usr/var/run/heartbeat.

Can somebody suggest me how should I correct that path?
Path environment variable has the following value:
[root@p init.d]# echo $PATH
/usr/lib/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

Thanks and regards
Neha Chatrath

Date: Fri, 18 Nov 2011 10:22:22 +1100
From: Andrew Beekhof 
To: The Pacemaker cluster resource manager
   
Subject: Re: [Pacemaker] Regarding Stonith RAs
Message-ID:
   
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Nov 17, 2011 at 1:28 AM, Dejan Muhamedagic 
wrote:
> Hi,
>
> On Wed, Nov 16, 2011 at 05:49:30PM +0530, neha chatrath wrote:
> [...]
>> Nov 14 13:16:57 ggns2mexsatsdp17.hsc.com lrmd: [3976]: notice:
>> on_msg_get_rsc_types: can not find this RA class stonith"
>
> The PILS plugin handling stonith resources was not found.
> Strange, cannot recall seeing this before.

Could be a RHEL6 based distro.

> It should be in
> /usr/lib/heartbeat/plugins/RAExec/stonith.so (or /usr/lib64
> depending on your installation). Please check permissions and if
> this file is really a valid so object file. If everything's in
> order no idea what else could be the reason. You could strace
> lrmd on startup and see what happens between lines 1137 and 1158.
>
> Thanks,
>
> Dejan


On Mon, Nov 14, 2011 at 2:05 PM, neha chatrath wrote:

> Hello,
> I am facing issue in configuring a Stonith resource in my system of
> cluster with 2 nodes.
> Whenever I try to give the following command:
> "crm configure primitive app_fence stonith::external/ipmi params hostname=
> ggns2mexsatsdp17.hsc.com ipaddr=192.168.113.17 userid=root
> passwd=pass@abc123" ,
> I get the following errors:
>
> "ERROR: stonith:external/ipmi: could not parse meta-data:
> Traceback (most recent call last):
>   File "/usr/sbin/crm", line 41, in 
> crm.main.run()
>   File "/usr/lib/python2.6/site-packages/crm/main.py", line 249, in run
> if parse_line(levels,shlex.split(' '.join(args))):
>   File "/usr/lib/python2.6/site-packages/crm/main.py", line 145, in
> parse_line
> lvl.release()
>   File "/usr/lib/python2.6/site-packages/crm/levels.py", line 68, in
> release
> self.droplevel()
>   File "/usr/lib/python2.6/site-packages/crm/levels.py", line 87, in
> droplevel
> self.current_level.end_game(self._in_transit)
>   File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1524, in end_game
> self.commit("commit")
>   File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1425, in commit
> self._verify(mkset_obj("xml","changed"),mkset_obj("xml"))
>   File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1324, in _verify
> rc2 = set_obj_semantic.semantic_check(set_obj_all)
>   File "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 280, in
> semantic_check
> rc = self.__check_unique_clash(set_obj_all)
>   File "/usr/lib/python2.6

Re: [Pacemaker] Regarding Stonith RAs

2011-11-17 Thread Andrew Beekhof
On Thu, Nov 17, 2011 at 1:28 AM, Dejan Muhamedagic  wrote:
> Hi,
>
> On Wed, Nov 16, 2011 at 05:49:30PM +0530, neha chatrath wrote:
> [...]
>> Nov 14 13:16:57 ggns2mexsatsdp17.hsc.com lrmd: [3976]: notice:
>> on_msg_get_rsc_types: can not find this RA class stonith"
>
> The PILS plugin handling stonith resources was not found.
> Strange, cannot recall seeing this before.

Could be a RHEL6 based distro.

> It should be in
> /usr/lib/heartbeat/plugins/RAExec/stonith.so (or /usr/lib64
> depending on your installation). Please check permissions and if
> this file is really a valid so object file. If everything's in
> order no idea what else could be the reason. You could strace
> lrmd on startup and see what happens between lines 1137 and 1158.
>
> Thanks,
>
> Dejan
>
>
>>
>> Thanks and regards
>> Neha Chatrath
>>
>> > --
>> >
>> >
>> > Date: Wed, 16 Nov 2011 11:12:12 +0100
>> > From: Dejan Muhamedagic 
>> > To: The Pacemaker cluster resource manager
>> >        
>> > Subject: Re: [Pacemaker] Regarding Stonith RAs
>> > Message-ID: <2016101211.GA4938@walrus.homenet>
>> > Content-Type: text/plain; charset=us-ascii
>> >
>> > Hi,
>> >
>> > On Tue, Nov 15, 2011 at 08:44:45AM +0530, neha chatrath wrote:
>> > > Hello Dejan,
>> > >
>> > > I am using Cluster Glue version 1.0.7.
>> > > Also this does not seem to be a problem with a specific Stonith agent
>> > like
>> > > IPMI, I think it is more of an issue with all the Stonith agents.
>> > > I have tried configuring another test Stonith agent e.g. Suicide and I am
>> > > facing exactly the same issue.
>> >
>> > Looks like a broken installation. I guess that metadata for other
>> > resource classes works fine. It could be some issue with
>> > stonith-ng. Did you notice any messages from stonith-ng?
>> >
>> > Thanks,
>> >
>> > Dejan
>> >
>> > > Kindly please suggest.
>> > >
>> > > Thanks and regards
>> > > Neha Chatrath
>> > >
>> > > Date: Mon, 14 Nov 2011 15:41:43 +0100
>> > > From: Dejan Muhamedagic 
>> > > To: The Pacemaker cluster resource manager
>> > >        > > > >
>> > > Subject: Re: [Pacemaker] Regarding Stonith RAs
>> > > Message-ID: <2014144142.GA3735@squib>
>> > > Content-Type: text/plain; charset=us-ascii
>> > >
>> > > Hi,
>> > >
>> > > On Mon, Nov 14, 2011 at 02:05:49PM +0530, neha chatrath wrote:
>> > > > Hello,
>> > > > I am facing issue in configuring a Stonith resource in my system of
>> > > cluster
>> > > > with 2 nodes.
>> > > > Whenever I try to give the following command:
>> > > > "crm configure primitive app_fence stonith::external/ipmi params
>> > hostname=
>> > > > ggns2mexsatsdp17.hsc.com ipaddr=192.168.113.17 userid=root
>> > > > passwd=pass@abc123" ,
>> > > > I get the following errors:
>> > > >
>> > > > "ERROR: stonith:external/ipmi: could not parse meta-data:
>> > >
>> > > Which version of cluster-glue do you have installed? There is a
>> > > serious issue with external/ipmi in version 1.0.8, we'll make a
>> > > new release ASAP.
>> > >
>> > > Thanks,
>> > >
>> > > Dejan
>> > >
>> > >
>> > > On Mon, Nov 14, 2011 at 2:05 PM, neha chatrath > > >wrote:
>> > >
>> > > > Hello,
>> > > > I am facing issue in configuring a Stonith resource in my system of
>> > > > cluster with 2 nodes.
>> > > > Whenever I try to give the following command:
>> > > > "crm configure primitive app_fence stonith::external/ipmi params
>> > hostname=
>> > > > ggns2mexsatsdp17.hsc.com ipaddr=192.168.113.17 userid=root
>> > > > passwd=pass@abc123" ,
>> > > > I get the following errors:
>> > > >
>> > > > "ERROR: stonith:external/ipmi: could not parse meta-data:
>> > > > Traceback (most recent call last):
>> > > >   File "/usr/sbin/crm", line 41, in 
>> > > >     crm.main.run()
>> > > >   File "/usr/lib/pyt

Re: [Pacemaker] Regarding Stonith RAs

2011-11-16 Thread Dejan Muhamedagic
Hi,

On Wed, Nov 16, 2011 at 05:49:30PM +0530, neha chatrath wrote:
[...]
> Nov 14 13:16:57 ggns2mexsatsdp17.hsc.com lrmd: [3976]: notice:
> on_msg_get_rsc_types: can not find this RA class stonith"

The PILS plugin handling stonith resources was not found.
Strange, cannot recall seeing this before. It should be in
/usr/lib/heartbeat/plugins/RAExec/stonith.so (or /usr/lib64
depending on your installation). Please check permissions and if
this file is really a valid so object file. If everything's in
order no idea what else could be the reason. You could strace
lrmd on startup and see what happens between lines 1137 and 1158.

Thanks,

Dejan


> 
> Thanks and regards
> Neha Chatrath
> 
> > --
> >
> >
> > Date: Wed, 16 Nov 2011 11:12:12 +0100
> > From: Dejan Muhamedagic 
> > To: The Pacemaker cluster resource manager
> >
> > Subject: Re: [Pacemaker] Regarding Stonith RAs
> > Message-ID: <2016101211.GA4938@walrus.homenet>
> > Content-Type: text/plain; charset=us-ascii
> >
> > Hi,
> >
> > On Tue, Nov 15, 2011 at 08:44:45AM +0530, neha chatrath wrote:
> > > Hello Dejan,
> > >
> > > I am using Cluster Glue version 1.0.7.
> > > Also this does not seem to be a problem with a specific Stonith agent
> > like
> > > IPMI, I think it is more of an issue with all the Stonith agents.
> > > I have tried configuring another test Stonith agent e.g. Suicide and I am
> > > facing exactly the same issue.
> >
> > Looks like a broken installation. I guess that metadata for other
> > resource classes works fine. It could be some issue with
> > stonith-ng. Did you notice any messages from stonith-ng?
> >
> > Thanks,
> >
> > Dejan
> >
> > > Kindly please suggest.
> > >
> > > Thanks and regards
> > > Neha Chatrath
> > >
> > > Date: Mon, 14 Nov 2011 15:41:43 +0100
> > > From: Dejan Muhamedagic 
> > > To: The Pacemaker cluster resource manager
> > > > > >
> > > Subject: Re: [Pacemaker] Regarding Stonith RAs
> > > Message-ID: <2014144142.GA3735@squib>
> > > Content-Type: text/plain; charset=us-ascii
> > >
> > > Hi,
> > >
> > > On Mon, Nov 14, 2011 at 02:05:49PM +0530, neha chatrath wrote:
> > > > Hello,
> > > > I am facing issue in configuring a Stonith resource in my system of
> > > cluster
> > > > with 2 nodes.
> > > > Whenever I try to give the following command:
> > > > "crm configure primitive app_fence stonith::external/ipmi params
> > hostname=
> > > > ggns2mexsatsdp17.hsc.com ipaddr=192.168.113.17 userid=root
> > > > passwd=pass@abc123" ,
> > > > I get the following errors:
> > > >
> > > > "ERROR: stonith:external/ipmi: could not parse meta-data:
> > >
> > > Which version of cluster-glue do you have installed? There is a
> > > serious issue with external/ipmi in version 1.0.8, we'll make a
> > > new release ASAP.
> > >
> > > Thanks,
> > >
> > > Dejan
> > >
> > >
> > > On Mon, Nov 14, 2011 at 2:05 PM, neha chatrath  > >wrote:
> > >
> > > > Hello,
> > > > I am facing issue in configuring a Stonith resource in my system of
> > > > cluster with 2 nodes.
> > > > Whenever I try to give the following command:
> > > > "crm configure primitive app_fence stonith::external/ipmi params
> > hostname=
> > > > ggns2mexsatsdp17.hsc.com ipaddr=192.168.113.17 userid=root
> > > > passwd=pass@abc123" ,
> > > > I get the following errors:
> > > >
> > > > "ERROR: stonith:external/ipmi: could not parse meta-data:
> > > > Traceback (most recent call last):
> > > >   File "/usr/sbin/crm", line 41, in 
> > > > crm.main.run()
> > > >   File "/usr/lib/python2.6/site-packages/crm/main.py", line 249, in run
> > > > if parse_line(levels,shlex.split(' '.join(args))):
> > > >   File "/usr/lib/python2.6/site-packages/crm/main.py", line 145, in
> > > > parse_line
> > > > lvl.release()
> > > >   File "/usr/lib/python2.6/site-packages/crm/levels.py", line 68, in
> > > > release
> > > > self.droplevel()
> > > >   File "/usr/lib/python2.6/site-packages/crm/levels.p

Re: [Pacemaker] Regarding Stonith RAs

2011-11-16 Thread neha chatrath
types: can not find this RA class stonith"


Thanks and regards
Neha Chatrath

> --
>
>
> Date: Wed, 16 Nov 2011 11:12:12 +0100
> From: Dejan Muhamedagic 
> To: The Pacemaker cluster resource manager
>
> Subject: Re: [Pacemaker] Regarding Stonith RAs
> Message-ID: <2016101211.GA4938@walrus.homenet>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> On Tue, Nov 15, 2011 at 08:44:45AM +0530, neha chatrath wrote:
> > Hello Dejan,
> >
> > I am using Cluster Glue version 1.0.7.
> > Also this does not seem to be a problem with a specific Stonith agent
> like
> > IPMI, I think it is more of an issue with all the Stonith agents.
> > I have tried configuring another test Stonith agent e.g. Suicide and I am
> > facing exactly the same issue.
>
> Looks like a broken installation. I guess that metadata for other
> resource classes works fine. It could be some issue with
> stonith-ng. Did you notice any messages from stonith-ng?
>
> Thanks,
>
> Dejan
>
> > Kindly please suggest.
> >
> > Thanks and regards
> > Neha Chatrath
> >
> > Date: Mon, 14 Nov 2011 15:41:43 +0100
> > From: Dejan Muhamedagic 
> > To: The Pacemaker cluster resource manager
> > > >
> > Subject: Re: [Pacemaker] Regarding Stonith RAs
> > Message-ID: <2014144142.GA3735@squib>
> > Content-Type: text/plain; charset=us-ascii
> >
> > Hi,
> >
> > On Mon, Nov 14, 2011 at 02:05:49PM +0530, neha chatrath wrote:
> > > Hello,
> > > I am facing issue in configuring a Stonith resource in my system of
> > cluster
> > > with 2 nodes.
> > > Whenever I try to give the following command:
> > > "crm configure primitive app_fence stonith::external/ipmi params
> hostname=
> > > ggns2mexsatsdp17.hsc.com ipaddr=192.168.113.17 userid=root
> > > passwd=pass@abc123" ,
> > > I get the following errors:
> > >
> > > "ERROR: stonith:external/ipmi: could not parse meta-data:
> >
> > Which version of cluster-glue do you have installed? There is a
> > serious issue with external/ipmi in version 1.0.8, we'll make a
> > new release ASAP.
> >
> > Thanks,
> >
> > Dejan
> >
> >
> > On Mon, Nov 14, 2011 at 2:05 PM, neha chatrath  >wrote:
> >
> > > Hello,
> > > I am facing issue in configuring a Stonith resource in my system of
> > > cluster with 2 nodes.
> > > Whenever I try to give the following command:
> > > "crm configure primitive app_fence stonith::external/ipmi params
> hostname=
> > > ggns2mexsatsdp17.hsc.com ipaddr=192.168.113.17 userid=root
> > > passwd=pass@abc123" ,
> > > I get the following errors:
> > >
> > > "ERROR: stonith:external/ipmi: could not parse meta-data:
> > > Traceback (most recent call last):
> > >   File "/usr/sbin/crm", line 41, in 
> > > crm.main.run()
> > >   File "/usr/lib/python2.6/site-packages/crm/main.py", line 249, in run
> > > if parse_line(levels,shlex.split(' '.join(args))):
> > >   File "/usr/lib/python2.6/site-packages/crm/main.py", line 145, in
> > > parse_line
> > > lvl.release()
> > >   File "/usr/lib/python2.6/site-packages/crm/levels.py", line 68, in
> > > release
> > > self.droplevel()
> > >   File "/usr/lib/python2.6/site-packages/crm/levels.py", line 87, in
> > > droplevel
> > > self.current_level.end_game(self._in_transit)
> > >   File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1524, in
> end_game
> > > self.commit("commit")
> > >   File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1425, in
> commit
> > > self._verify(mkset_obj("xml","changed"),mkset_obj("xml"))
> > >   File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1324, in
> _verify
> > > rc2 = set_obj_semantic.semantic_check(set_obj_all)
> > >   File "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 280,
> in
> > > semantic_check
> > > rc = self.__check_unique_clash(set_obj_all)
> > >   File "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 260,
> in
> > > __check_unique_clash
> > > process_primitive(node, clash_dict)
> > >   File "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 245,
> in
> > > process_primitive
> > &g

Re: [Pacemaker] Regarding Stonith RAs

2011-11-16 Thread Dejan Muhamedagic
Hi,

On Tue, Nov 15, 2011 at 08:44:45AM +0530, neha chatrath wrote:
> Hello Dejan,
> 
> I am using Cluster Glue version 1.0.7.
> Also this does not seem to be a problem with a specific Stonith agent like
> IPMI, I think it is more of an issue with all the Stonith agents.
> I have tried configuring another test Stonith agent e.g. Suicide and I am
> facing exactly the same issue.

Looks like a broken installation. I guess that metadata for other
resource classes works fine. It could be some issue with
stonith-ng. Did you notice any messages from stonith-ng?

Thanks,

Dejan

> Kindly please suggest.
> 
> Thanks and regards
> Neha Chatrath
> 
> Date: Mon, 14 Nov 2011 15:41:43 +0100
> From: Dejan Muhamedagic 
> To: The Pacemaker cluster resource manager
>     >
> Subject: Re: [Pacemaker] Regarding Stonith RAs
> Message-ID: <2014144142.GA3735@squib>
> Content-Type: text/plain; charset=us-ascii
> 
> Hi,
> 
> On Mon, Nov 14, 2011 at 02:05:49PM +0530, neha chatrath wrote:
> > Hello,
> > I am facing issue in configuring a Stonith resource in my system of
> cluster
> > with 2 nodes.
> > Whenever I try to give the following command:
> > "crm configure primitive app_fence stonith::external/ipmi params hostname=
> > ggns2mexsatsdp17.hsc.com ipaddr=192.168.113.17 userid=root
> > passwd=pass@abc123" ,
> > I get the following errors:
> >
> > "ERROR: stonith:external/ipmi: could not parse meta-data:
> 
> Which version of cluster-glue do you have installed? There is a
> serious issue with external/ipmi in version 1.0.8, we'll make a
> new release ASAP.
> 
> Thanks,
> 
> Dejan
> 
> 
> On Mon, Nov 14, 2011 at 2:05 PM, neha chatrath wrote:
> 
> > Hello,
> > I am facing issue in configuring a Stonith resource in my system of
> > cluster with 2 nodes.
> > Whenever I try to give the following command:
> > "crm configure primitive app_fence stonith::external/ipmi params hostname=
> > ggns2mexsatsdp17.hsc.com ipaddr=192.168.113.17 userid=root
> > passwd=pass@abc123" ,
> > I get the following errors:
> >
> > "ERROR: stonith:external/ipmi: could not parse meta-data:
> > Traceback (most recent call last):
> >   File "/usr/sbin/crm", line 41, in 
> > crm.main.run()
> >   File "/usr/lib/python2.6/site-packages/crm/main.py", line 249, in run
> > if parse_line(levels,shlex.split(' '.join(args))):
> >   File "/usr/lib/python2.6/site-packages/crm/main.py", line 145, in
> > parse_line
> > lvl.release()
> >   File "/usr/lib/python2.6/site-packages/crm/levels.py", line 68, in
> > release
> > self.droplevel()
> >   File "/usr/lib/python2.6/site-packages/crm/levels.py", line 87, in
> > droplevel
> > self.current_level.end_game(self._in_transit)
> >   File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1524, in end_game
> > self.commit("commit")
> >   File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1425, in commit
> > self._verify(mkset_obj("xml","changed"),mkset_obj("xml"))
> >   File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1324, in _verify
> > rc2 = set_obj_semantic.semantic_check(set_obj_all)
> >   File "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 280, in
> > semantic_check
> > rc = self.__check_unique_clash(set_obj_all)
> >   File "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 260, in
> > __check_unique_clash
> > process_primitive(node, clash_dict)
> >   File "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 245, in
> > process_primitive
> > if ra_params[ name ].get("unique") == "1":
> > TypeError: 'NoneType' object is unsubscriptable
> > "
> > From /var/log/messages: following error is being reported from lrmd: 
> > "notice:
> > on_msg_get_metadata: can not find the class stonith"
> >
> > It seems the it is not able to find any RAs related to Stonith.
> >
> > Following is the output of some crm commands:
> > *crm(live)ra# classes*
> > heartbeat
> > lsb
> > ocf / heartbeat linbit mcg pacemaker
> > *stonith*
> >
> > *crm(live)ra# list ocf heartbeat*
> > AoEtarget AudibleAlarm  CTDB
> > ClusterMonDelay Dummy
> > EvmsSCC   Evmsd Filesystem
> > ICP   IPaddrIPaddr2
> >

Re: [Pacemaker] Regarding Stonith RAs

2011-11-14 Thread neha chatrath
Hello Dejan,

I am using Cluster Glue version 1.0.7.
Also this does not seem to be a problem with a specific Stonith agent like
IPMI, I think it is more of an issue with all the Stonith agents.
I have tried configuring another test Stonith agent e.g. Suicide and I am
facing exactly the same issue.

Kindly please suggest.

Thanks and regards
Neha Chatrath

Date: Mon, 14 Nov 2011 15:41:43 +0100
From: Dejan Muhamedagic 
To: The Pacemaker cluster resource manager
   
Subject: Re: [Pacemaker] Regarding Stonith RAs
Message-ID: <2014144142.GA3735@squib>
Content-Type: text/plain; charset=us-ascii

Hi,

On Mon, Nov 14, 2011 at 02:05:49PM +0530, neha chatrath wrote:
> Hello,
> I am facing issue in configuring a Stonith resource in my system of
cluster
> with 2 nodes.
> Whenever I try to give the following command:
> "crm configure primitive app_fence stonith::external/ipmi params hostname=
> ggns2mexsatsdp17.hsc.com ipaddr=192.168.113.17 userid=root
> passwd=pass@abc123" ,
> I get the following errors:
>
> "ERROR: stonith:external/ipmi: could not parse meta-data:

Which version of cluster-glue do you have installed? There is a
serious issue with external/ipmi in version 1.0.8, we'll make a
new release ASAP.

Thanks,

Dejan


On Mon, Nov 14, 2011 at 2:05 PM, neha chatrath wrote:

> Hello,
> I am facing issue in configuring a Stonith resource in my system of
> cluster with 2 nodes.
> Whenever I try to give the following command:
> "crm configure primitive app_fence stonith::external/ipmi params hostname=
> ggns2mexsatsdp17.hsc.com ipaddr=192.168.113.17 userid=root
> passwd=pass@abc123" ,
> I get the following errors:
>
> "ERROR: stonith:external/ipmi: could not parse meta-data:
> Traceback (most recent call last):
>   File "/usr/sbin/crm", line 41, in 
> crm.main.run()
>   File "/usr/lib/python2.6/site-packages/crm/main.py", line 249, in run
> if parse_line(levels,shlex.split(' '.join(args))):
>   File "/usr/lib/python2.6/site-packages/crm/main.py", line 145, in
> parse_line
> lvl.release()
>   File "/usr/lib/python2.6/site-packages/crm/levels.py", line 68, in
> release
> self.droplevel()
>   File "/usr/lib/python2.6/site-packages/crm/levels.py", line 87, in
> droplevel
> self.current_level.end_game(self._in_transit)
>   File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1524, in end_game
> self.commit("commit")
>   File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1425, in commit
> self._verify(mkset_obj("xml","changed"),mkset_obj("xml"))
>   File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1324, in _verify
> rc2 = set_obj_semantic.semantic_check(set_obj_all)
>   File "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 280, in
> semantic_check
> rc = self.__check_unique_clash(set_obj_all)
>   File "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 260, in
> __check_unique_clash
> process_primitive(node, clash_dict)
>   File "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 245, in
> process_primitive
> if ra_params[ name ].get("unique") == "1":
> TypeError: 'NoneType' object is unsubscriptable
> "
> From /var/log/messages: following error is being reported from lrmd: "notice:
> on_msg_get_metadata: can not find the class stonith"
>
> It seems the it is not able to find any RAs related to Stonith.
>
> Following is the output of some crm commands:
> *crm(live)ra# classes*
> heartbeat
> lsb
> ocf / heartbeat linbit mcg pacemaker
> *stonith*
>
> *crm(live)ra# list ocf heartbeat*
> AoEtarget AudibleAlarm  CTDB
> ClusterMonDelay Dummy
> EvmsSCC   Evmsd Filesystem
> ICP   IPaddrIPaddr2
> IPsrcaddr IPv6addr  LVM
> LinuxSCSI MailToManageRAID
> ManageVE  Pure-FTPd Raid1
> Route SAPDatabase   SAPInstance
> SendArp   ServeRAID SphinxSearchDaemon
> Squid Stateful  SysInfo
> VIPArip   VirtualDomain WAS
> WAS6  WinPopup  Xen
> Xinetdanything  apache
> conntrackddb2   drbd
> eDir88exportfs  fio
> iSCSILogicalUnit  iSCSITarget   ids
> iscsi jboss ldirectord
> mysql mysql-proxy   nfsserver
> nginx  

Re: [Pacemaker] Regarding Stonith RAs

2011-11-14 Thread Dejan Muhamedagic
Hi,

On Mon, Nov 14, 2011 at 02:05:49PM +0530, neha chatrath wrote:
> Hello,
> I am facing issue in configuring a Stonith resource in my system of cluster
> with 2 nodes.
> Whenever I try to give the following command:
> "crm configure primitive app_fence stonith::external/ipmi params hostname=
> ggns2mexsatsdp17.hsc.com ipaddr=192.168.113.17 userid=root
> passwd=pass@abc123" ,
> I get the following errors:
> 
> "ERROR: stonith:external/ipmi: could not parse meta-data:

Which version of cluster-glue do you have installed? There is a
serious issue with external/ipmi in version 1.0.8, we'll make a
new release ASAP.

Thanks,

Dejan

> Traceback (most recent call last):
>   File "/usr/sbin/crm", line 41, in 
> crm.main.run()
>   File "/usr/lib/python2.6/site-packages/crm/main.py", line 249, in run
> if parse_line(levels,shlex.split(' '.join(args))):
>   File "/usr/lib/python2.6/site-packages/crm/main.py", line 145, in
> parse_line
> lvl.release()
>   File "/usr/lib/python2.6/site-packages/crm/levels.py", line 68, in release
> self.droplevel()
>   File "/usr/lib/python2.6/site-packages/crm/levels.py", line 87, in
> droplevel
> self.current_level.end_game(self._in_transit)
>   File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1524, in end_game
> self.commit("commit")
>   File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1425, in commit
> self._verify(mkset_obj("xml","changed"),mkset_obj("xml"))
>   File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1324, in _verify
> rc2 = set_obj_semantic.semantic_check(set_obj_all)
>   File "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 280, in
> semantic_check
> rc = self.__check_unique_clash(set_obj_all)
>   File "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 260, in
> __check_unique_clash
> process_primitive(node, clash_dict)
>   File "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 245, in
> process_primitive
> if ra_params[ name ].get("unique") == "1":
> TypeError: 'NoneType' object is unsubscriptable
> "
> From /var/log/messages: following error is being reported from lrmd: "notice:
> on_msg_get_metadata: can not find the class stonith"
> 
> It seems the it is not able to find any RAs related to Stonith.
> 
> Following is the output of some crm commands:
> *crm(live)ra# classes*
> heartbeat
> lsb
> ocf / heartbeat linbit mcg pacemaker
> *stonith*
> 
> *crm(live)ra# list ocf heartbeat*
> AoEtarget AudibleAlarm  CTDB
> ClusterMonDelay Dummy
> EvmsSCC   Evmsd Filesystem
> ICP   IPaddrIPaddr2
> IPsrcaddr IPv6addr  LVM
> LinuxSCSI MailToManageRAID
> ManageVE  Pure-FTPd Raid1
> Route SAPDatabase   SAPInstance
> SendArp   ServeRAID SphinxSearchDaemon
> Squid Stateful  SysInfo
> VIPArip   VirtualDomain WAS
> WAS6  WinPopup  Xen
> Xinetdanything  apache
> conntrackddb2   drbd
> eDir88exportfs  fio
> iSCSILogicalUnit  iSCSITarget   ids
> iscsi jboss ldirectord
> mysql mysql-proxy   nfsserver
> nginx oracleoralsnr
> pgsql pingd portblock
> postfix   proftpd   rsyncd
> scsi2reservation  sfex  syslog-ng
> tomcatvmware
> 
> *crm(live)ra# list stonith*
> 
> crm(live)ra#
> 
> All the sotnith related RAs are present in
> /usr/lib/stonith/plugins/external.
> 
> Following is the output of "ls command :
> [root@ggns2mexsatsdp17 ~]# ls /usr/lib/stonith/plugins/external/
> 
> drac5  hetzner  ibmrsa ipmi kdumpcheck  nut
> output   riloe  ssh  vmware  xen0-ha
> dracmc-telnet  hmchttp  ibmrsa-telnet  ippower9258  libvirt ouput
> rackpdu  sbdvcenter  xen0
> 
> Can somebody please help me with this?
> 
> Thanks and regards
> Neha Chatrath

> ___
> 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


___
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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] Regarding Stonith RAs

2011-11-14 Thread manish . gupta
On Mon, November 14, 2011 4:36 pm, neha chatrath wrote:
> Hello,
>
>
> I have tried with single ":" in the crm configure command but there is no
>  change in the result. LRM and crm are showing the same errors.
>
> Thanks and regards
> Neha Chatrath
>
>
> Date: Mon, 14 Nov 2011 09:49:52 +0100
> From: Michael Schwartzkopff 
> To: The Pacemaker cluster resource manager
> 
>>
> Subject: Re: [Pacemaker] Regarding Stonith RAs
> Message-ID: <20140949.53351.mi...@clusterbau.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
>> Hello,
>> I am facing issue in configuring a Stonith resource in my system of
>>
> cluster
>> with 2 nodes. Whenever I try to give the following command:
>> "crm configure primitive app_fence stonith::external/ipmi params
>> hostname= ggns2mexsatsdp17.hsc.com ipaddr=192.168.113.17 userid=root
>> passwd=pass@abc123" ,
>
> try
>
> crm configure primitive app_fence stonith:external/ipmi (...)
>
> please note the ONE column. Providers are only known in the OCF RA class.
>
>
>
> --
> Dr. Michael Schwartzkopff
> Guardinistr. 63
> 81375 M?nchen
>
>
> Tel: (0163) 172 50 98
>
>
>
> On Mon, Nov 14, 2011 at 2:05 PM, neha chatrath
> wrote:
>
>
>> Hello,
>> I am facing issue in configuring a Stonith resource in my system of
>> cluster with 2 nodes. Whenever I try to give the following command:
>> "crm configure primitive app_fence stonith::external/ipmi params
>> hostname= ggns2mexsatsdp17.hsc.com ipaddr=192.168.113.17 userid=root
>> passwd=pass@abc123" , I get the following errors:
>>
>>
>> "ERROR: stonith:external/ipmi: could not parse meta-data:
>> Traceback (most recent call last):
>> File "/usr/sbin/crm", line 41, in 
>> crm.main.run() File "/usr/lib/python2.6/site-packages/crm/main.py", line
>> 249, in run
>> if parse_line(levels,shlex.split(' '.join(args))): File
>> "/usr/lib/python2.6/site-packages/crm/main.py", line 145, in
>> parse_line lvl.release() File
>> "/usr/lib/python2.6/site-packages/crm/levels.py", line 68, in
>> release self.droplevel() File
>> "/usr/lib/python2.6/site-packages/crm/levels.py", line 87, in
>> droplevel self.current_level.end_game(self._in_transit) File
>> "/usr/lib/python2.6/site-packages/crm/ui.py", line 1524, in end_game
>> self.commit("commit") File "/usr/lib/python2.6/site-packages/crm/ui.py",
>> line 1425, in commit
>> self._verify(mkset_obj("xml","changed"),mkset_obj("xml")) File
>> "/usr/lib/python2.6/site-packages/crm/ui.py", line 1324, in _verify
>> rc2 = set_obj_semantic.semantic_check(set_obj_all) File
>> "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 280, in
>> semantic_check rc = self.__check_unique_clash(set_obj_all) File
>> "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 260, in
>> __check_unique_clash
>> process_primitive(node, clash_dict) File
>> "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 245, in
>> process_primitive if ra_params[ name ].get("unique") == "1": TypeError:
>> 'NoneType' object is unsubscriptable
>> "

Is python and python-cruses rpm are installed in your system,
crm command require python-cruses to be installed.

>> From /var/log/messages: following error is being reported from lrmd:
>> "notice:
>> on_msg_get_metadata: can not find the class stonith"
>>
>>
>> It seems the it is not able to find any RAs related to Stonith.
>>
>>
>> Following is the output of some crm commands:
>> *crm(live)ra# classes*
>> heartbeat lsb ocf / heartbeat linbit mcg pacemaker *stonith*
>>
>>
>> *crm(live)ra# list ocf heartbeat*
>> AoEtarget AudibleAlarm  CTDB
>> ClusterMonDelay Dummy
>> EvmsSCC   Evmsd Filesystem
>> ICP   IPaddrIPaddr2
>> IPsrcaddr IPv6addr  LVM
>> LinuxSCSI MailToManageRAID
>> ManageVE  Pure-FTPd Raid1
>> Route SAPDatabase   SAPInstance
>> SendArp   ServeRAID SphinxSearchDaemon
>> Squid Stateful  SysInfo
>> VIPArip   VirtualDomain WAS
>> WAS6  WinPopup  Xen
>> Xinetdanything

Re: [Pacemaker] Regarding Stonith RAs

2011-11-14 Thread neha chatrath
Hello,

I have tried with single ":" in the crm configure command but there is no
change in the result. LRM and crm are showing the same errors.

Thanks and regards
Neha Chatrath

Date: Mon, 14 Nov 2011 09:49:52 +0100
From: Michael Schwartzkopff 
To: The Pacemaker cluster resource manager
   
Subject: Re: [Pacemaker] Regarding Stonith RAs
Message-ID: <20140949.53351.mi...@clusterbau.com>
Content-Type: text/plain; charset="iso-8859-1"

> Hello,
> I am facing issue in configuring a Stonith resource in my system of
cluster
> with 2 nodes.
> Whenever I try to give the following command:
> "crm configure primitive app_fence stonith::external/ipmi params hostname=
> ggns2mexsatsdp17.hsc.com ipaddr=192.168.113.17 userid=root
> passwd=pass@abc123" ,

try

crm configure primitive app_fence stonith:external/ipmi (...)

please note the ONE column. Providers are only known in the OCF RA class.


--
Dr. Michael Schwartzkopff
Guardinistr. 63
81375 M?nchen

Tel: (0163) 172 50 98


On Mon, Nov 14, 2011 at 2:05 PM, neha chatrath wrote:

> Hello,
> I am facing issue in configuring a Stonith resource in my system of
> cluster with 2 nodes.
> Whenever I try to give the following command:
> "crm configure primitive app_fence stonith::external/ipmi params hostname=
> ggns2mexsatsdp17.hsc.com ipaddr=192.168.113.17 userid=root
> passwd=pass@abc123" ,
> I get the following errors:
>
> "ERROR: stonith:external/ipmi: could not parse meta-data:
> Traceback (most recent call last):
>   File "/usr/sbin/crm", line 41, in 
> crm.main.run()
>   File "/usr/lib/python2.6/site-packages/crm/main.py", line 249, in run
> if parse_line(levels,shlex.split(' '.join(args))):
>   File "/usr/lib/python2.6/site-packages/crm/main.py", line 145, in
> parse_line
> lvl.release()
>   File "/usr/lib/python2.6/site-packages/crm/levels.py", line 68, in
> release
> self.droplevel()
>   File "/usr/lib/python2.6/site-packages/crm/levels.py", line 87, in
> droplevel
> self.current_level.end_game(self._in_transit)
>   File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1524, in end_game
> self.commit("commit")
>   File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1425, in commit
> self._verify(mkset_obj("xml","changed"),mkset_obj("xml"))
>   File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1324, in _verify
> rc2 = set_obj_semantic.semantic_check(set_obj_all)
>   File "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 280, in
> semantic_check
> rc = self.__check_unique_clash(set_obj_all)
>   File "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 260, in
> __check_unique_clash
> process_primitive(node, clash_dict)
>   File "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 245, in
> process_primitive
> if ra_params[ name ].get("unique") == "1":
> TypeError: 'NoneType' object is unsubscriptable
> "
> From /var/log/messages: following error is being reported from lrmd: "notice:
> on_msg_get_metadata: can not find the class stonith"
>
> It seems the it is not able to find any RAs related to Stonith.
>
> Following is the output of some crm commands:
> *crm(live)ra# classes*
> heartbeat
> lsb
> ocf / heartbeat linbit mcg pacemaker
> *stonith*
>
> *crm(live)ra# list ocf heartbeat*
> AoEtarget AudibleAlarm  CTDB
> ClusterMonDelay Dummy
> EvmsSCC   Evmsd Filesystem
> ICP   IPaddrIPaddr2
> IPsrcaddr IPv6addr  LVM
> LinuxSCSI MailToManageRAID
> ManageVE  Pure-FTPd Raid1
> Route SAPDatabase   SAPInstance
> SendArp   ServeRAID SphinxSearchDaemon
> Squid Stateful  SysInfo
> VIPArip   VirtualDomain WAS
> WAS6  WinPopup  Xen
> Xinetdanything  apache
> conntrackddb2   drbd
> eDir88exportfs  fio
> iSCSILogicalUnit  iSCSITarget   ids
> iscsi jboss ldirectord
> mysql mysql-proxy   nfsserver
> nginx oracleoralsnr
> pgsql pingd portblock
> postfix   proftpd   rsyncd
> scsi2reservation  sfex  syslog-ng
> tomcatvmware
>
>

Re: [Pacemaker] Regarding Stonith RAs

2011-11-14 Thread Michael Schwartzkopff
> Hello,
> I am facing issue in configuring a Stonith resource in my system of cluster
> with 2 nodes.
> Whenever I try to give the following command:
> "crm configure primitive app_fence stonith::external/ipmi params hostname=
> ggns2mexsatsdp17.hsc.com ipaddr=192.168.113.17 userid=root
> passwd=pass@abc123" ,

try

crm configure primitive app_fence stonith:external/ipmi (...)

please note the ONE column. Providers are only known in the OCF RA class.


-- 
Dr. Michael Schwartzkopff
Guardinistr. 63
81375 München

Tel: (0163) 172 50 98


signature.asc
Description: This is a digitally signed message part.
___
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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker