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

Domain has crashed



Hello,

I've got some Virtual Machine crash problem.
Here is what I get from xm log

[2010-01-06 07:40:23 4049] INFO (XendDomain:1165) Domain jco02vm2 (4) unpaused.
[2010-01-26 11:22:48 4049] WARNING (XendDomainInfo:1258) Domain has crashed: name=jco02vm2 id=4.
[2010-01-26 11:22:48 4049] DEBUG (XendDomainInfo:1914) XendDomainInfo.destroyDomain(4)
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:1529) Destroying device model
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:1536) Releasing devices
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:1542) Removing vif/0
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:590) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:1542) Removing vif/1
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:590) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/1
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:1542) Removing vbd/2049
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:590) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2049
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:1542) Removing vbd/2050
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:590) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2050
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:1542) Removing vbd/2051
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:590) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2051
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:1542) Removing vbd/2052
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:590) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2052
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:1542) Removing vbd/2053
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:590) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2053
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:1542) Removing vbd/2054
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:590) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2054
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:1542) Removing vbd/2055
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:590) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2055
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:1542) Removing vbd/2056
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:590) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2056
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:1542) Removing console/0
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:590) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:1534) No device model
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:1536) Releasing devices
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:106) XendDomainInfo.create_from_dict({\047vcpus_params\047: {\047cap\047: 0, \047weight\047: 256}, \047PV_args\047: \047root=/dev/sda1 ro console=hvc0 xencons=tty\047, \047features\047: \047\047, \047cpus\047: [], \047paused\047: 0, \047domid\047: 4, \047shutdown\047: 0, \047VCPUs_live\047: 1, \047PV_bootloader\047: \047\047, \047actions_after_crash\047: \047restart\047, \047vbd_refs\047: [\0476581cdca-c9b4-81db-fd37-146a36fdce27\047, \047af459dcc-ad09-2692-0c5b-193a0d42d5fd\047, \0471d11100f-e87c-7405-2619-74607faa0958\047, \04754e0642b-f3da-44a0-52f3-bf778517f2a1\047, \047f7371e5e-ca90-1724-fd8d-d15da590b632\047, \0478b864896-7daf-6014-f25a-588812cdfe6b\047, \047f819f93c-df95-be15-fb9e-999953d6ab19\047, \047a9a0145e-9c1a-0247-9be5-4b45b537b623\047], \047PV_ramdisk\047: \047/boot/initrd.img-2.6.26-2-xen-686\047, \047is_control_domain\047: False, \047name_label\047: \047jco02vm2\047, \047VCPUs_at_startup\047: 1, \047HVM_boot_params\047: {}, \047platform\047: {}, \047PV_kernel\047: \047/boot/vmlinuz-2.6.26-2-xen-686\047, \047console_refs\047: [\047be0d14fa-d2e7-8e32-9efc-061fc16015b2\047], \047online_vcpus\047: 4, \047blocked\047: 0, \047on_xend_stop\047: \047ignore\047, \047memory_static_min\047: 0, \047HVM_boot_policy\047: \047\047, \047shutdown_reason\047: 3, \047VCPUs_max\047: 4, \047start_time\047: 1262760018.0591459, \047memory_static_max\047: 4294967296L, \047actions_after_shutdown\047: \047destroy\047, \047on_xend_start\047: \047ignore\047, \047crashed\047: 1, \047memory_dynamic_max\047: 4294967296L, \047actions_after_suspend\047: \047\047, \047is_a_template\047: False, \047PV_bootloader_args\047: \047\047, \047memory_dynamic_min\047: 4294967296L, \047uuid\047: \047e3e139f2-abe2-d2ef-f4b5-db1f934ed024\047, \047cpu_time\047: 177012.080410467, \047shadow_memory\047: 0, \047dying\047: 1, \047vcpu_avail\047: 15, \047notes\047: {\047HV_START_LOW\047: 4118806528L, \047FEATURES\047: \047writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel\047, \047VIRT_BASE\047: 3221225472L, \047GUEST_VERSION\047: \0472.6\047, \047PADDR_OFFSET\047: 0, \047GUEST_OS\047: \047linux\047, \047HYPERCALL_PAGE\047: 3222278144L, \047LOADER\047: \047generic\047, \047SUSPEND_CANCEL\047: 1, \047PAE_MODE\047: \047yes\047, \047ENTRY\047: 3222274048L, \047XEN_VERSION\047: \047xen-3.0\047}, \047other_config\047: {}, \047running\047: 0, \047actions_after_reboot\047: \047restart\047, \047vif_refs\047: [\047fdbf7356-4cd9-adb2-d775-e999b52173ae\047, \0475eb681b3-afdc-a3bd-6522-5bc7e43f9628\047], \047vtpm_refs\047: [], \047devices\047: {\047be0d14fa-d2e7-8e32-9efc-061fc16015b2\047: (\047console\047, {\047other_config\047: {}, \047protocol\047: \047vt100\047, \047uuid\047: \047be0d14fa-d2e7-8e32-9efc-061fc16015b2\047, \047location\047: \0472\047}), \0478b864896-7daf-6014-f25a-588812cdfe6b\047: (\047vbd\047, {\047uuid\047: \0478b864896-7daf-6014-f25a-588812cdfe6b\047, \047bootable\047: 0, \047devid\047: 2054, \047driver\047: \047paravirtualised\047, \047dev\047: \047sda6\047, \047uname\047: \047file:/data/vm/jco02vm2/tmp.img\047, \047mode\047: \047w\047}), \0475eb681b3-afdc-a3bd-6522-5bc7e43f9628\047: (\047vif\047, {\047bridge\047: \047eth1\047, \047mac\047: \04700:16:3E:0A:01:6C\047, \047devid\047: 1, \047uuid\047: \0475eb681b3-afdc-a3bd-6522-5bc7e43f9628\047}), \0471d11100f-e87c-7405-2619-74607faa0958\047: (\047vbd\047, {\047uuid\047: \0471d11100f-e87c-7405-2619-74607faa0958\047, \047bootable\047: 0, \047devid\047: 2051, \047driver\047: \047paravirtualised\047, \047dev\047: \047sda3\047, \047uname\047: \047file:/data/vm/jco02vm2/var.img\047, \047mode\047: \047w\047}), \047f7371e5e-ca90-1724-fd8d-d15da590b632\047: (\047vbd\047, {\047uuid\047: \047f7371e5e-ca90-1724-fd8d-d15da590b632\047, \047bootable\047: 0, \047devid\047: 2053, \047driver\047: \047paravirtualised\047, \047dev\047: \047sda5\047, \047uname\047: \047file:/data/vm/jco02vm2/usr.img\047, \047mode\047: \047w\047}), \047af459dcc-ad09-2692-0c5b-193a0d42d5fd\047: (\047vbd\047, {\047uuid\047: \047af459dcc-ad09-2692-0c5b-193a0d42d5fd\047, \047bootable\047: 0, \047devid\047: 2050, \047driver\047: \047paravirtualised\047, \047dev\047: \047sda2\047, \047uname\047: \047file:/data/vm/jco02vm2/boot.img\047, \047mode\047: \047w\047}), \04754e0642b-f3da-44a0-52f3-bf778517f2a1\047: (\047vbd\047, {\047uuid\047: \04754e0642b-f3da-44a0-52f3-bf778517f2a1\047, \047bootable\047: 0, \047devid\047: 2052, \047driver\047: \047paravirtualised\047, \047dev\047: \047sda4\047, \047uname\047: \047file:/data/vm/jco02vm2/var-log.img\047, \047mode\047: \047w\047}), \0476581cdca-c9b4-81db-fd37-146a36fdce27\047: (\047vbd\047, {\047uuid\047: \0476581cdca-c9b4-81db-fd37-146a36fdce27\047, \047bootable\047: 1, \047devid\047: 2049, \047driver\047: \047paravirtualised\047, \047dev\047: \047sda1\047, \047uname\047: \047file:/data/vm/jco02vm2/slash.img\047, \047mode\047: \047w\047}), \047fdbf7356-4cd9-adb2-d775-e999b52173ae\047: (\047vif\047, {\047bridge\047: \047eth0\047, \047mac\047: \04700:16:3E:0A:00:6C\047, \047devid\047: 0, \047uuid\047: \047fdbf7356-4cd9-adb2-d775-e999b52173ae\047}), \047f819f93c-df95-be15-fb9e-999953d6ab19\047: (\047vbd\047, {\047uuid\047: \047f819f93c-df95-be15-fb9e-999953d6ab19\047, \047bootable\047: 0, \047devid\047: 2055, \047driver\047: \047paravirtualised\047, \047dev\047: \047sda7\047, \047uname\047: \047file:/data/vm/jco02vm2/swap.img\047, \047mode\047: \047w\047}), \047a9a0145e-9c1a-0247-9be5-4b45b537b623\047: (\047vbd\047, {\047uuid\047: \047a9a0145e-9c1a-0247-9be5-4b45b537b623\047, \047bootable\047: 0, \047devid\047: 2056, \047driver\047: \047paravirtualised\047, \047dev\047: \047sda8\047, \047uname\047: \047file:/data/vm/jco02vm2/data.img\047, \047mode\047: \047w\047})}})
[2010-01-26 11:22:49 4049] ERROR (XendDomainInfo:111) Domain construction failed
Traceback (most recent call last):
  File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomainInfo.py", line 109, in create_from_dict
    vm.start()
  File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomainInfo.py", line 444, in start
    raise XendError(\047VM already running\047)
