Hello,<br><br>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.<br><br>Thanks and regards<br>Neha Chatrath<br><br>Date: Mon, 14 Nov 2011 09:49:52 +0100<br>
From: Michael Schwartzkopff <<a href="mailto:misch@clusterbau.com">misch@clusterbau.com</a>><br>
To: The Pacemaker cluster resource manager<br>
<<a href="mailto:pacemaker@oss.clusterlabs.org">pacemaker@oss.clusterlabs.org</a><div id=":95">><br>
Subject: Re: [Pacemaker] Regarding Stonith RAs<br>
Message-ID: <<a href="mailto:201111140949.53351.misch@clusterbau.com">201111140949.53351.misch@clusterbau.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<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>
<br>
try<br>
<br>
crm configure primitive app_fence stonith:external/ipmi (...)<br>
<br>
please note the ONE column. Providers are only known in the OCF RA class.<br>
<br>
<br>
--<br>
Dr. Michael Schwartzkopff<br>
Guardinistr. 63<br>
81375 M?nchen<br>
<br>
Tel: (0163) 172 50 98</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>