On 8/30/06, Dejan Muhamedagic <[EMAIL PROTECTED]> wrote:
On Wed, Aug 30, 2006 at 12:04:48PM +0200, Andrew Beekhof wrote:
> On 8/30/06, Dejan Muhamedagic <[EMAIL PROTECTED]> wrote:
> >On Wed, Aug 30, 2006 at 10:17:54AM +0200, Andrew Beekhof wrote:
> >> On 8/28/06, Dejan Muhamedagic <[EMAIL PROTECTED]> wrote:
> >> >Hello again,
> >> >
> >> >This kind of thing makes crm_verify cry faul:
> >>
> >> in what way?
> >
> >sapcl01:~ # crm_verify -L -V
> >element operations: validity error : Element operations content does not
> >follow the DTD, expecting (op)*, got (op instance_attributes )
> >crm_verify[3437]: 2006/08/30_11:40:17 ERROR: validate_with_dtd:xml.c CIB
> >does not validate against /usr/lib/heartbeat/crm.dtd
> >crm_verify[3437]: 2006/08/30_11:40:17 ERROR: main:crm_verify.c CIB did not
> >pass DTD validation
> >Errors found during check: config not valid
> >
> >At any rate, the setting never gets to the RA.
>
> perhaps try what crm_verify is suggesting:
>
>            <op id="apache_a1_mon" interval="120s" name="monitor"
>            timeout="60s">
>               <instance_attributes id="apache_a1_mon_attr">
>                 <attributes>
>                    <nvpair id="apache_a1_mon_attr_0" name="OCF_CHECK_LEVEL"
>                   value="20"/>
>                  </attributes>
>                </instance_attributes>
>           </op>

Yes. Perhaps I could also try to be more careful in future. I made
no less than two mistakes in this snippet. Whatever I've been
thinking about :-|  Sorry for the noise.

Np.  Although very flexible, XML is a major PITA to read (and therefor
spot mistakes in).

It's fixed now and works as expected.

Excellent!
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to