http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=874
Summary: reboot domU crash in cause of cpus parsing
Product: Xen
Version: unspecified
Platform: x86
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: Tools
AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
ReportedBy: daniele@xxxxxxxxxxxx
(xen 3.0.4) -- please add to "Version".
When i do a reboot of a domU, this is the error:
[2007-01-23 15:54:40 xend.XendDomainInfo 9429] INFO (XendDomainInfo:969) Domain
has shutdown: name=prova2 id=9 reason=reboot.
[2007-01-23 15:54:40 xend.XendDomainInfo 9429] DEBUG (XendDomainInfo:1491)
XendDomainInfo.destroyDomain(9)
[2007-01-23 15:54:41 xend.XendDomainInfo 9429] DEBUG (XendDomainInfo:731)
Storing domain details: {'console/ring-ref': '2252506', 'console/port': '2',
'name': 'prova2', 'console/limit': '1048576', 'vm':
'/vm/10521f0c-fb11-aa4c-73de-05ba4afd1431', 'domid': 'None',
'cpu/0/availability': 'online', 'memory/target': '524288', 'store/ring-ref':
'2252507', 'store/port': '1'}
[2007-01-23 15:54:41 xend.XendDomainInfo 9429] DEBUG (XendDomainInfo:94)
XendDomainInfo.create(['domain', ['domid', 9], ['on_crash', 'restart'],
['memory', 512], ['uuid', '10521f0c-fb11-aa4c-73de-05ba4afd1431'],
['bootloader_args', ''], ['name', 'prova2'], ['maxmem', 1024], ['cpus', [1, 2,
3]], ['on_reboot', 'restart'], ['on_poweroff', 'destroy'], ['localtime', 0],
['vcpus', 1], ['bootloader', ''], ['shadow_memory', 0], ['vcpu_avail', 1],
['cpu_weight', 256], ['cpu_cap', 0], ['features', ''], ['on_xend_start',
'ignore'], ['on_xend_stop', 'ignore'], ['start_time', 1169564049.2009571],
['cpu_time', 7.7532831949999998], ['online_vcpus', 1], ['cpus', [1, 2, 3]],
['cpus', [1, 2, 3]], ['cpus', [1, 2, 3]], ['cpus', [1, 2, 3]], ['cpus', [1, 2,
3]], ['cpus', [1, 2, 3]], ['cpus', [1, 2, 3]], ['cpus', [1, 2, 3]], ['cpus',
[1, 2, 3]], ['cpus', [1, 2, 3]], ['cpus', [1, 2, 3]], ['cpus', [1, 2, 3]],
['cpus', [1, 2, 3]], ['cpus', [1, 2, 3]], ['image', ['linux', ['kernel',
'/boot/vmlinuz-default-xen-DomU'], ['args', 'root=/dev/sda1 ro root=/dev/sda1
ro 3'], ['root', '/dev/sda1 ro']]], ['status', 4], ['memory_dynamic_min', 512],
['memory_dynamic_max', 1024], ['state', '---s--'], ['store_mfn', 2252507],
['console_mfn', 2252506], ['device', ['vif', ['bridge', 'xenbr1.600'], ['mac',
'00:16:3e:58:a2:29'], ['script', 'vif-bridge'], ['uuid',
'8687a74d-c4cc-3c76-a62c-cd7d09da14e9'], ['backend', 0]]], ['device', ['vif',
['bridge', 'xenbr1.14'], ['mac', '00:16:3e:36:62:bc'], ['script',
'vif-bridge'], ['uuid', 'd5000ee1-178c-02a6-216f-58e87b24416d'], ['backend',
0]]], ['device', ['vif', ['bridge', 'xenbr1'], ['mac', '00:16:3e:19:40:0a'],
['script', 'vif-bridge'], ['uuid', 'cf3a6ef3-60f3-97f4-159c-9a5f0fb0b85e'],
['backend', 0]]], ['device', ['vbd', ['uname', 'phy:/dev/Xen2Volume/prova2'],
['uuid', '4b528097-57f6-3705-12bd-19fc41d4a825'], ['mode', 'w'], ['dev',
'/dev/sda1:disk'], ['backend', 0]]], ['device', ['vbd', ['uname',
'phy:/dev/Xen2Volume/domU-kernel-needed'], ['uuid',
'169849cd-0a43-322d-2653-e937ca8b266e'], ['mode', 'r'], ['dev',
'/dev/sdb1:disk'], ['backend', 0]]], ['device', ['vbd', ['uname',
'phy:/dev/Xen2Volume/prova2-swap'], ['uuid',
'ccbc8b97-f64c-eaa7-4c33-3e8c3c082129'], ['mode', 'w'], ['dev',
'/dev/sda2:disk'], ['backend', 0]]], ['cpus', '1,2,3']])
[2007-01-23 15:54:41 xend.XendDomainInfo 9429] ERROR (XendDomainInfo:1114)
Failed to restart domain 9.
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
1100, in _restart
new_dom = XendDomain.instance().domain_create(config)
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 862, in
domain_create
dominfo = XendDomainInfo.create(config)
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 95,
in create
vm = XendDomainInfo(XendConfig.XendConfig(sxp_obj = config))
File "/usr/lib/python2.4/site-packages/xen/xend/XendConfig.py", line 298, in
__init__
self._sxp_to_xapi(sxp_obj)
File "/usr/lib/python2.4/site-packages/xen/xend/XendConfig.py", line 590, in
_sxp_to_xapi
cfg = self._parse_sxp(sxp_cfg)
File "/usr/lib/python2.4/site-packages/xen/xend/XendConfig.py", line 556, in
_parse_sxp
for c in cfg['cpus'].split(','):
AttributeError: 'list' object has no attribute 'split'
even with http://xenbits2.xensource.com/xen-3.0.4-testing.hg?rev/057f7c4dbed1
patch
i have:
[2007-01-23 15:57:52 xend.XendDomainInfo 9429] DEBUG (XendDomainInfo:94)
XendDomainInfo.create(['domain', ['domid', 11], ['on_crash', 'restart'],
['memory', 512], ['uuid', '0280b70f-aa1c-99de-dcc5-124407b84615'],
['bootloader_args', ''], ['name', 'prova2'], ['maxmem', 1024], ['cpus', [1, 2,
3]], ['on_reboot', 'restart'], ['on_poweroff', 'destroy'], ['localtime', 0],
['vcpus', 1], ['bootloader', ''], ['shadow_memory', 0], ['vcpu_avail', 1],
['cpu_weight', 256], ['cpu_cap', 0], ['features', ''], ['on_xend_start',
'ignore'], ['on_xend_stop', 'ignore'], ['start_time', 1169564200.0320561],
['cpu_time', 7.7350799510000003], ['online_vcpus', 1], ['cpus', [1, 2, 3]],
['cpus', [1, 2, 3]], ['cpus', [1, 2, 3]], ['cpus', [1, 2, 3]], ['cpus', [1, 2,
3]], ['cpus', [1, 2, 3]], ['cpus', [1, 2, 3]], ['cpus', [1, 2, 3]], ['cpus',
[1, 2, 3]], ['cpus', [1, 2, 3]], ['cpus', [1, 2, 3]], ['cpus', [1, 2, 3]],
['cpus', [1, 2, 3]], ['cpus', [1, 2, 3]], ['cpus', [1, 2, 3]], ['cpus', [1, 2,
3]], ['cpus', [1, 2, 3]], ['image', ['linux', ['kernel',
'/boot/vmlinuz-default-xen-DomU'], ['args', 'root=/dev/sda1 ro root=/dev/sda1
ro 3'], ['root', '/dev/sda1 ro']]], ['status', 4], ['memory_dynamic_min', 512],
['memory_dynamic_max', 1024], ['state', '---s--'], ['store_mfn', 2211419],
['console_mfn', 2211418], ['device', ['vif', ['bridge', 'xenbr1'], ['mac',
'00:16:3e:09:08:bc'], ['script', 'vif-bridge'], ['uuid',
'1412e63f-7b40-fce5-74f8-2f8a43d49a1e'], ['backend', 0]]], ['device', ['vif',
['bridge', 'xenbr1.600'], ['mac', '00:16:3e:2c:ce:34'], ['script',
'vif-bridge'], ['uuid', '31e9b6fa-c6cd-e1ee-1b52-d3173ee6ebea'], ['backend',
0]]], ['device', ['vif', ['bridge', 'xenbr1.14'], ['mac', '00:16:3e:51:33:d3'],
['script', 'vif-bridge'], ['uuid', '9c9ceded-c5c8-9a26-02a7-d477f1a99132'],
['backend', 0]]], ['device', ['vbd', ['uname',
'phy:/dev/Xen2Volume/prova2-swap'], ['uuid',
'e80bf70f-cf89-5f16-1083-e3189f7f19fb'], ['mode', 'w'], ['dev',
'/dev/sda2:disk'], ['backend', 0]]], ['device', ['vbd', ['uname',
'phy:/dev/Xen2Volume/domU-kernel-needed'], ['uuid',
'a249a549-4470-af23-cc6c-b330303ec55a'], ['mode', 'r'], ['dev',
'/dev/sdb1:disk'], ['backend', 0]]], ['device', ['vbd', ['uname',
'phy:/dev/Xen2Volume/prova2'], ['uuid',
'163dd9b1-fc9d-befb-221a-b588069fd102'], ['mode', 'w'], ['dev',
'/dev/sda1:disk'], ['backend', 0]]], ['cpus', '1,2,3']])
[2007-01-23 15:57:52 xend.XendDomainInfo 9429] ERROR (XendDomainInfo:1114)
Failed to restart domain 11.
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
1100, in _restart
new_dom = XendDomain.instance().domain_create(config)
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 862, in
domain_create
dominfo = XendDomainInfo.create(config)
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 95,
in create
vm = XendDomainInfo(XendConfig.XendConfig(sxp_obj = config))
File "/usr/lib/python2.4/site-packages/xen/xend/XendConfig.py", line 298, in
__init__
if sxp_obj:
File "/usr/lib/python2.4/site-packages/xen/xend/XendConfig.py", line 590, in
_sxp_to_xapi
File "/usr/lib/python2.4/site-packages/xen/xend/XendConfig.py", line 556, in
_parse_sxp
cpus = []
AttributeError: 'list' object has no attribute 'split'
--
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
|