[Linux-HA] BasicSanityCheck prereqs
Andrew Beekhof
beekhof at gmail.com
Thu Jan 11 02:37:39 MST 2007
On 1/10/07, Pavol Gono <palo.gono at gmail.com> wrote:
> Without the python-xml package:
>
> # /usr/bin/python /usr/local/lib/heartbeat/cts/CTSlab.py --bsc
> Traceback (most recent call last):
> File "/usr/local/lib/heartbeat/cts/CTSlab.py", line 32, in ?
> from CTStests import BSC_AddResource
> File "/usr/local/lib/heartbeat/cts/CTStests.py", line 49, in ?
> from xml.dom.minidom import *
> ImportError: No module named xml.dom.minidom
ok - i'll see what i can do today
> On 1/10/07, Andrew Beekhof <beekhof at gmail.com> wrote:
> > splitting this out into its own thread...
> >
> > On 1/10/07, Pavol Gono <palo.gono at gmail.com> wrote:
> > > On 1/10/07, Andrew Beekhof <beekhof at gmail.com> wrote:
> > > > On 1/9/07, Pavol Gono <palo.gono at gmail.com> wrote:
> > > > > On 1/9/07, Andrew Beekhof <beekhof at gmail.com> wrote:
> > > > > > > A)
> > > > > > > It would be nice to have some list of necessary software installed
> > > > > > > when one wants to run it. E.g. on SLES10 you need python-xml package.
> > > > > > > On debian (debo machine), installing python-dev or python-xml
> > > > > > > decreased number of 'BadNews' from 26 to 2. Maybe python version is
> > > > > > > also important...
> > > > > >
> > > > > > can you send me both outputs? that shouldn't be the case.
> > > > >
> > > > > I looked at logs, it seems so.
> > > >
> > > > i think you just got a little luckier the second time
> > > > i dont believe installing python-xml will have made any difference
> > >
> > > I didn't choose the best logs, on debian we maybe don't need
> > > python-xml. But on SLES10, installing python-xml RPM was necessary -
> > > see attachment. This was end of log:
> > > ...
> > > Starting CRM tests
> > > CRM tests failed (rc=1).
> >
> > ok - thats pretty clear now :-)
> >
> > >
> > > In TestCRM function there could be some hint about python-xml, when running
> > > $CRMTEST -L $LOGFILE >/dev/null 2>&1
> > > is unsuccessful.
> >
> > can you get rid of the redirect to /dev/null and retry? i'd like to
> > understand why its failing.
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
More information about the Linux-HA
mailing list