Bug 531489
Summary: | Relax-NG validity error on fencedevices | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Gianluca Cecchi <gianluca.cecchi> | ||||||
Component: | cman | Assignee: | Lon Hohberger <lhh> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 11 | CC: | agk, ccaulfie, cfeist, fdinitto, mbroz, swhiteho | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2009-10-28 17:17:39 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
Gianluca Cecchi
2009-10-28 15:21:44 UTC
Created attachment 366454 [details]
cluster.conf
Created attachment 366455 [details]
cluster.rng
That's quite odd - it's almost like relaxng isn't honoring the ID tag for both <fencedevice> tags, only the first one. fence_ilo doesn't take 'hostname'; it takes 'ipaddr'. Change: <fencedevice name="ilokvm1" agent="fence_ilo" hostname="10.4.192.227" login="fenceuser" passwd="mypwd1"/> <fencedevice name="ilokvm2" agent="fence_ilo" hostname="10.4.192.229" login="fenceuser" passwd="mypwd2"/> To: <fencedevice name="ilokvm1" agent="fence_ilo" ipaddr="10.4.192.227" login="fenceuser" passwd="mypwd1"/> <fencedevice name="ilokvm2" agent="fence_ilo" ipaddr="10.4.192.229" login="fenceuser" passwd="mypwd2"/> The Relax-NG validator in xmllint is quite cryptic. Maybe we should include 'jing' with the cluster instead of relying on xmllint someday: http://code.google.com/p/jing-trang/ [lhh@localhost bin]$ java -jar jing.jar ./cluster.rng ~/sandbox/cluster.conf /home/boston/lhh/sandbox/cluster.conf:22:108: error: attribute "hostname" not allowed here; expected attribute "action", "auth", "cserver", "debug", "device", "domain", "exec", "hash", "identity_file", "ip_family", "ipaddr", "key_file", "lanplus", "login", "managed", "multicast_address", "multicast_ttl", "name", "nodename", "option", "partition", "passwd", "passwd_script", "port", "retrans", "rpowerpath", "secure", "self", "servers", "ssl", "switch", "timeout", "use_uuid", "verbose", "vmware_datacenter" or "vmware_type" /home/boston/lhh/sandbox/cluster.conf:22:108: error: element "fencedevice" missing required attribute "ipaddr" /home/boston/lhh/sandbox/cluster.conf:23:108: error: attribute "hostname" not allowed here; expected attribute "action", "auth", "cserver", "debug", "device", "domain", "exec", "hash", "identity_file", "ip_family", "ipaddr", "key_file", "lanplus", "login", "managed", "multicast_address", "multicast_ttl", "name", "nodename", "option", "partition", "passwd", "passwd_script", "port", "retrans", "rpowerpath", "secure", "self", "servers", "ssl", "switch", "timeout", "use_uuid", "verbose", "vmware_datacenter" or "vmware_type" /home/boston/lhh/sandbox/cluster.conf:23:108: error: element "fencedevice" missing required attribute "ipaddr" |