[Pacemaker] Maybe a documentation error

Adrian Chapela achapela.rexistros at gmail.com
Mon Nov 3 10:15:44 CET 2008


Andrew Beekhof escribi=F3:
> On Thu, Oct 30, 2008 at 18:54, Andrew Beekhof <beekhof at gmail.com> wrote:
>   =

>> On Oct 30, 2008, at 6:24 PM, Adrian Chapela wrote:
>>
>>     =

>>> Hello again guys!
>>>
>>> After a hard tests, Hearbeat + Pacemaker seem to work very well now. All
>>> of rules are running OK. Tomorrow I will do more complex test.
>>>
>>> This mail is related to documentation (Pacemaker Configuration Explaine=
d,
>>> from 15/10/2008), to page 40. In this page there is this rule:
>>> <rsc_location id=3D"WebServer-connectivity" rsc=3D"Webserver">
>>> <rule id=3D"pingd-exclude-rule" score=3D"-INFINITY" >
>>> <expression id=3D"pingd-exclude" attribute=3D"pingd" operation=3D"lt"
>>> value=3D"3000"/>
>>> </rule>
>>> <rule id=3D"pingd-prefer-rule" score_attribute=3D"pingd" >
>>> <expression id=3D"pingd-prefer" attribute=3D"pingd" operation=3D"define=
d"/>
>>> </rule>
>>> </rsc_location>
>>>
>>> DTD validation fails at rule id "pingd-prefer-rule". It shows me the
>>> error:
>>> element rule: Relax-NG validity error : Element rsc_location has extra
>>> content: rule
>>>
>>> I don't know if it is a documentation error, if rule is ok... I send to
>>> you to have a look.
>>>       =

>> i think you can only have one rule (but multiple rules inside that rule)
>>     =

>
> no - multiple rules are ok.
> did the resource referenced by the constraint exist when you tried to
> create the constraint?
>   =

Yes, this was the error when I tried to validate the rule:
/var/run/shadow.uFzKAe:13: element rule: Relax-NG validity error : =

Element rsc_location has extra content: rule
/var/run/shadow.uFzKAe:7: element rsc_order: Relax-NG validity error : =

Element constraints has extra content: rsc_order
/var/run/shadow.uFzKAe:2: element configuration: Relax-NG validity error =

: Invalid sequence in interleave
/var/run/shadow.uFzKAe:2: element configuration: Relax-NG validity error =

: Element configuration failed to validate content
/var/run/shadow.uFzKAe:1: element cib: Relax-NG validity error : Element =

cib failed to validate content
/var/run/shadow.uFzKAe:7: element rsc_order: validity error : IDREF =

attribute then references an unknown ID "Montaxe_mail"
/var/run/shadow.uFzKAe:8: element rsc_colocation: validity error : IDREF =

attribute rsc references an unknown ID "Montaxe_mail"
/var/run/shadow.uFzKAe:8: element rsc_colocation: validity error : IDREF =

attribute rsc references an unknown ID "Montaxe_mail"
/var/run/shadow.uFzKAe:7: element rsc_order: validity error : IDREF =

attribute first references an unknown ID "ms-drbd0"
/var/run/shadow.uFzKAe:8: element rsc_colocation: validity error : IDREF =

attribute with-rsc references an unknown ID "ms-drbd0"
/var/run/shadow.uFzKAe:8: element rsc_colocation: validity error : IDREF =

attribute with-rsc references an unknown ID "ms-drbd0"
/var/run/shadow.uFzKAe:9: element rsc_location: validity error : IDREF =

attribute rsc references an unknown ID "ms-drbd0"
/var/run/shadow.uFzKAe:9: element rsc_location: validity error : IDREF =

attribute rsc references an unknown ID "ms-drbd0"
cibadmin[3682]: 2008/11/03_10:10:38 ERROR: main: Call failed: Update =

does not conform to the configured schema/DTD

> can you send the rest of your config?
>   =

Yes, It is attached to the mail. I have included the rule in the config =

file.
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at clusterlabs.org
> http://list.clusterlabs.org/mailman/listinfo/pacemaker
>
>   =


-------------- next part --------------
A non-text attachment was scrubbed...
Name: last.xml
Type: text/xml
Size: 3575 bytes
Desc: not available
Url : http://list.clusterlabs.org/pipermail/pacemaker/attachments/20081103/=
6d1b8968/last.bin


More information about the Pacemaker mailing list