[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] domU configuration file


  • To: xen-users@xxxxxxxxxxxxx
  • From: Greg Treantos <gtreanto@xxxxxxxxx>
  • Date: Thu, 18 Oct 2012 14:00:26 -0400
  • Delivery-date: Fri, 19 Oct 2012 14:15:53 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

I was having issues starting a vm using opensuse11. I ended up running xm del <domU>. I then tried to import a config file using xm new -F <domU_config_file> and get this error

Unexpected error: <class 'xen.xend.sxp.ParseError'>

Traceback (most recent call last):
  File "/usr/sbin/xm", line 10, in <module>
    main.main(sys.argv)
  File "/usr/lib/python2.6/site-packages/xen/xm/main.py", line 2967, in main
    _, rc = _run_cmd(cmd, cmd_name, args)
  File "/usr/lib/python2.6/site-packages/xen/xm/main.py", line 2991, in _run_cmd
    return True, cmd(args)
  File "<string>", line 1, in <lambda>
  File "/usr/lib/python2.6/site-packages/xen/xm/main.py", line 1451, in xm_importcommand
    cmd.main([command] + args)
  File "/usr/lib/python2.6/site-packages/xen/xm/new.py", line 65, in main
    config = sxp.parse(file(config))[0]
  File "/usr/lib/python2.6/site-packages/xen/xend/sxp.py", line 740, in parse
    pin.input(buf)
  File "/usr/lib/python2.6/site-packages/xen/xend/sxp.py", line 171, in input
    self.input_eof()
  File "/usr/lib/python2.6/site-packages/xen/xend/sxp.py", line 167, in input_eof
    self.input_char(-1)
  File "/usr/lib/python2.6/site-packages/xen/xend/sxp.py", line 187, in input_char
    self.state.fn(c)
  File "/usr/lib/python2.6/site-packages/xen/xend/sxp.py", line 252, in state_string
    raise ParseError(self, "unexpected EOF")
xen.xend.sxp.ParseError: unexpected EOF


domU file


-- name="opensuse11_nas1"
uuid="94526e6a-3f9e-4adb-a81b-656662a523a8"
memory=384
maxmem=384
vcpus=1
>
>
>
localtime=0
keymap="en-us"
builder="linux"
bootloader="/usr/lib/xen/boot/domUloader.py"
bootargs="--entry=xvda2:/boot/vmlinuz-xen,/boot/initrd-xen"
extra=" "
disk=[ 'file:/vm/vm1/os11_1_nas1,xvda,w',
'phy:/dev/disk/by-id/usb-Initio_HD300LD_0010100540000008-0:0,xvdc,w',
'phy:/dev/disk/by-id/usb-SAMSUNG_SP2514N_000000000000-0:0,xvdd,w',
'phy:/dev/disk/by-id/usb-WDC_WD10_EACS-22D6B0_WDC_WD10EA_WD-WCAU42922319-0:0,xvde,w',
'phy:/dev/disk/by-id/b-ST320005_42AS_60434FFFFFFF-0:0,xvdf,w',
'phy:/dev/disk/by-id/usb-Hitachi_HDT721010SLA360_502088888888-0:0,xvdg,w',
'phy:/dev/disk/by-id/usb-Hitachi_HDS722020ALA330_1131A0888888-0:0,xvdh,w',
]
vif=[ 'mac=00:16:3e:0a:d8:85,bridge=br1', ]
vfb=['type=vnc,vncunused=1']



Greg

http://www.linkedin.com/in/gregtreantos
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.