[Pacemaker] Building the GUI for Pacemaker 0.7

Yan Gao ygao at novell.com
Thu May 22 05:50:53 UTC 2008


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 ? And the intial one is invalid ?

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
ygao at novell.com

Novell, Inc.
SUSE® Linux Enterprise 10
Your Linux is ready
http://www.novell.com/linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pacemaker-07-report.tar.gz
Type: application/x-compressed-tar
Size: 17253 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20080522/8edecc09/attachment-0002.bin>


More information about the Pacemaker mailing list