Am Dienstag, 12. Mai 2009 14:29:42 schrieb Dejan Muhamedagic:
> Hi,
>
> On Tue, May 12, 2009 at 09:06:38AM +0200, Michael Schwartzkopff wrote:
> > Am Montag, 11. Mai 2009 18:32:11 schrieb Dejan Muhamedagic:
> > > Hi,
> > >
> > > On Mon, May 11, 2009 at 05:33:58PM +0200, Michael Schwartzkopff wrote:
> > > > Hi,
> > > >
> > > > I wanted to try he hb2openais scipt. I copied the files ha.cf,
> > > > hostcache and cib.xml to a temporay dir and entered:
> > > >
> > > > /usr/lib/heartbeat/hb2openais.sh -T /tmp
> > > >
> > > > the error mesage is:
> > > > Traceback (most recent call last):
> > > >   File "/usr/lib/heartbeat/hb2openais-helper.py", line 139, in
> > > > <module>
> > > >
> > > > set_attribute("cluster_property_set",crm_config,arglist[1],arglist[2]
> > > >) File "/usr/lib/heartbeat/hb2openais-helper.py", line 105, in
> > > > set_attribute attr_set.appendChild(attributes)
> > > > AttributeError: 'NodeList' object has no attribute 'appendChild'
> > > > rm11: ERROR: cannot process cib:
> > > > /usr/lib/heartbeat/hb2openais-helper.py set_property no-quorum-policy
> > > > ignore
> > > >
> > > > Any idea what the problem might be?
> > >
> > > Looking at the code, that really shouldn't have happened. What
> > > kind of xml support do you have? Is it python-xml? Which version?
> > > IIRC, I tested this on sles10, opensuse, and debian lenny.
> >
> > Well, I know that this should not happen :-(
> > # dpkg -l | grep xml
> > ii  libxml2                           2.6.32.dfsg-5
> > ii  libxml2-utils                     2.6.32.dfsg-5
> > ii  python-lxml                       2.1.1-2.1
> > ii  python-xml                        0.8.4-10.1
> > ii  xml-core                          0.12
>
> Can you please post the CIB you're trying to convert?

See attachment. I have pacemaker 1.0.3 installed, so the CIB shold be up to 
date.

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: [email protected]
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42

Attachment: cib.xml
Description: XML document

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to