Bug 225580

Summary: Example cluster.conf in cluster.conf(5) man page doesn't parse
Product: [Fedora] Fedora Reporter: Steve Whitehouse <swhiteho>
Component: cmanAssignee: Jonathan Earl Brassow <jbrassow>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: ccaulfie
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-09 16:17:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
The cluster config file I copied from the man page. none

Description Steve Whitehouse 2007-01-31 14:26:41 UTC
Description of problem:

If you copy & paste the example from the man page into a file and run it through
xmllint, you get the following errors:

/etc/test.conf:17: element device: Relax-NG validity error : Invalid attribute
ipaddr for element device
Relax-NG validity error : Extra element fence in interleave
/etc/test.conf:3: element clusternodes: Relax-NG validity error : Element
clusternode failed to validate content
/etc/test.conf:4: element clusternode: Relax-NG validity error : Element
clusternodes has extra content: clusternode
/etc/test.conf:2: element cman: Relax-NG validity error : Expecting element
clusternodes, got cman
/etc/test.conf:1: element cluster: Relax-NG validity error : Invalid sequence in
interleave
/etc/test.conf:1: element cluster: Relax-NG validity error : Element cluster
failed to validate content
/etc/test.conf:13: element device: validity error : IDREF attribute name
references an unknown ID "brocade"
/etc/test.conf:8: element device: validity error : IDREF attribute name
references an unknown ID "apc"
/etc/test.conf:17: element device: validity error : IDREF attribute name
references an unknown ID "last_resort"
/etc/test.conf:17: element device: validity error : IDREF attribute name
references an unknown ID "last_resort"
/etc/test.conf fails to validate

Comment 1 Jonathan Earl Brassow 2007-04-09 16:15:59 UTC
Created attachment 151995 [details]
The cluster config file I copied from the man page.

Comment 2 Jonathan Earl Brassow 2007-04-09 16:17:15 UTC
[~]$ uname -a
Linux hydrogen.msp.redhat.com 2.6.19-1.2895.fc6 #1 SMP Wed Jan 10 18:50:56 EST
2007 x86_64 x86_64 x86_64 GNU/Linux
[~]$ cat /etc/redhat-release
Fedora Core release 6 (Zod)
[~]$ xmllint foo.conf > /dev/null; echo $?
0