[Linux-HA] error running haresources2cib.py

Andrew Beekhof beekhof at gmail.com
Mon Feb 27 01:35:56 MST 2006


On 2/26/06, Matt M. <lmatt at ironblue.com> wrote:
> Matt M. wrote:
>
> >   ImportError: No module named xml.dom.minidom
> > -------------------------------------------------------------------
> >
> Ok, welll I fixed that problem by installing python-xml. I could swear
> it was already installed, but I guess not.
>
> Anyway, now I'm running into another error:
>
> ----------------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib64/heartbeat/haresources2cib.py", line 369, in ?
>     node_list = get_directive_list(config, "node")
>   File "/usr/lib64/heartbeat/haresources2cib.py", line 332, in
> get_directive_list
>     if line[0] == "#" :
> IndexError: string index out of range
> -----------------------------------------------------------------------------
>
> Any help is greatly appreciated.

I believe that means haresources2cib couldn't figure out the option(s)
you passed to it.
Not exactly intuitive I know.

Try haresources2cib.py -h for the options.

And while I'm on the subject, why is it --nu-ocf and --nu-monitor?
Does "nu" mean something I'm not aware of?  I've asked before...



More information about the Linux-HA mailing list