Skip to contentSkip to conversation

Error adding domain to xend domain management

DISCUSSION Ananth 2 participants 4 messages May 1, 2009 – May 11, 2009

lore
Share & tools
lore

Ananth

author
#0 lore raw

Hi,
I executed the below command to add a domain to xend managed list.

root@cbananth:/home/cbananth# xm new
new_guest/guests/fedora.fc9.20080706.img/fedora.fc9.xen3.cfg
Unexpected error: <type 'exceptions.ImportError'>

Below is the output...

Please report to [email protected] Traceback (most recent call last):
File "/usr/sbin/xm", line 10, in <module>
main.main(sys.argv)
File "//usr/lib/python/xen/xm/main.py", line 2884, in main

    _, rc = _run_cmd(cmd, cmd_name, args)
  File "//usr/lib/python/xen/xm/main.py", line 2908, in _run_cmd
    return True, cmd(args)
  File "<string>", line 1, in <lambda>
  File "//usr/lib/python/xen/xm/main.py", line 1375, in xm_importcommand
    cmd = __import__(command, globals(), locals(), 'xen.xm')

File "//usr/lib/python/xen/xm/new.py", line 26, in <module>
from xen.xm.xenapi_create import *
File "//usr/lib/python/xen/xm/xenapi_create.py", line 23, in <module>
from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc

Please guide me on how to add a domain to the xend managed list of domains.

Thank you.

Warm Regards
Ananth

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 26 lines · Ananth

Hi,
I executed the below command to add a domain to xend managed list.

root@cbananth:/home/cbananth# xm new
new_guest/guests/fedora.fc9.20080706.img/fedora.fc9.xen3.cfg
Unexpected error: <type 'exceptions.ImportError'>

Below is the output...

Please report to [email protected]
Traceback (most recent call last):
  File "/usr/sbin/xm", line 10, in <module> main.main(sys.argv)
  File "//usr/lib/python/xen/xm/main.py", line 2884, in main _, rc = _run_cmd(cmd, cmd_name, args)
  File "//usr/lib/python/xen/xm/main.py", line 2908, in _run_cmd return True, cmd(args)
  File "<string>", line 1, in <lambda>
  File "//usr/lib/python/xen/xm/main.py", line 1375, in xm_importcommand cmd = __import__(command, globals(), locals(), 'xen.xm') File "//usr/lib/python/xen/xm/new.py", line 26, in <module> from xen.xm.xenapi_create import *
  File "//usr/lib/python/xen/xm/xenapi_create.py", line 23, in <module> from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc

Quoted 7 lines

Please guide me on how to add a domain to the xend managed list of domains.

Thank you.

Warm Regards
Ananth

If you're on Fedora, try installing PyXML.

Regards, Ruben

author
#2 lore raw

Hi,
I am using 8.04 for my dom0... I am unable to find pyXML package from synaptec...
Please guide me in this regard.

Thanks & Regards
Ananth

Quoted 32 lines · Ruben Kerkhof
Quoted 20 lines · Ananth

Hi,
I executed the below command to add a domain to xend managed list.

root@cbananth:/home/cbananth# xm new
new_guest/guests/fedora.fc9.20080706.img/fedora.fc9.xen3.cfg
Unexpected error: <type 'exceptions.ImportError'>

Below is the output...

Please report to [email protected] Traceback (most recent call last):
File "/usr/sbin/xm", line 10, in <module>
main.main(sys.argv)
File "//usr/lib/python/xen/xm/main.py", line 2884, in main

    _, rc = _run_cmd(cmd, cmd_name, args)
  File "//usr/lib/python/xen/xm/main.py", line 2908, in _run_cmd
    return True, cmd(args)
  File "<string>", line 1, in <lambda>
  File "//usr/lib/python/xen/xm/main.py", line 1375, in xm_importcommand
    cmd = __import__(command, globals(), locals(), 'xen.xm')
Quoted 7 lines

File "//usr/lib/python/xen/xm/new.py", line 26, in <module>
from xen.xm.xenapi_create import *
File "//usr/lib/python/xen/xm/xenapi_create.py", line 23, in <module>
from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc

Please guide me on how to add a domain to the xend managed list of

domains.

Quoted 3 lines

Thank you.

Quoted 8 lines
Quoted 3 lines

Warm Regards
Ananth

If you're on Fedora, try installing PyXML.

Regards, Ruben

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel