http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=507
Summary: Minus sign in vifname=vif-foo breaks domU reboots
Product: Xen
Version: 3.0.1
Platform: All
URL: http://www.BudgetDedicated.com/
OS/Version: Linux-2.6
Status: NEW
Severity: normal
Priority: P4
Component: Tools
AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
ReportedBy: xen-bugzilla@xxxxxxxxxxxxxxxxxxx
Starting a domU with "vif = [ 'vifname=vif-foo' ] in the configuration works
fine, however the automatic restart (enabled via restart = 'always', etc) will
fail.
The minus sign seems to be responsible, and the python layer appears to handle
it incorrectly. Using vif_foo works fine.
I found this traceback in the xend.log:
Traceback (most recent call last):
File
"/local/scratch/xenod/cron-build/xen-3.0.1-x86_32.u24846.dir/xen-3.0.1.hg/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1433, in restart
File
"/local/scratch/xenod/cron-build/xen-3.0.1-x86_32.u24846.dir/xen-3.0.1.hg/dist/install/usr/lib/python/xen/xend/XendDomain.py",
line 226, in domain_create
File
"/local/scratch/xenod/cron-build/xen-3.0.1-x86_32.u24846.dir/xen-3.0.1.hg/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 182, in create
File
"/local/scratch/xenod/cron-build/xen-3.0.1-x86_32.u24846.dir/xen-3.0.1.hg/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1199, in initDomain
File
"/local/scratch/xenod/cron-build/xen-3.0.1-x86_32.u24846.dir/xen-3.0.1.hg/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1338, in createDevices
File
"/local/scratch/xenod/cron-build/xen-3.0.1-x86_32.u24846.dir/xen-3.0.1.hg/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 975, in createDevice
File
"/local/scratch/xenod/cron-build/xen-3.0.1-x86_32.u24846.dir/xen-3.0.1.hg/dist/install/usr/lib/python/xen/xend/server/DevController.py",
line 80, in createDevice
File
"/local/scratch/xenod/cron-build/xen-3.0.1-x86_32.u24846.dir/xen-3.0.1.hg/dist/install/usr/lib/python/xen/xend/server/netif.py",
line 91, in getDeviceDetails
TypeError: sequence item 0: expected string, list found
Erik de Bruijn
www.BudgetDedicated.com
--
Configure bugmail:
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs
|