>>> Dejan Muhamedagic <[email protected]> schrieb am 05.07.2011 um 15:41 in
Nachricht <20110705134105.GA3767@squib>:
> Hi,
> 
> On Tue, Jul 05, 2011 at 03:32:49PM +0200, Ulrich Windl wrote:
> > Hello again!
> > 
> > I'm wondering whether "ra-api-1.dtd" is still current:
> > element action: validity error : Value "monitor" for attribute name of 
> action is not among the enumerated set
> > element action: validity error : Value "validate-all" for attribute name of 
> action is not among the enumerated set
> > 
> > The DTD has "status" for "monitor" and "verify-all" for "validate-all".
> 
> Where did you find this dtd? The one which is currently used to
> verify RA compliance is distributed with resource-agents. You
> can also find the latest version in the github resource-agents
> repository in heartbeat/

Hi Dejan,

the DTD was found in the location that "Open Clustering Framework Resource 
Agent API" mentioned: www.opencf.org/standards/ra-api-1.dtd 

Can the correct DTD be downloaded by a simple method like wget? I'd like to 
have a package with DTD, guidelines and maybe an RA example.

As I had just finished my very first version of my resource agent, I found out 
that "ocf-tester" uses a different DTD that I had for validating:

* rc=4: Your agent produces meta-data which does not conform to ra-api-1.dtd

Now the funny thing is that you cahnged the DTD in an incompatible way without 
changing the version number. That's very bad practice!

Regards,
Ulrich
[...XML frustration deleted...]


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to