Hi!
parsing for the "pci" parameter for pciback is broken and returns "too
many values to unpack" - errormessage
this error occurs since cs 12070
Tried as command line parameter
xm create <cfg> pci=00:10.1
and as option in config file itself
pci= [ '00:10.1']
Please see attached xend.log for backtrace captured from a cs 12392
Patrick
[2006-11-13 19:46:32 xend.XendDomainInfo 2931] DEBUG (__init__:1072)
XendDomainInfo.create(['vm', ['name', 'atlantis'], ['memory', 256], ['vcpus',
1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['image',
['linux', ['kernel', '/boot/vmlinuz-2.6.16.29-xen0'], ['root', '/dev/xvda2
ro'], ['args', 'S']]], ['device', ['vbd', ['uname', 'phy:/dev/sdb2'], ['dev',
'xvda1'], ['mode', 'w']]], ['device', ['vbd', ['uname',
'phy:/dev/storage/atlantis-sarge'], ['dev', 'xvda2'], ['mode', 'w']]],
['device', ['vbd', ['uname', 'phy:/dev/storage/home'], ['dev', 'xvda3'],
['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:/dev/storage/scratch'],
['dev', 'xvda4'], ['mode', 'w']]], ['device', ['vbd', ['uname',
'phy:/dev/storage/srv'], ['dev', 'xvda5'], ['mode', 'w']]], ['device', ['vbd',
['uname', 'phy:/dev/storage/data-random'], ['dev', 'xvda15'], ['mode', 'w']]],
['device', ['pci', ['dev', ['domain', '0x0'], ['bus', '0x00'], ['slot',
'0x10'], ['func', '0x0']]]], ['device', ['vif', ['mac', 'FE:FF:FF:FF:FF:01']]]])
[2006-11-13 19:46:32 xend 2931] DEBUG (__init__:1072) XendConfig: reading
device: {'uname': 'phy:/dev/sdb2', 'mode': 'w', 'dev': 'xvda1'}
[2006-11-13 19:46:32 xend 2931] DEBUG (__init__:1072) XendConfig: reading
device: {'uname': 'phy:/dev/storage/atlantis-sarge', 'mode': 'w', 'dev':
'xvda2'}
[2006-11-13 19:46:32 xend 2931] DEBUG (__init__:1072) XendConfig: reading
device: {'uname': 'phy:/dev/storage/home', 'mode': 'w', 'dev': 'xvda3'}
[2006-11-13 19:46:32 xend 2931] DEBUG (__init__:1072) XendConfig: reading
device: {'uname': 'phy:/dev/storage/scratch', 'mode': 'w', 'dev': 'xvda4'}
[2006-11-13 19:46:32 xend 2931] DEBUG (__init__:1072) XendConfig: reading
device: {'uname': 'phy:/dev/storage/srv', 'mode': 'w', 'dev': 'xvda5'}
[2006-11-13 19:46:32 xend 2931] DEBUG (__init__:1072) XendConfig: reading
device: {'uname': 'phy:/dev/storage/data-random', 'mode': 'w', 'dev': 'xvda15'}
[2006-11-13 19:46:32 xend 2931] ERROR (__init__:1072) too many values to unpack
Traceback (most recent call last):
File
"/usr/src/xen/xen-unstable/dist/install/usr/lib/python/xen/util/xmlrpclib2.py",
line 179, in _marshaled_dispatch
response = self._dispatch(method, params)
File "SimpleXMLRPCServer.py", line 406, in _dispatch
return func(*params)
File
"/usr/src/xen/xen-unstable/dist/install/usr/lib/python/xen/xend/server/XMLRPCServer.py",
line 64, in domain_create
info = XendDomain.instance().domain_create(config)
File
"/usr/src/xen/xen-unstable/dist/install/usr/lib/python/xen/xend/XendDomain.py",
line 802, in domain_create
dominfo = XendDomainInfo.create(config)
File
"/usr/src/xen/xen-unstable/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 148, in create
vm = XendDomainInfo(XendConfig(sxp = config))
File
"/usr/src/xen/xen-unstable/dist/install/usr/lib/python/xen/xend/XendConfig.py",
line 285, in __init__
cfg = self._populate_from_sxp(sxp)
File
"/usr/src/xen/xen-unstable/dist/install/usr/lib/python/xen/xend/XendConfig.py",
line 455, in _populate_from_sxp
for opt, val in config[1:]:
ValueError: too many values to unpack
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|