On May 22, 2008, at 7:50 AM, Yan Gao wrote:
On Wed, 2008-05-14 at 14:58 +0200, Andrew Beekhof wrote:
One of the things that we've done in 0.7 is to switch to libxml2 for
all our xml data structures.
This of course made the GUI blow up because it wasn't using the
correct wrapper functions.
I've almost got the GUI building again, but I'm stuck on one function
in mgmt_crm.c:
cl_msg_swap_offset(crm_data_t* msg, int offset1, int offset2)
If anyone has the time or inclination to rewrite this function so
that
it works with 0.7, I'd be very grateful.
Hi Andrew,
I'll look at this. But I met problems with pacemaker 0.7.
Stack:
pacemaker-0.7.0-8.2.i586.rpm from
http://download.opensuse.org/repositories/server:/ha-clustering:/UNSTABLE/openSUSE_10.3/i586/
hearbeat*.rpm (and required openais*.rpm) from
http://download.opensuse.org/repositories/server:/ha-clustering/openSUSE_10.3/i586/
1.After the first time to start heartbeat service
# crm_verify -LVVV
crm_verify[12048]: 2008/05/22_13:18:06 info: main: =#=#=#=#= Getting
XML
=#=#=#=#=
crm_verify[12048]: 2008/05/22_13:18:06 info: main: Reading XML from:
live cluster
crm_verify[12048]: 2008/05/22_13:18:06 notice: main: Required feature
set: 2.0
crm_verify[12048]: 2008/05/22_13:18:06 info: validate_with: Validating
0x80585d0 with: /usr/share/heartbeat/pacemaker-0.7.rng (type=2)
element configuration: Relax-NG validity error : Element cib failed to
validate content
crm_verify[12048]: 2008/05/22_13:18:06 ERROR: main: CIB did not pass
DTD
validation
crm_verify[12048]: 2008/05/22_13:18:06 info: determine_online_status:
Node yingying is online
Errors found during check: config not valid
crm_verify[12048]: 2008/05/22_13:18:06 WARN: cib_native_free: Freeing
CIB
Does it mean that it was validating the xml according to schema
instead
of DTD ?
right
And the intial one is invalid ?
possibly
its also possible (highly possible actually) that the xslt doing the
transformation and/or the schema is broken
I'd not actually be trying to _use_ 0.7 yet :-)
Mostly I just built it so I could see what broke in the GUI (thats why
there was no announcement yet).
I started testing with the new configuration syntax enabled late last
night.
I'd guess that in another week it would be ok to start using 0.7
2. if use cibadmin to modify it, it'll return:
Call cib_create failed (-42): Write requires quorum
<null>
Though the have_quorum is 1.
There's a single node ucasting lo.
Attached the hb_report.
Could you pls help to check it? Thank you!
--
Yan Gao
China R&D Software Engineer
[EMAIL PROTECTED]
Novell, Inc.
SUSEĀ® Linux Enterprise 10
Your Linux is ready
http://www.novell.com/linux
<pacemaker-07-
report.tar.gz>_______________________________________________
Pacemaker mailing list
Pacemaker@clusterlabs.org
http://list.clusterlabs.org/mailman/listinfo/pacemaker
_______________________________________________
Pacemaker mailing list
Pacemaker@clusterlabs.org
http://list.clusterlabs.org/mailman/listinfo/pacemaker