Phil Winterfield (winterfi)
2009-Nov-09 21:10 UTC
[Xen-devel] Unexpected error: <type ''exceptions.TypeError''>
I am running linux-2.6.31.5-0.1 + xen-3.4.1 c/s 19718. Everything comes up fine, the xen daemon starts and I then try to create a guest and get the following exception in ''xm create'': GreenCity01:/home/ios# xm create -p vm1 Using config file "./vm1". Unexpected error: <type ''exceptions.TypeError''> Please report to xen-devel@lists.xensource.com Traceback (most recent call last): File "/usr/sbin/xm", line 7, in <module> main.main(sys.argv) File "/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 3066, in main _, rc = _run_cmd(cmd, cmd_name, args) File "/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 3090, in _run_cmd return True, cmd(args) File "<string>", line 1, in <lambda> File "/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 1439, in xm_importcommand cmd.main([command] + args) File "/usr/lib64/python2.6/site-packages/xen/xm/create.py", line 1361, in main doc = sxp2xml_inst.convert_sxp_to_xml(config, transient=True) File "/usr/lib64/python2.6/site-packages/xen/xm/xenapi_create.py", line 638, in convert_sxp_to_xml XEN_API_ON_CRASH_BEHAVIOUR) File "/usr/lib64/python2.6/site-packages/xen/xm/xenapi_create.py", line 629, in conv_chk raise "Invalid value: " + val TypeError: exceptions must be classes or instances, not str GreenCity01:/home//ios # cat vm1 # -*- mode: python; -*- #========================================================================== # Python configuration setup for ''xm create''. # This script sets the parameters used when a domain is created using ''xm create''. # You use a separate script for each domain you want to create, or # you can set the parameters for the domain on the xm command line. #========================================================================== #----------------------------------------------------------------------- ----- # Kernel image file. kernel = "i86bi_xen-ipbase-ms" #kernel = "i86linux-i-m" # Initial memory allocation (in megabytes) for the new domain. memory = 1024 vcpu=1 #vif = [ ''ip=1.3.0.3,bridge=eth0'',''ip=1.5.0.3,bridge=eth1'' ] pci = [ ''03:00.0'', ''03:00.1'' ] # A name for your domain. All domains must have different names. name = "IOSonXEN1" on_crash = ''coredump-destroy'' #----------------------------------------------------------------------- ----------- The config script and image are the same as those running successfully on linux-2.6.27+xen-3.4.1 systems in my lab. Not sure what this error is trying to tell me. Thanks, Phil _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel