WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Restart failed

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Restart failed
From: John McMonagle <johnm@xxxxxxxxxxx>
Date: Thu, 9 Jul 2009 10:48:01 -0500
Delivery-date: Thu, 09 Jul 2009 08:48:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Advocap Inc
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.9
Running xen 3.2-1 from devian lenny
both dom0 and the problem domain are running 2.6.26-2-xen-686  both are 32 
bit.
domain is paravirtualized.

Apparently the domain crashed.
This is from xend.log:

[2009-07-08 21:45:02 3998] WARNING (XendDomainInfo:1258) Domain has crashed: 
name=mail id=9.
[2009-07-08 21:45:02 3998] DEBUG (XendDomainInfo:1914) 
XendDomainInfo.destroyDomain(9)
[2009-07-08 21:45:03 3998] DEBUG (XendDomainInfo:1529) Destroying device model
[2009-07-08 21:45:03 3998] DEBUG (XendDomainInfo:1536) Releasing devices
[2009-07-08 21:45:03 3998] DEBUG (XendDomainInfo:1542) Removing vif/0
[2009-07-08 21:45:03 3998] DEBUG (XendDomainInfo:590) 
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2009-07-08 21:45:03 3998] DEBUG (XendDomainInfo:1542) Removing vbd/51714
[2009-07-08 21:45:03 3998] DEBUG (XendDomainInfo:590) 
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51714
[2009-07-08 21:45:03 3998] DEBUG (XendDomainInfo:1542) Removing vbd/51713
[2009-07-08 21:45:03 3998] DEBUG (XendDomainInfo:590) 
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51713
[2009-07-08 21:45:03 3998] DEBUG (XendDomainInfo:1542) Removing vbd/51715
[2009-07-08 21:45:03 3998] DEBUG (XendDomainInfo:590) 
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51715
[2009-07-08 21:45:03 3998] DEBUG (XendDomainInfo:1542) Removing vbd/51716
[2009-07-08 21:45:04 3998] DEBUG (XendDomainInfo:590) 
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51716
[2009-07-08 21:45:04 3998] DEBUG (XendDomainInfo:1542) Removing vbd/51717
[2009-07-08 21:45:04 3998] DEBUG (XendDomainInfo:590) 
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51717
[2009-07-08 21:45:04 3998] DEBUG (XendDomainInfo:1542) Removing vbd/51718
[2009-07-08 21:45:04 3998] DEBUG (XendDomainInfo:590) 
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51718
[2009-07-08 21:45:04 3998] DEBUG (XendDomainInfo:1542) Removing console/0
[2009-07-08 21:45:04 3998] DEBUG (XendDomainInfo:590) 
XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2009-07-08 21:45:04 3998] DEBUG (XendDomainInfo:1534) No device model
[2009-07-08 21:45:04 3998] DEBUG (XendDomainInfo:1536) Releasing devices
[2009-07-08 21:45:04 3998] DEBUG (XendDomainInfo:106) 
XendDomainInfo.create_from_dict({'vcpus_params': {'cap': 0, 'weight': 
256}, 'PV_args': 'root=/dev/xvda2 ro ', 'other_config': 
{}, 'features': '', 'cpus': [], 'paused': 0, 'domid': 9, 'vcpu_avail': 
7, 'VCPUs_live': 
1, 'PV_bootloader': '/usr/lib/xen-3.2-1/bin/pygrub', 'actions_after_crash': 
'restart', 'vbd_refs': 
['baade65e-28e8-e5f3-90df-bbe9dba7b6f9', 
'd2ee1513-7a8e-cfd2-da5b-3fef7d0a4e35', '5d5c1fc6-4e63-23c7-e10e-421266698f87', 
'd245934f-fd64-25e4-4d92-e725a42ad497', 'd755b145-742e-9b7e-5f32-71b06b7d13d0', 
'44dd8fb0-ca2f-f4ce-cee0-2fc7e339558f'], 'PV_ramdisk': '', 'is_control_domain': 
False, '_temp_ramdisk': '/var/run/xend/boot/boot_ramdisk.xMS9-3', 'name_label': 
'mail', 'VCPUs_at_startup': 
1, 'HVM_boot_params': {}, 'platform': {}, 'PV_kernel': '', 'console_refs': 
['5f32cd71-fce6-8d5e-6124-6764e0691c4f'], 'online_vcpus': 3, 'vif_refs': 
['f0c5c98c-b0b9-a642-31a1-4bfc570cfc62'], 'blocked': 
0, 'on_xend_stop': 'ignore', 'shutdown': 
0, 'HVM_boot_policy': '', 'shutdown_reason': 3, 'VCPUs_max': 3, 'start_time': 
1246927043.7601669, 'memory_static_max': 
1572864000, 'actions_after_shutdown': 'destroy', 'on_xend_start': 'ignore', 
'crashed': 
0, 'memory_dynamic_max': 
1572864000, 'actions_after_suspend': '', 'is_a_template': 
False, 'memory_dynamic_min': 1572864000, '_temp_args': 'root=/dev/xvda2 ro 
console=hvc0', 'cpu_time': 17474.560149133002, 'shadow_memory': 
0, 'memory_static_min': 0, 'dying': 0, 'PV_bootloader_args': '', 'notes': 
{'HV_START_LOW': 4118806528L, 'FEATURES': 'writable_page_tables|
writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|
supervisor_mode_kernel', 'VIRT_BASE': 
3221225472L, 'GUEST_VERSION': '2.6', 'PADDR_OFFSET': 
0, 'GUEST_OS': 'linux', 'HYPERCALL_PAGE': 
3222278144L, 'LOADER': 'generic', 'SUSPEND_CANCEL': 
1, 'PAE_MODE': 'yes', 'ENTRY': 
3222274048L, 'XEN_VERSION': 'xen-3.0'}, '_temp_kernel': 
'/var/run/xend/boot/boot_kernel.IMYdc9', 'uuid': 
'f4e66be9-4d7b-0dcb-327b-3103bc8f9ce4', 'actions_after_reboot': 'restart', 
'_temp_using_bootloader': '1', 'running': 
0, 'vtpm_refs': [], 'devices': {'5d5c1fc6-4e63-23c7-e10e-421266698f87': 
('vbd', {'uuid': '5d5c1fc6-4e63-23c7-e10e-421266698f87', 'bootable': 
0, 'devid': 
51715, 'driver': 'paravirtualised', 'dev': 'xvda3', 'uname': 
'phy:/dev/v0/mail-tmp', 'mode': 'w'}), 'baade65e-28e8-e5f3-90df-bbe9dba7b6f9': 
('vbd', {'uuid': 'baade65e-28e8-e5f3-90df-bbe9dba7b6f9', 'bootable': 
1, 'devid': 
51714, 'driver': 'paravirtualised', 'dev': 'xvda2', 'uname': 
'phy:/dev/v0/mail-root-new', 'mode': 'w'}), 
'44dd8fb0-ca2f-f4ce-cee0-2fc7e339558f': 
('vbd', {'uuid': '44dd8fb0-ca2f-f4ce-cee0-2fc7e339558f', 'bootable': 
0, 'devid': 
51718, 'driver': 'paravirtualised', 'dev': 'xvda6', 'uname': 
'phy:/dev/v0/mail-kolab-spool', 'mode': 'w'}), 
'd245934f-fd64-25e4-4d92-e725a42ad497': 
('vbd', {'uuid': 'd245934f-fd64-25e4-4d92-e725a42ad497', 'bootable': 
0, 'devid': 
51716, 'driver': 'paravirtualised', 'dev': 'xvda4', 'uname': 
'phy:/dev/v0/mail-kolab', 'mode': 'w'}), 
'f0c5c98c-b0b9-a642-31a1-4bfc570cfc62': 
('vif', {'ip': '192.168.2.241', 'mac': '00:16:3E:EA:09:23', 'devid': 
0, 'uuid': 'f0c5c98c-b0b9-a642-31a1-4bfc570cfc62'}), 
'd2ee1513-7a8e-cfd2-da5b-3fef7d0a4e35': 
('vbd', {'uuid': 'd2ee1513-7a8e-cfd2-da5b-3fef7d0a4e35', 'bootable': 
0, 'devid': 
51713, 'driver': 'paravirtualised', 'dev': 'xvda1', 'uname': 
'phy:/dev/v0/mail-swap', 'mode': 'w'}), '5f32cd71-fce6-8d5e-6124-6764e0691c4f': 
('console', {'other_config': 
{}, 'protocol': 'vt100', 'uuid': '5f32cd71-fce6-8d5e-6124-6764e0691c4f', 
'location': '2'}), 'd755b145-742e-9b7e-5f32-71b06b7d13d0': 
('vbd', {'uuid': 'd755b145-742e-9b7e-5f32-71b06b7d13d0', 'bootable': 
0, 'devid': 
51717, 'driver': 'paravirtualised', 'dev': 'xvda5', 'uname': 
'phy:/dev/v0/mail-kolab-var', 'mode': 'w'})}})
[2009-07-08 21:45:04 3998] 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('VM already running')
XendError: VM already running
[2009-07-08 21:45:04 3998] DEBUG (XendDomainInfo:1897) XendDomainInfo.destroy: 
domid=9
[2009-07-08 21:45:04 3998] ERROR (XendDomainInfo:1425) Failed to restart 
domain 9.
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('VM already running')
XendError: VM already running


When I checked in the morning mail was not running and  create worked with no 
problem.

I have several other domains running on this server with no problem. They are 
running 2.6.28 kernel from etch.

This domain was running for months with no problem before it was put on line.
I have had a couple crashes that have no apparent cause recently.
Another time it gave the same XendError: VM already running error but it tried 
again and started.

While I want to fix the crashes I'd like to make sure it  restarts.

Any idea why it could not restart?
Anything that can be done?

John

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Restart failed, John McMonagle <=