Heartbeat 2.1.3 on a debian etch taken from debian backports.
Il giorno gio, 15/01/2009 alle 10.00 +0100, Dominik Klein ha scritto:
> Which version are you using?
>
> That's a known and fixed bug from a rather old version.
>
> Unfortunately, the bugzilla is not available at the moment. But
> searching for bugs with keyword "meta" once it is back should get you to
> the changeset.
>
> Regards
> Dominik
>
> Michele Codutti wrote:
> > Hello, I'm working on an RA and I have some problems with the meta-data
> > part of my RA.
> > The script is working correctly and I've tested it with ocf-tester.
> > To do a field test I've setup a two node cluster and installed into it.
> > The configuration is done by the graphical GUI (hbclient).
> > The problem is evident with the GUI when you create a new resource, and
> > select my RA, then no parameter is shown you by the GUI. If I fill
> > manually the parameters fields the resource starts and work as expected
> > (very well :) ).
> > The error that i see on the log is:
> > mgmtd: [6873]: ERROR: lrm_get_rsc_type_metadata(572): got a return code
> > HA_FAIL from a reply message of rmetadata with function
> > get_ret_from_msg.
> >
> > I've checked the XML almost 20 times but I found it syntactically
> > correct. I post it here in hoping that someone give me a hint about how
> > to fix this situation:
> >
> > meta_data() {
> > cat <<EOF
> > <?xml version="1.0"?>
> > <!DOCTYPE resource-agent SYSTEM "ra-api-1.dtd">
> > <resource-agent name="LSBwrapper" version="0.1">
> > <version>1.0</version>
> >
> > <longdesc lang="en">
> > This is a wapper Resource Agent built around a 3.1 LSB init script.
> > You can also override the defined functions with an override script.
> > </longdesc>
> > <shortdesc lang="en">LSB wrapper resource agent</shortdesc>
> >
> > <parameters>
> >
> > <parameter name="InitScript" unique="1">
> > <longdesc lang="en">
> > Location of the init script.
> > </longdesc>
> > <shortdesc lang="en">Init script location</shortdesc>
> > <content type="string" />
> > </parameter>
> >
> > <parameter name="OverrideScript" unique="1">
> > <longdesc lang="en">
> > Location of the override script.
> > </longdesc>
> > <shortdesc lang="en">Override script location</shortdesc>
> > <content type="string" />
> > </parameter>
> >
> > </parameters>
> >
> > <actions>
> > <action name="start" timeout="90" />
> > <action name="stop" timeout="100" />
> > <action name="monitor" timeout="20" interval="10" depth="0"
> > start-delay="0" />
> > <action name="reload" timeout="90" />
> > <action name="meta-data" timeout="5" />
> > <action name="verify-all" timeout="30" />
> > </actions>
> >
> > </resource-agent>
> > EOF
> > }
> > The RA is a generic wrapper to an 3.1 LSB init script. The main function
> > calls meta-data (if requested) and then exit with an $OCF_SUCCESS.
> >
> > Any suggestion is really appreciated.
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
--
Michele Codutti
Centro Servizi Informatici e Telematici (CSIT)
Universita' degli Studi di Udine
via Delle Scienze, 208 - 33100 UDINE
tel +39 0432 558928
fax +39 0432 558911
e-mail: michele.codutti at uniud.it
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems