http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=319
Summary: once domU crash, service OS become unusable
Product: Xen
Version: unstable
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Tools
AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
ReportedBy: ping.y.yu@xxxxxxxxx
Environment:
------------
Service OS (ia32/ia32e/IA64): ia32
Guest OS (ia32/ia32e/IA64): ia32
build number: 7278
Bug detailed description:
--------------------------
When domU crashes, it will try to recreate one. run "xm list" will show that
domain id will increase quickly, but this
will make service OS unusable.
Reproduce steps:
----------------
(1)service OS boot
(2)xend start
(3)create a domU once it failed
Current result:
----------------
Domain id increase quickly, and service OS becomes unusable.
Expected result:
----------------
the retry should not make service OS unstable
Basic root-causing log:
----------------------
== /var/log/xend.log shows that the domain retry from 100 to 103 ====
17:42:24 xend] DEBUG (__init__:988) XendDomainInfo.update done on domain 100:
{'vcpu_avail': 1, 'image': ['linux',
['kernel', '/boot/vmlinuz-2.6.12-xenU'], ['root', '/dev/hda1 ro'],
['args', '4'], ['vcpus', '1'], ['vcpus', '1'],
['boot', 'c'], ['display', ':1.0']], 'paused': 0, 'shutdown': 0, 'backend':
[], 'dying':
0, 'on_reboot': 'restart', 'maxmem_KiB': 262144, 'cpu_weight': 1.0, 'blocked':
0, 'shutdown_reason': 3, 'start_time':
1129110099.8099639, 'on_poweroff': 'destroy', 'on_crash': 'restart', 'crashed':
1, 'running': 0, 'device': [('vbd',
['vbd', ['uname', 'phy:hda1'], ['dev', 'hda1'], ['mode', 'w']]), ('vif',
['vif',
['mac', 'aa:00:00:6d:36:d0']])], 'cpumap': [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0], 'bootloader': None, 'vcpu_to_cpu': [1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1], 'cpu_time': 321198183L, 'ssidref':
0, 'memory_KiB': 262144, 'name': 'Zombie-ExampleDomain', 'dom': 100, 'vcpus':
1, 'cpu': 1}
[2005-10-12 17:42:24 xend] DEBUG (__init__:988) XendDomainInfo.update
({'vcpu_to_cpu': [0, 1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1], 'cpu_time':
132127275464L, 'ssidref': 0, 'shutdown_reason': 0, 'dying': 0, 'dom':
0, 'running': 1, 'maxmem_kb': -4, 'paused':
0, 'crashed': 0, 'vcpus': 2, 'shutdown': 0, 'mem_kb': 125952, 'cpumap': [-1, -
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0}) on
domain 0
[2005-10-12 17:42:24 xend] DEBUG (__init__:988) XendDomainInfo.update done on
domain 0: {'vcpu_avail': 3, 'image':
None, 'paused': 0, 'shutdown': 0, 'blocked': 0, 'dying':
0, 'on_reboot': 'restart', 'maxmem_KiB':
125952, 'cpu_weight': 1.0, 'backend': [], 'shutdown_reason':
0, 'on_poweroff': 'destroy', 'on_crash': 'restart', 'crashed': 0, 'running':
1, 'device': [], 'cpumap': [-1, -1, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0], 'bootloader':
None, 'vcpu_to_cpu': [0, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1], 'cpu_time': 132127275464L, 'ssidref':
0, 'memory_KiB': 125952, 'name': 'Domain-
0', 'dom': 0, 'vcpus': 2, 'cpu': None}
[2005-10-12 17:42:24 xend] DEBUG (__init__:988) XendDomainInfo.update
({'vcpu_to_cpu': [1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1], 'cpu_time':
298689671L, 'ssidref': 0, 'shutdown_reason': 0, 'dying': 0, 'dom':
101, 'running': 0, 'maxmem_kb': 262144, 'paused':
0, 'crashed': 0, 'vcpus': 1, 'shutdown': 0, 'mem_kb': 262144, 'cpumap': [2, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0}) on domain
101
[2005-10-12 17:42:24 xend] DEBUG (__init__:988) XendDomainInfo.update done on
domain 101: {'shutdown':
0, 'shutdown_reason': 0, 'start_time':
1129110122.921561, 'on_poweroff': 'destroy', 'on_crash': 'restart', 'paused':
0, 'crashed': 0, 'running': 0, 'vcpu_avail': 1, 'device': [('vbd', ['vbd',
['uname', 'phy:hda1'], ['dev', 'hda1'],
['mode', 'w']]), ('vif', ['vif', ['mac', 'aa:00:00:6d:36:d0']])], 'cpumap':
[2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'bootloader':
None, 'backend': [], 'vcpu_to_cpu': [1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -
1], 'cpu_time': 298689671L, 'ssidref': 0, 'memory_KiB':
262144, 'name': 'ExampleDomain', 'dying': 0, 'dom':
101, 'on_reboot': 'restart', 'maxmem_KiB': 262144, 'cpu': 1, 'vcpus':
1, 'cpu_weight': 1.0, 'blocked': 0, 'image':
['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'], ['root', '/dev/hda1 ro'],
['args', '4'], ['vcpus', '1'],
['vcpus', '1'], ['boot', 'c'], ['display', ':1.0']]}
[2005-10-12 17:42:25 xend] DEBUG (__init__:988) XendDomainInfo.update
({'vcpu_to_cpu': [0, 1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1], 'cpu_time':
132164935614L, 'ssidref': 0, 'shutdown_reason': 0, 'dying': 0, 'dom':
0, 'running': 1, 'maxmem_kb': -4, 'paused':
0, 'crashed': 0, 'vcpus': 2, 'shutdown': 0, 'mem_kb': 125952, 'cpumap': [-1, -
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0}) on
domain 0
[2005-10-12 17:42:25 xend] DEBUG (__init__:988) XendDomainInfo.update done on
domain 0: {'vcpu_avail': 3, 'image':
None, 'paused': 0, 'shutdown': 0, 'blocked': 0, 'dying':
0, 'on_reboot': 'restart', 'maxmem_KiB':
125952, 'cpu_weight': 1.0, 'backend': [], 'shutdown_reason':
0, 'on_poweroff': 'destroy', 'on_crash': 'restart', 'crashed': 0, 'running':
1, 'device': [], 'cpumap': [-1, -1, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0], 'bootloader':
None, 'vcpu_to_cpu': [0, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1], 'cpu_time': 132164935614L, 'ssidref':
0, 'memory_KiB': 125952, 'name': 'Domain-
0', 'dom': 0, 'vcpus': 2, 'cpu': None}
[2005-10-12 17:42:25 xend] DEBUG (__init__:988) XendDomainInfo.update
({'vcpu_to_cpu': [1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1], 'cpu_time':
314304725L, 'ssidref': 0, 'shutdown_reason': 3, 'dying': 0, 'dom':
101, 'running': 0, 'maxmem_kb': 262144, 'paused':
0, 'crashed': 1, 'vcpus': 1, 'shutdown': 0, 'mem_kb': 262144, 'cpumap': [2, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0}) on domain
101
[2005-10-12 17:42:25 xend] WARNING (__init__:988) Domain has crashed:
name=ExampleDomain id=101.
[2005-10-12 17:42:25 xend] DEBUG (__init__:988) XendDomainInfo.destroy:
domid=101
[2005-10-12 17:42:25 xend] DEBUG (__init__:988) XendDomainInfo.destroyDomain
(101)
[2005-10-12 17:42:25 xend] DEBUG (__init__:988) XendDomainInfo.create
(['domain', ['domid', 101], ['uuid', '239a94c6-
fa64-4583-b8e3-ba93b03cbc32'], ['memory', 256], ['name', 'ExampleDomain'],
['ssidref', 0], ['vcpus', 1],
['vcpu_avail', 1], ['cpu_weight', 1.0], ['on_poweroff', 'destroy'],
['on_reboot', 'restart'], ['on_crash', 'restart'],
['maxmem', 256], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'],
['root', '/dev/hda1 ro'], ['args', '4'],
['vcpus', '1'], ['vcpus', '1'], ['boot', 'c'], ['display', ':1.0']]],
['device', ['vbd', ['uname', 'phy:hda1'],
['dev', 'hda1'], ['mode', 'w']]], ['device', ['vif',
['mac', 'aa:00:00:6d:36:d0']]], ['state', '----c-'],
['shutdown_reason', 'crash'], ['cpu_time', 0.31430472500000001], ['vcpus', 1],
['cpumap', [2, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], ['cpu',
1], ['vcpu_to_cpu', '1'],
['up_time', '22.3073720932'], ['start_time', '1129110122.92'], ['store_mfn',
166764], ['console_mfn', 166763]])
[2005-10-12 17:42:26 xend] DEBUG (__init__:988) parseConfig: config is
['domain', ['domid', 101], ['uuid', '239a94c6-
fa64-4583-b8e3-ba93b03cbc32'], ['memory', 256], ['name', 'ExampleDomain'],
['ssidref', 0], ['vcpus', 1],
['vcpu_avail', 1], ['cpu_weight', 1.0], ['on_poweroff', 'destroy'],
['on_reboot', 'restart'], ['on_crash', 'restart'],
['maxmem', 256], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'],
['root', '/dev/hda1 ro'], ['args', '4'],
['vcpus', '1'], ['vcpus', '1'], ['boot', 'c'], ['display', ':1.0']]],
['device', ['vbd', ['uname', 'phy:hda1'],
['dev', 'hda1'], ['mode', 'w']]], ['device', ['vif',
['mac', 'aa:00:00:6d:36:d0']]], ['state', '----c-'],
['shutdown_reason', 'crash'], ['cpu_time', 0.31430472500000001], ['vcpus', 1],
['cpumap', [2, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], ['cpu',
1], ['vcpu_to_cpu', '1'],
['up_time', '22.3073720932'], ['start_time', '1129110122.92'], ['store_mfn',
166764], ['console_mfn', 166763]]
[2005-10-12 17:42:26 xend] DEBUG (__init__:988) parseConfig: result is
{'ssidref':
0, 'name': 'ExampleDomain', 'on_reboot': 'restart', 'image': ['linux',
['kernel', '/boot/vmlinuz-2.6.12-xenU'],
['root', '/dev/hda1 ro'], ['args', '4'], ['vcpus', '1'], ['vcpus', '1'],
['boot', 'c'],
['display', ':1.0']], 'on_poweroff': 'destroy', 'mem_kb': None, 'maxmem_kb':
None, 'on_crash': 'restart', 'backend':
[], 'vcpus': 1, 'cpu_weight': 1.0, 'vcpu_avail': 1, 'memory': 256, 'device':
[('vbd', ['vbd', ['uname', 'phy:hda1'],
['dev', 'hda1'], ['mode', 'w']]), ('vif', ['vif',
['mac', 'aa:00:00:6d:36:d0']])], 'bootloader': None, 'cpu':
1, 'maxmem': 256}
[2005-10-12 17:42:26 xend] DEBUG (__init__:988) XendDomainInfo.construct: None
0
[2005-10-12 17:42:27 xend] DEBUG (__init__:988) XendDomainInfo.initDomain: 102
262144 1.0
[2005-10-12 17:42:27 xend] DEBUG (__init__:988) init_domain> Created
domain=102 name=ExampleDomain memory=262144
[2005-10-12 17:42:27 xend] INFO (__init__:988) buildDomain os=linux dom=102
vcpus=1
[2005-10-12 17:42:27 xend] DEBUG (__init__:988) dom = 102
[2005-10-12 17:42:27 xend] DEBUG (__init__:988) image = /boot/vmlinuz-
2.6.12-xenU
[2005-10-12 17:42:27 xend] DEBUG (__init__:988) store_evtchn = 1
[2005-10-12 17:42:27 xend] DEBUG (__init__:988) console_evtchn = 2
[2005-10-12 17:42:27 xend] DEBUG (__init__:988) cmdline =
root=/dev/hda1 ro 4
[2005-10-12 17:42:28 xend] DEBUG (__init__:988) ramdisk =
[2005-10-12 17:42:28 xend] DEBUG (__init__:988) flags = 0
[2005-10-12 17:42:28 xend] DEBUG (__init__:988) vcpus = 1
[2005-10-12 17:42:31 xend] DEBUG (__init__:988) exception looking up device
number for hda1: [Errno 2] No such file or
directory: '/dev/hda1'
[2005-10-12 17:42:32 xend] DEBUG (__init__:988) DevController: writing
{'virtual-device': '769', 'backend-
id': '0', 'backend': '/local/domain/0/backend/vbd/102/769'}
to /local/domain/102/device/vbd/769.
[2005-10-12 17:42:32 xend] DEBUG (__init__:988) DevController: writing
{'domain': 'ExampleDomain', 'params': 'hda1', 'frontend-
id': '102', 'type': 'phy', 'dev': 'hda1', 'frontend': '/local/domain/102/device
/vbd/769'}
to /local/domain/0/backend/vbd/102/769.
[2005-10-12 17:42:32 xend] DEBUG (__init__:988) DevController: writing
{'backend-
id': '0', 'mac': 'aa:00:00:6d:36:d0', 'handle': '1', 'backend': '/local/domain/
0/backend/vif/102/1'}
to /local/domain/102/device/vif/1.
[2005-10-12 17:42:32 xend] DEBUG (__init__:988) DevController: writing
{'bridge': 'xen-
br0', 'mac': 'aa:00:00:6d:36:d0', 'handle': '1', 'script': '/etc/xen/scripts/vi
f-bridge', 'frontend-
id': '102', 'domain': 'ExampleDomain', 'frontend': '/local/domain/102/device/vi
f/1'}
to /local/domain/0/backend/vif/102/1.
[2005-10-12 17:42:47 xend] DEBUG (__init__:988) Storing VM details:
{'ssidref': '0', 'uuid': '38ec12e9-cefc-4478-bcff-
028009ac1cf9', 'on_reboot': 'restart', 'image': "(linux (kernel /boot/vmlinuz-
2.6.12-xenU) (root '/dev/hda1 ro') (args
4) (vcpus 1) (vcpus 1) (boot c)
(display :1.0))", 'on_poweroff': 'destroy', 'vcpus': '1', 'on_crash': 'restart'
, 'memory/target': '262144', 'vcpu_avail
': '1', 'name': 'ExampleDomain'}
[2005-10-12 17:42:49 xend] DEBUG (__init__:988) Storing domain details:
{'memory_KiB': '262144', 'name': 'ExampleDomain', 'on_reboot': 'restart', 'star
t_time': '1129110147.41', 'on_poweroff':
'destroy', 'maxmem_KiB': '262144', 'vm': '/vm/38ec12e9-cefc-4478-bcff-
028009ac1cf9', 'domid': '102', 'on_crash': 'restart', 'cpu/0/availability': 'on
line', 'memory/target': '262144', 'cpu_w
eight': '1.0', 'vcpu_avail': '1', 'device': "[('vbd', ['vbd',
['uname', 'phy:hda1'], ['dev', 'hda1'], ['mode', 'w']]),
('vif', ['vif',
['mac', 'aa:00:00:6d:36:d0']])]", 'cpu': '1', 'image': "['linux',
['kernel', '/boot/vmlinuz-2.6.12-
xenU'], ['root', '/dev/hda1 ro'], ['args', '4'], ['vcpus', '1'],
['vcpus', '1'], ['boot', 'c'],
['display', ':1.0']]", 'vcpus': '1'}
[2005-10-12 17:42:50 xend] DEBUG (__init__:988) XendDomainInfo.update done on
domain 101: {'vcpu_avail': 1, 'image':
['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'], ['root', '/dev/hda1 ro'],
['args', '4'], ['vcpus', '1'],
['vcpus', '1'], ['boot', 'c'], ['display', ':1.0']], 'paused': 0, 'shutdown':
0, 'backend': [], 'dying':
0, 'on_reboot': 'restart', 'maxmem_KiB': 262144, 'cpu_weight': 1.0, 'blocked':
0, 'shutdown_reason': 3, 'start_time':
1129110122.921561, 'on_poweroff': 'destroy', 'on_crash': 'restart', 'crashed':
1, 'running': 0, 'device': [('vbd',
['vbd', ['uname', 'phy:hda1'], ['dev', 'hda1'], ['mode', 'w']]), ('vif',
['vif',
['mac', 'aa:00:00:6d:36:d0']])], 'cpumap': [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0], 'bootloader': None, 'vcpu_to_cpu': [1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1], 'cpu_time': 314304725L, 'ssidref':
0, 'memory_KiB': 262144, 'name': 'Zombie-ExampleDomain', 'dom': 101, 'vcpus':
1, 'cpu': 1}
[2005-10-12 17:42:50 xend] DEBUG (__init__:988) XendDomainInfo.update
({'vcpu_to_cpu': [0, 1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1], 'cpu_time':
134090249286L, 'ssidref': 0, 'shutdown_reason': 0, 'dying': 0, 'dom':
0, 'running': 1, 'maxmem_kb': -4, 'paused':
0, 'crashed': 0, 'vcpus': 2, 'shutdown': 0, 'mem_kb': 125952, 'cpumap': [-1, -
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0}) on
domain 0
[2005-10-12 17:42:51 xend] DEBUG (__init__:988) XendDomainInfo.update done on
domain 0: {'vcpu_avail': 3, 'image':
None, 'paused': 0, 'shutdown': 0, 'blocked': 0, 'dying':
0, 'on_reboot': 'restart', 'maxmem_KiB':
125952, 'cpu_weight': 1.0, 'backend': [], 'shutdown_reason':
0, 'on_poweroff': 'destroy', 'on_crash': 'restart', 'crashed': 0, 'running':
1, 'device': [], 'cpumap': [-1, -1, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0], 'bootloader':
None, 'vcpu_to_cpu': [0, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1], 'cpu_time': 134090249286L, 'ssidref':
0, 'memory_KiB': 125952, 'name': 'Domain-
0', 'dom': 0, 'vcpus': 2, 'cpu': None}
[2005-10-12 17:42:51 xend] DEBUG (__init__:988) XendDomainInfo.update
({'vcpu_to_cpu': [1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1], 'cpu_time':
292946028L, 'ssidref': 0, 'shutdown_reason': 0, 'dying': 0, 'dom':
102, 'running': 0, 'maxmem_kb': 262144, 'paused':
0, 'crashed': 0, 'vcpus': 1, 'shutdown': 0, 'mem_kb': 262144, 'cpumap': [2, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0}) on domain
102
[2005-10-12 17:42:51 xend] DEBUG (__init__:988) XendDomainInfo.update done on
domain 102: {'shutdown':
0, 'shutdown_reason': 0, 'start_time':
1129110147.4138889, 'on_poweroff': 'destroy', 'on_crash': 'restart', 'paused':
0, 'crashed': 0, 'running': 0, 'vcpu_avail': 1, 'device': [('vbd', ['vbd',
['uname', 'phy:hda1'], ['dev', 'hda1'],
['mode', 'w']]), ('vif', ['vif', ['mac', 'aa:00:00:6d:36:d0']])], 'cpumap':
[2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'bootloader':
None, 'backend': [], 'vcpu_to_cpu': [1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -
1], 'cpu_time': 292946028L, 'ssidref': 0, 'memory_KiB':
262144, 'name': 'ExampleDomain', 'dying': 0, 'dom':
102, 'on_reboot': 'restart', 'maxmem_KiB': 262144, 'cpu': 1, 'vcpus':
1, 'cpu_weight': 1.0, 'blocked': 0, 'image':
['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'], ['root', '/dev/hda1 ro'],
['args', '4'], ['vcpus', '1'],
['vcpus', '1'], ['boot', 'c'], ['display', ':1.0']]}
[2005-10-12 17:42:51 xend] DEBUG (__init__:988) XendDomainInfo.update
({'vcpu_to_cpu': [0, 1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1], 'cpu_time':
134137084378L, 'ssidref': 0, 'shutdown_reason': 0, 'dying': 0, 'dom':
0, 'running': 1, 'maxmem_kb': -4, 'paused':
0, 'crashed': 0, 'vcpus': 2, 'shutdown': 0, 'mem_kb': 125952, 'cpumap': [-1, -
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0}) on
domain 0
[2005-10-12 17:42:51 xend] DEBUG (__init__:988) XendDomainInfo.update done on
domain 0: {'vcpu_avail': 3, 'image':
None, 'paused': 0, 'shutdown': 0, 'blocked': 0, 'dying':
0, 'on_reboot': 'restart', 'maxmem_KiB':
125952, 'cpu_weight': 1.0, 'backend': [], 'shutdown_reason':
0, 'on_poweroff': 'destroy', 'on_crash': 'restart', 'crashed': 0, 'running':
1, 'device': [], 'cpumap': [-1, -1, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0], 'bootloader':
None, 'vcpu_to_cpu': [0, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1], 'cpu_time': 134137084378L, 'ssidref':
0, 'memory_KiB': 125952, 'name': 'Domain-
0', 'dom': 0, 'vcpus': 2, 'cpu': None}
[2005-10-12 17:42:51 xend] DEBUG (__init__:988) XendDomainInfo.update
({'vcpu_to_cpu': [1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1], 'cpu_time':
309387123L, 'ssidref': 0, 'shutdown_reason': 3, 'dying': 0, 'dom':
102, 'running': 0, 'maxmem_kb': 262144, 'paused':
0, 'crashed': 1, 'vcpus': 1, 'shutdown': 0, 'mem_kb': 262144, 'cpumap': [2, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0}) on domain
102
[2005-10-12 17:42:51 xend] WARNING (__init__:988) Domain has crashed:
name=ExampleDomain id=102.
[2005-10-12 17:42:51 xend] DEBUG (__init__:988) XendDomainInfo.destroy:
domid=102
[2005-10-12 17:42:51 xend] DEBUG (__init__:988) XendDomainInfo.destroyDomain
(102)
[2005-10-12 17:42:52 xend] DEBUG (__init__:988) XendDomainInfo.create
(['domain', ['domid', 102], ['uuid', '38ec12e9-
cefc-4478-bcff-028009ac1cf9'], ['memory', 256], ['name', 'ExampleDomain'],
['ssidref', 0], ['vcpus', 1],
['vcpu_avail', 1], ['cpu_weight', 1.0], ['on_poweroff', 'destroy'],
['on_reboot', 'restart'], ['on_crash', 'restart'],
['maxmem', 256], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'],
['root', '/dev/hda1 ro'], ['args', '4'],
['vcpus', '1'], ['vcpus', '1'], ['boot', 'c'], ['display', ':1.0']]],
['device', ['vbd', ['uname', 'phy:hda1'],
['dev', 'hda1'], ['mode', 'w']]], ['device', ['vif',
['mac', 'aa:00:00:6d:36:d0']]], ['state', '----c-'],
['shutdown_reason', 'crash'], ['cpu_time', 0.30938712299999999], ['vcpus', 1],
['cpumap', [2, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], ['cpu',
1], ['vcpu_to_cpu', '1'],
['up_time', '24.0369610786'], ['start_time', '1129110147.41'], ['store_mfn',
166764], ['console_mfn', 166763]])
[2005-10-12 17:42:52 xend] DEBUG (__init__:988) parseConfig: config is
['domain', ['domid', 102], ['uuid', '38ec12e9-
cefc-4478-bcff-028009ac1cf9'], ['memory', 256], ['name', 'ExampleDomain'],
['ssidref', 0], ['vcpus', 1],
['vcpu_avail', 1], ['cpu_weight', 1.0], ['on_poweroff', 'destroy'],
['on_reboot', 'restart'], ['on_crash', 'restart'],
['maxmem', 256], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'],
['root', '/dev/hda1 ro'], ['args', '4'],
['vcpus', '1'], ['vcpus', '1'], ['boot', 'c'], ['display', ':1.0']]],
['device', ['vbd', ['uname', 'phy:hda1'],
['dev', 'hda1'], ['mode', 'w']]], ['device', ['vif',
['mac', 'aa:00:00:6d:36:d0']]], ['state', '----c-'],
['shutdown_reason', 'crash'], ['cpu_time', 0.30938712299999999], ['vcpus', 1],
['cpumap', [2, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], ['cpu',
1], ['vcpu_to_cpu', '1'],
['up_time', '24.0369610786'], ['start_time', '1129110147.41'], ['store_mfn',
166764], ['console_mfn', 166763]]
[2005-10-12 17:42:52 xend] DEBUG (__init__:988) parseConfig: result is
{'ssidref':
0, 'name': 'ExampleDomain', 'on_reboot': 'restart', 'image': ['linux',
['kernel', '/boot/vmlinuz-2.6.12-xenU'],
['root', '/dev/hda1 ro'], ['args', '4'], ['vcpus', '1'], ['vcpus', '1'],
['boot', 'c'],
['display', ':1.0']], 'on_poweroff': 'destroy', 'mem_kb': None, 'maxmem_kb':
None, 'on_crash': 'restart', 'backend':
[], 'vcpus': 1, 'cpu_weight': 1.0, 'vcpu_avail': 1, 'memory': 256, 'device':
[('vbd', ['vbd', ['uname', 'phy:hda1'],
['dev', 'hda1'], ['mode', 'w']]), ('vif', ['vif',
['mac', 'aa:00:00:6d:36:d0']])], 'bootloader': None, 'cpu':
1, 'maxmem': 256}
[2005-10-12 17:42:52 xend] DEBUG (__init__:988) XendDomainInfo.construct: None
0
[2005-10-12 17:42:52 xend] DEBUG (__init__:988) XendDomainInfo.initDomain: 103
262144 1.0
[2005-10-12 17:42:52 xend] DEBUG (__init__:988) init_domain> Created
domain=103 name=ExampleDomain memory=262144
[2005-10-12 17:42:57 xend] INFO (__init__:988) buildDomain os=linux dom=103
vcpus=1
[2005-10-12 17:42:58 xend] DEBUG (__init__:988) dom = 103
[2005-10-12 17:42:58 xend] DEBUG (__init__:988) image = /boot/vmlinuz-
2.6.12-xenU
[2005-10-12 17:42:58 xend] DEBUG (__init__:988) store_evtchn = 1
[2005-10-12 17:42:58 xend] DEBUG (__init__:988) console_evtchn = 2
[2005-10-12 17:42:58 xend] DEBUG (__init__:988) cmdline =
root=/dev/hda1 ro 4
[2005-10-12 17:42:58 xend] DEBUG (__init__:988) ramdisk =
[2005-10-12 17:42:58 xend] DEBUG (__init__:988) flags = 0
[2005-10-12 17:42:58 xend] DEBUG (__init__:988) vcpus = 1
[2005-10-12 17:43:05 xend] DEBUG (__init__:988) exception looking up device
number for hda1: [Errno 2] No such file or
directory: '/dev/hda1'
[2005-10-12 17:43:06 xend] DEBUG (__init__:988) DevController: writing
{'virtual-device': '769', 'backend-
id': '0', 'backend': '/local/domain/0/backend/vbd/103/769'}
to /local/domain/103/device/vbd/769.
[2005-10-12 17:43:06 xend] DEBUG (__init__:988) DevController: writing
{'domain': 'ExampleDomain', 'params': 'hda1', 'frontend-
id': '103', 'type': 'phy', 'dev': 'hda1', 'frontend': '/local/domain/103/device
/vbd/769'}
to /local/domain/0/backend/vbd/103/769.
[2005-10-12 17:43:09 xend] DEBUG (__init__:988) DevController: writing
{'backend-
id': '0', 'mac': 'aa:00:00:6d:36:d0', 'handle': '1', 'backend': '/local/domain/
0/backend/vif/103/1'}
to /local/domain/103/device/vif/1.
[2005-10-12 17:43:10 xend] DEBUG (__init__:988) DevController: writing
{'bridge': 'xen-
br0', 'mac': 'aa:00:00:6d:36:d0', 'handle': '1', 'script': '/etc/xen/scripts/vi
f-bridge', 'frontend-
id': '103', 'domain': 'ExampleDomain', 'frontend': '/local/domain/103/device/vi
f/1'}
to /local/domain/0/backend/vif/103/1.
[2005-10-12 17:43:10 xend] DEBUG (__init__:988) Storing VM details:
{'ssidref': '0', 'uuid': 'b10d7ff6-43dd-4d9a-a9a2-
7920610ee41e', 'on_reboot': 'restart', 'image': "(linux (kernel /boot/vmlinuz-
2.6.12-xenU) (root '/dev/hda1 ro') (args
4) (vcpus 1) (vcpus 1) (boot c)
(display :1.0))", 'on_poweroff': 'destroy', 'vcpus': '1', 'on_crash': 'restart'
, 'memory/target': '262144', 'vcpu_avail
': '1', 'name': 'ExampleDomain'}
[2005-10-12 17:43:11 xend] DEBUG (__init__:988) Storing domain details:
{'memory_KiB': '262144', 'name': 'ExampleDomain', 'on_reboot': 'restart', 'star
t_time': '1129110172.38', 'on_poweroff':
'destroy', 'maxmem_KiB': '262144', 'vm': '/vm/b10d7ff6-43dd-4d9a-a9a2-
7920610ee41e', 'domid': '103', 'on_crash': 'restart', 'cpu/0/availability': 'on
line', 'memory/target': '262144', 'cpu_w
eight': '1.0', 'vcpu_avail': '1', 'device': "[('vbd', ['vbd',
['uname', 'phy:hda1'], ['dev', 'hda1'], ['mode', 'w']]),
('vif', ['vif',
['mac', 'aa:00:00:6d:36:d0']])]", 'cpu': '1', 'image': "['linux',
['kernel', '/boot/vmlinuz-2.6.12-
xenU'], ['root', '/dev/hda1 ro'], ['args', '4'], ['vcpus', '1'],
['vcpus', '1'], ['boot', 'c'],
['display', ':1.0']]", 'vcpus': '1'}
[2005-10-12 17:43:14 xend] DEBUG (__init__:988) XendDomainInfo.update done on
domain 102: {'vcpu_avail': 1, 'image':
['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'], ['root', '/dev/hda1 ro'],
['args', '4'], ['vcpus', '1'],
['vcpus', '1'], ['boot', 'c'], ['display', ':1.0']], 'paused': 0, 'shutdown':
0, 'backend': [], 'dying':
0, 'on_reboot': 'restart', 'maxmem_KiB': 262144, 'cpu_weight': 1.0, 'blocked':
0, 'shutdown_reason': 3, 'start_time':
1129110147.4138889, 'on_poweroff': 'destroy', 'on_crash': 'restart', 'crashed':
1, 'running': 0, 'device': [('vbd',
['vbd', ['uname', 'phy:hda1'], ['dev', 'hda1'], ['mode', 'w']]), ('vif',
['vif',
['mac', 'aa:00:00:6d:36:d0']])], 'cpumap': [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0], 'bootloader': None, 'vcpu_to_cpu': [1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1], 'cpu_time': 309387123L, 'ssidref':
0, 'memory_KiB': 262144, 'name': 'Zombie-ExampleDomain', 'dom': 102, 'vcpus':
1, 'cpu': 1}
[2005-10-12 17:43:18 xend] DEBUG (__init__:988) XendDomainInfo.update
({'vcpu_to_cpu': [0, 1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1], 'cpu_time':
136409662987L, 'ssidref': 0, 'shutdown_reason': 0, 'dying': 0, 'dom':
0, 'running': 1, 'maxmem_kb': -4, 'paused':
0, 'crashed': 0, 'vcpus': 2, 'shutdown': 0, 'mem_kb': 125952, 'cpumap': [-1, -
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0}) on
domain 0
[2005-10-12 17:43:18 xend] DEBUG (__init__:988) XendDomainInfo.update done on
domain 0: {'vcpu_avail': 3, 'image':
None, 'paused': 0, 'shutdown': 0, 'blocked': 0, 'dying':
0, 'on_reboot': 'restart', 'maxmem_KiB':
125952, 'cpu_weight': 1.0, 'backend': [], 'shutdown_reason':
0, 'on_poweroff': 'destroy', 'on_crash': 'restart', 'crashed': 0, 'running':
1, 'device': [], 'cpumap': [-1, -1, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0], 'bootloader':
None, 'vcpu_to_cpu': [0, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1], 'cpu_time': 136409662987L, 'ssidref':
0, 'memory_KiB': 125952, 'name': 'Domain-
0', 'dom': 0, 'vcpus': 2, 'cpu': None}
[2005-10-12 17:43:24 xend] DEBUG (__init__:988) XendDomainInfo.update
({'vcpu_to_cpu': [1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -
1, -1, -1, -1, -1], 'cpu_time':
1746344295L, 'ssidref': 0, 'shutdown_reason': 3, 'dying': 0, 'dom':
103, 'running': 0, 'maxmem_kb': 262144, 'paused':
0, 'crashed': 1, 'vcpus': 1, 'shutdown': 0, 'mem_kb': 262144, 'cpumap': [2, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0}) on domain
103
[2005-10-12 17:43:26 xend] WARNING (__init__:988) Domain has crashed:
name=ExampleDomain id=103.
[2005-10-12 17:43:32 xend] DEBUG (__init__:988) XendDomainInfo.destroy:
domid=103
[2005-10-12 17:43:34 xend] DEBUG (__init__:988) XendDomainInfo.destroyDomain
(103)
--
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
|