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">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<br>
Neha Chatrath<br> <br>