XendError: VM already running
[2010-01-26 11:22:49 4049] DEBUG (XendDomainInfo:1897) XendDomainInfo.destroy: domid=4
[2010-01-26 11:22:49 4049] ERROR (XendDomainInfo:1425) Failed to restart domain 4.
Traceback (most recent call last):
  File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomainInfo.py", line 1410, in _restart
    self.info)
  File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomain.py", line 975, in domain_create_from_dict
    dominfo = XendDomainInfo.create_from_dict(config_dict)
  File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomainInfo.py", line 109, in create_from_dict
    vm.start()
  File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomainInfo.py", line 444, in start
    raise XendError(\047VM already running\047)
XendError: VM already running


And here is my VM config file 

name    = 'jco02vm2'
kernel  = '/boot/vmlinuz-2.6.26-2-xen-686'
ramdisk = '/boot/initrd.img-2.6.26-2-xen-686'

memory  = '4096'

vcpus = "4"

root    = '/dev/sda1 ro'

disk    = [ 
'file:/data/vm/jco02vm2/slash.img,sda1,w',
'file:/data/vm/jco02vm2/boot.img,sda2,w', 
'file:/data/vm/jco02vm2/var.img,sda3,w', 
'file:/data/vm/jco02vm2/var-log.img,sda4,w',
'file:/data/vm/jco02vm2/usr.img,sda5,w',
'file:/data/vm/jco02vm2/tmp.img,sda6,w',
'file:/data/vm/jco02vm2/swap.img,sda7,w',
'file:/data/vm/jco02vm2/data.img,sda8,w'
]

vif = [ 
'bridge=eth0,mac=00:16:3E:0A:00:6C', 
'bridge=eth1,mac=00:16:3E:0A:01:6C'
]

2.6.26-2-xen-686
on_reboot   = 'restart'
on_crash    = 'restart'

extra = 'console=hvc0 xencons=tty'


My system is up to date, and I've got these crash quite often.
Do you have any idea what could be the problem? 

Thanks for your help.

--
Julien

Reply to: