Hello Dejan,<br><br>I am using Cluster Glue version 1.0.7.<br>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.<br>I have tried configuring another test Stonith agent e.g. Suicide and I am facing exactly the same issue.<br>
<br>Kindly please suggest.<br><br>Thanks and regards<br>Neha Chatrath<br><br>Date: Mon, 14 Nov 2011 15:41:43 +0100<br>
From: Dejan Muhamedagic <<a href="mailto:dejanmm@fastmail.fm">dejanmm@fastmail.fm</a>><br>
To: The Pacemaker cluster resource manager<br>
<<a href="mailto:pacemaker@oss.clusterlabs.org">pacemaker@oss.clusterlabs.org</a><div id=":18k">><br>
Subject: Re: [Pacemaker] Regarding Stonith RAs<br>
Message-ID: <20111114144142.GA3735@squib><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hi,<br>
<br>
On Mon, Nov 14, 2011 at 02:05:49PM +0530, neha chatrath wrote:<br>
> Hello,<br>
> I am facing issue in configuring a Stonith resource in my system of cluster<br>
> with 2 nodes.<br>
> Whenever I try to give the following command:<br>
> "crm configure primitive app_fence stonith::external/ipmi params hostname=<br>
> <a href="http://ggns2mexsatsdp17.hsc.com/" target="_blank">ggns2mexsatsdp17.hsc.com</a> ipaddr=192.168.113.17 userid=root<br>
> passwd=pass@abc123" ,<br>
> I get the following errors:<br>
><br>
> "ERROR: stonith:external/ipmi: could not parse meta-data:<br>
<br>
Which version of cluster-glue do you have installed? There is a<br>
serious issue with external/ipmi in version 1.0.8, we'll make a<br>
new release ASAP.<br>
<br>
Thanks,<br>
<br>
Dejan</div><br><br><div class="gmail_quote">On Mon, Nov 14, 2011 at 2:05 PM, neha chatrath <span dir="ltr"><<a href="mailto:nehachatrath@gmail.com">nehachatrath@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<br>I am facing issue in configuring a Stonith resource in my system of cluster with 2 nodes.<br>Whenever I try to give the following command:<br>"crm configure primitive app_fence stonith::external/ipmi params hostname=<a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> ipaddr=192.168.113.17 userid=root passwd=pass@abc123" , <br>
I get the following errors:<br><br>"<span style="color:rgb(51, 102, 255)">ERROR: stonith:external/ipmi: could not parse meta-data: </span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)">Traceback (most recent call last):</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)"> File "/usr/sbin/crm", line 41, in <module></span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)"> crm.main.run()</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)"> File "/usr/lib/python2.6/site-packages/crm/main.py", line 249, in run</span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)"> if parse_line(levels,shlex.split(' '.join(args))):</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)"> File "/usr/lib/python2.6/site-packages/crm/main.py", line 145, in parse_line</span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)"> lvl.release()</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)"> File "/usr/lib/python2.6/site-packages/crm/levels.py", line 68, in release</span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)"> self.droplevel()</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)"> File "/usr/lib/python2.6/site-packages/crm/levels.py", line 87, in droplevel</span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)"> self.current_level.end_game(self._in_transit)</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)"> File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1524, in end_game</span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)"> self.commit("commit")</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)"> File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1425, in commit</span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)"> self._verify(mkset_obj("xml","changed"),mkset_obj("xml"))</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)"> File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1324, in _verify</span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)"> rc2 = set_obj_semantic.semantic_check(set_obj_all)</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)"> File "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 280, in semantic_check</span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)"> rc = self.__check_unique_clash(set_obj_all)</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)"> File "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 260, in __check_unique_clash</span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)"> process_primitive(node, clash_dict)</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)"> File "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 245, in process_primitive</span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)"> if ra_params[ name ].get("unique") == "1":</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">TypeError: 'NoneType' object is unsubscriptable</span><br>"<br>From /var/log/messages: following error is being reported from lrmd: "<span style="color:rgb(51, 102, 255)">notice: on_msg_get_metadata: can not find the class stonith</span>"<br>
<br>It seems the it is not able to find any RAs related to Stonith. <br><br>Following is the output of some crm commands:<br><b><span style="color:rgb(51, 102, 255)">crm(live)ra# classes</span></b><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">heartbeat</span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)">lsb</span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)">ocf / heartbeat linbit mcg pacemaker</span><br style="color:rgb(51, 102, 255)">
<b><span style="color:rgb(51, 102, 255)">stonith</span></b><br style="color:rgb(51, 102, 255)"><br style="color:rgb(51, 102, 255)"><b><span style="color:rgb(51, 102, 255)">crm(live)ra# list ocf heartbeat</span></b><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">AoEtarget AudibleAlarm CTDB ClusterMon Delay Dummy</span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)">EvmsSCC Evmsd Filesystem ICP IPaddr IPaddr2</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">IPsrcaddr IPv6addr LVM LinuxSCSI MailTo ManageRAID</span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)">ManageVE Pure-FTPd Raid1 Route SAPDatabase SAPInstance</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">SendArp ServeRAID SphinxSearchDaemon Squid Stateful SysInfo</span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)">VIPArip VirtualDomain WAS WAS6 WinPopup Xen</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Xinetd anything apache conntrackd db2 drbd</span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)">eDir88 exportfs fio iSCSILogicalUnit iSCSITarget ids</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">iscsi jboss ldirectord mysql mysql-proxy nfsserver</span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)">nginx oracle oralsnr pgsql pingd portblock</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">postfix proftpd rsyncd scsi2reservation sfex syslog-ng</span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)">tomcat vmware </span><br style="color:rgb(51, 102, 255)">
<br style="color:rgb(51, 102, 255)"><b><span style="color:rgb(51, 102, 255)">crm(live)ra# list stonith</span></b><br style="color:rgb(51, 102, 255)"><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)">crm(live)ra# </span><br>
<br>All the sotnith related RAs are present in /usr/lib/stonith/plugins/external.<br><br>Following is the output of "ls command :<br><span style="color:rgb(51, 102, 255)">[root@ggns2mexsatsdp17 ~]# ls /usr/lib/stonith/plugins/external/</span><br style="color:rgb(51, 102, 255)">
<br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)">drac5 hetzner ibmrsa ipmi kdumpcheck nut output riloe ssh vmware xen0-ha</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">dracmc-telnet hmchttp ibmrsa-telnet ippower9258 libvirt ouput rackpdu sbd vcenter xen0</span><br><br>Can somebody please help me with this?<br><br>Thanks and regards<span class="HOEnZb"><font color="#888888"><br>
Neha Chatrath<br> <br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Cheers<br>Neha Chatrath<br> KEEP SMILING!!!!<br>