<br>Hello,<br><br>
Looks like a broken installation. I guess that metadata for other<br>
resource classes works fine. It could be some issue with<br>
stonith-ng. Did you notice any messages from stonith-ng?<br><br>A>> Yes, metadata for other resource classes like ocf/heartbeat, ocf/linbit is working fine.<br>Problem is seen only with Stonith resource class .<br>
<br>No stonith-ng related errors are visible in the log file.<br>
<br>Following are some excerpts from log file:<br><br>"<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: debug: Implicit directive: apiauth stonithd uid=root</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: debug: uid=root, gid=<null></span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: debug: Implicit directive: apiauth stonith-ng uid=root</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: debug: uid=root, gid=<null></span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: debug: Implicit directive: apiauth attrd uid=hacluster</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: debug: uid=hacluster, gid=<null></span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: debug: Implicit directive: apiauth crmd uid=hacluster</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: debug: uid=hacluster, gid=<null></span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: debug: Implicit directive: apiauth pingd uid=root</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: debug: uid=root, gid=<null></span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: debug: Implicit directive: respawn hacluster /usr/lib/heartbeat/ccm</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: info: respawn directive: hacluster /usr/lib/heartbeat/ccm</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: debug: Implicit directive: respawn hacluster /usr/lib/heartbeat/cib</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: info: respawn directive: hacluster /usr/lib/heartbeat/cib</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: debug: Implicit directive: respawn root /usr/lib/heartbeat/lrmd -r</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: info: respawn directive: root /usr/lib/heartbeat/lrmd -r</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: debug: Implicit directive: respawn root /usr/lib/heartbeat/stonithd</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: info: respawn directive: root /usr/lib/heartbeat/stonithd</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: debug: Implicit directive: respawn hacluster /usr/lib/heartbeat/attrd</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: info: respawn directive: hacluster /usr/lib/heartbeat/attrd</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: debug: Implicit directive: respawn hacluster /usr/lib/heartbeat/crmd</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: info: respawn directive: hacluster /usr/lib/heartbeat/crmd</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: debug: uid=hacluster, gid=<null></span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: debug: uid=hacluster, gid=<null></span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:30 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3659]: debug: uid=root, gid=<null></span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">....</span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)">....</span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)">...</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">v 14 11:54:45 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3661]: info: Starting child client "/usr/lib/heartbeat/lrmd -r" (0,0)</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:45 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3661]: info: Starting child client "/usr/lib/heartbeat/stonithd" (0,0)</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:45 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3976]: info: Starting "/usr/lib/heartbeat/lrmd -r" as uid 0 gid 0 (pid 3976)</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:45 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3977]: info: Starting "/usr/lib/heartbeat/stonithd" as uid 0 gid 0 (pid 3977)</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:45 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3661]: info: Starting child client "/usr/lib/heartbeat/attrd" (495,489)</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:45 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3661]: info: Starting child client "/usr/lib/heartbeat/crmd" (495,489)</span><br style="color:rgb(51, 102, 255)">
<br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)">....</span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)">....</span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)">Nov 14 11:54:46 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> stonithd: [3977]: debug: apichan=0x9a36368</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:46 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3661]: debug: create_seq_snapshot_table:no missing packets found for node <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a></span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:46 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> heartbeat: [3661]: debug: Signing on API client 3975 (cib)</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:46 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> stonithd: [3977]: debug: callback_chan=0x9a36210</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 11:54:46 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> stonithd: [3977]: notice: /usr/lib/heartbeat/stonithd start up successfully</span><br style="color:rgb(51, 102, 255)">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex;color:rgb(51, 102, 255)">
....<br></blockquote><div><span style="color:rgb(51, 102, 255)">.....</span><br style="color:rgb(51, 102, 255)"><span style="color:rgb(51, 102, 255)">Nov 14 13:16:57 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> lrmd: [3976]: debug: unregister_client: client lrmadmin [pid:10061] is unregistered</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 13:16:57 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> lrmd: [3976]: debug: on_msg_register:client lrmadmin [10062] registered</span><br style="color:rgb(51, 102, 255)">
<span style="color:rgb(51, 102, 255)">Nov 14 13:16:57 <a href="http://ggns2mexsatsdp17.hsc.com" target="_blank">ggns2mexsatsdp17.hsc.com</a> lrmd: [3976]: notice: on_msg_get_rsc_types: can not find this RA class stonith</span>" <br>
<br><br>Thanks and regards<br>Neha Chatrath<br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
----------------------------------------------------------------------<br>
<br> <br>
Date: Wed, 16 Nov 2011 11:12:12 +0100<br>
From: Dejan Muhamedagic <<a href="mailto:dejanmm@fastmail.fm" target="_blank">dejanmm@fastmail.fm</a>><br>
To: The Pacemaker cluster resource manager<br>
<<a href="mailto:pacemaker@oss.clusterlabs.org" target="_blank">pacemaker@oss.clusterlabs.org</a>><br>
Subject: Re: [Pacemaker] Regarding Stonith RAs<br>
Message-ID: <20111116101211.GA4938@walrus.homenet><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hi,<br>
<br>
On Tue, Nov 15, 2011 at 08:44:45AM +0530, neha chatrath wrote:<br>
> 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<br>
> 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<br>
> facing exactly the same issue.<br>
<br>
Looks like a broken installation. I guess that metadata for other<br>
resource classes works fine. It could be some issue with<br>
stonith-ng. Did you notice any messages from stonith-ng?<br>
<br>
Thanks,<br>
<br>
Dejan<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" target="_blank">dejanmm@fastmail.fm</a>><br>
> To: The Pacemaker cluster resource manager<br>
> <<a href="mailto:pacemaker@oss.clusterlabs.org" target="_blank">pacemaker@oss.clusterlabs.org</a><br>
> ><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<br>
> 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<br>
><br>
><br>
> On Mon, Nov 14, 2011 at 2:05 PM, neha chatrath <<a href="mailto:nehachatrath@gmail.com" target="_blank">nehachatrath@gmail.com</a>>wrote:<br>
><br>
> > Hello,<br>
> > I am facing issue in configuring a Stonith resource in my system of<br>
> > cluster 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>
> > Traceback (most recent call last):<br>
> > File "/usr/sbin/crm", line 41, in <module><br>
> > crm.main.run()<br>
> > File "/usr/lib/python2.6/site-packages/crm/main.py", line 249, in run<br>
> > if parse_line(levels,shlex.split(' '.join(args))):<br>
> > File "/usr/lib/python2.6/site-packages/crm/main.py", line 145, in<br>
> > parse_line<br>
> > lvl.release()<br>
> > File "/usr/lib/python2.6/site-packages/crm/levels.py", line 68, in<br>
> > release<br>
> > self.droplevel()<br>
> > File "/usr/lib/python2.6/site-packages/crm/levels.py", line 87, in<br>
> > droplevel<br>
> > self.current_level.end_game(self._in_transit)<br>
> > File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1524, in end_game<br>
> > self.commit("commit")<br>
> > File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1425, in commit<br>
> > self._verify(mkset_obj("xml","changed"),mkset_obj("xml"))<br>
> > File "/usr/lib/python2.6/site-packages/crm/ui.py", line 1324, in _verify<br>
> > rc2 = set_obj_semantic.semantic_check(set_obj_all)<br>
> > File "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 280, in<br>
> > semantic_check<br>
> > rc = self.__check_unique_clash(set_obj_all)<br>
> > File "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 260, in<br>
> > __check_unique_clash<br>
> > process_primitive(node, clash_dict)<br>
> > File "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 245, in<br>
> > process_primitive<br>
> > if ra_params[ name ].get("unique") == "1":<br>
> > TypeError: 'NoneType' object is unsubscriptable<br>
> > "<br>
> > From /var/log/messages: following error is being reported from lrmd: "notice:<br>
> > on_msg_get_metadata: can not find the class stonith"<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>
> > *crm(live)ra# classes*<br>
> > heartbeat<br>
> > lsb<br>
> > ocf / heartbeat linbit mcg pacemaker<br>
> > *stonith*<br>
> ><br>
> > *crm(live)ra# list ocf heartbeat*<br>
> > AoEtarget AudibleAlarm CTDB<br>
> > ClusterMon Delay Dummy<br>
> > EvmsSCC Evmsd Filesystem<br>
> > ICP IPaddr IPaddr2<br>
> > IPsrcaddr IPv6addr LVM<br>
> > LinuxSCSI MailTo ManageRAID<br>
> > ManageVE Pure-FTPd Raid1<br>
> > Route SAPDatabase SAPInstance<br>
> > SendArp ServeRAID SphinxSearchDaemon<br>
> > Squid Stateful SysInfo<br>
> > VIPArip VirtualDomain WAS<br>
> > WAS6 WinPopup Xen<br>
> > Xinetd anything apache<br>
> > conntrackd db2 drbd<br>
> > eDir88 exportfs fio<br>
> > iSCSILogicalUnit iSCSITarget ids<br>
> > iscsi jboss ldirectord<br>
> > mysql mysql-proxy nfsserver<br>
> > nginx oracle oralsnr<br>
> > pgsql pingd portblock<br>
> > postfix proftpd rsyncd<br>
> > scsi2reservation sfex syslog-ng<br>
> > tomcat vmware<br>
> ><br>
> > *crm(live)ra# list stonith*<br>
> ><br>
> > crm(live)ra#<br>
> ><br>
> > All the sotnith related RAs are present in<br>
> > /usr/lib/stonith/plugins/external.<br>
> ><br>
> > Following is the output of "ls command :<br>
> > [root@ggns2mexsatsdp17 ~]# ls /usr/lib/stonith/plugins/external/<br>
> ><br>
> > drac5 hetzner ibmrsa ipmi kdumpcheck nut<br>
> > output riloe ssh vmware xen0-ha<br>
> > dracmc-telnet hmchttp ibmrsa-telnet ippower9258 libvirt ouput<br>
> > rackpdu sbd vcenter xen0<br>
> ><br>
> > Can somebody please help me with this?<br>
> ><br>
> > Thanks and regards<br>
> > Neha Chatrath<br>
> ><br>
> ><br>
><br>
><br>
><br>
> <br>
</blockquote></div><br>