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

RE: [Xen-users] Lvm-based domUs keep crashing... limited to 2 domU

To: "john maclean" <jayeola@xxxxxxxxx>, "Xen Users" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Lvm-based domUs keep crashing... limited to 2 domU
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Tue, 19 Jun 2007 13:15:40 +0200
Delivery-date: Tue, 19 Jun 2007 04:14:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4170c1720706190405l65ca2bc3k97351387ba1b00dc@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceyYdoEUlAqpaIkRymTqpbwNQ7JoAAATD8g
Thread-topic: [Xen-users] Lvm-based domUs keep crashing... limited to 2 domU
 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> john maclean
> Sent: 19 June 2007 12:06
> To: Xen Users
> Subject: [Xen-users] Lvm-based domUs keep crashing... limited 
> to 2 domU
> 
> Chaps,
> 
> Xen 3.1.0 running on Debian Lenny quite well. A self build using lvm2
> for the xen instances. On Sunday I had six running OK. Now When I
> start the third domain it wants to start but crashes.
> 
> Here follows an extract of /var/log/xen/xend.log. I hope that some one
> out there can help me to diagnose and fix what's going on... Note the
> line "VM is already running" - it's not unless xm list is not finding
> the domains.

That error message is supposed to be used when there are two domains
with the same name, which in this case is 'blag50k'. 

--
Mats
> 
> [2007-06-19 10:49:47 5915] DEBUG (__init__:1072)
> XendDomainInfo.destroyDomain(10)
> [2007-06-19 10:49:47 5915] DEBUG (__init__:1072)
> XendDomainInfo.create_from_dict({'vcpus_params': {}, 'PV_args':
> 'root=/dev/sda1 ro ip=:1.2.3.4:::blag50k:eth0:dhcp 4', 'features': '',
> 'cpus': [], 'paused': 0, 'domid': 10, 'shutdown': 0, 'VCPUs_live': 1,
> 'PV_bootloader': '', 'actions_after_crash': 'restart', 'vbd_refs':
> ['5eb56f79-0dc8-6b38-efea-0b68f6eabc22',
> '13006cbd-9d34-017b-2118-7fa42797ffd7'], 'PV_ramdisk': '',
> 'is_control_domain': False, 'name_label': 'blag50k',
> 'VCPUs_at_startup': 1, 'HVM_boot_params': {}, 'platform':
> {'rtc_timeoffset': '0'}, 'cpu_weight': 256, 'console_refs':
> ['bc6ba6c2-caab-175d-19ef-19f03be6242a'], 'online_vcpus': 1,
> 'cpu_cap': 0, 'blocked': 0, 'on_xend_stop': 'ignore',
> 'memory_static_min': 0, 'HVM_boot_policy': '', 'shutdown_reason': 3,
> 'VCPUs_max': 1, 'start_time': 1182246570.029721, 'memory_static_max':
> 33554432, 'actions_after_shutdown': 'destroy', 'on_xend_start':
> 'ignore', 'crashed': 1, 'memory_dynamic_max': 33554432,
> 'actions_after_suspend': '', 'is_a_template': False,
> 'PV_bootloader_args': '', 'memory_dynamic_min': 33554432, 'uuid':
> '55a8dec9-df56-89f9-7d3e-fe3898926f45', 'PV_kernel':
> '/boot/vmlinuz-2.6.18-xen', 'cpu_time': 0.382074786, 'shadow_memory':
> 0, 'dying': 1, 'vcpu_avail': 1, 'notes': {'HV_START_LOW':
> '4118806528', 'FEATURES':
> 'writable_page_tables|writable_descriptor_tables|auto_translat
> ed_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel',
> 'VIRT_BASE': '3221225472', 'GUEST_VERSION': '2.6', 'PADDR_OFFSET':
> '3221225472', 'GUEST_OS': 'linux', 'HYPERCALL_PAGE': '3238006784',
> 'LOADER': 'generic', 'SUSPEND_CANCEL': '1', 'PAE_MODE': 'yes',
> 'ENTRY': '3238002688', 'XEN_VERSION': 'xen-3.0'}, 'other_config': {},
> 'running': 0, 'actions_after_reboot': 'restart', 'vif_refs':
> ['377bfe0b-f6f8-a70a-2435-7e433b9f5d3f'], 'vtpm_refs': [], 'security':
> None, 'devices': {'5eb56f79-0dc8-6b38-efea-0b68f6eabc22': ('vbd',
> {'uuid': '5eb56f79-0dc8-6b38-efea-0b68f6eabc22', 'bootable': 1,
> 'devid': 2049, 'driver': 'paravirtualised', 'dev': 'sda1', 'uname':
> 'phy:/dev/acidlvm/blag50k', 'mode': 'w'}),
> '377bfe0b-f6f8-a70a-2435-7e433b9f5d3f': ('vif', {'devid': 0, 'uuid':
> '377bfe0b-f6f8-a70a-2435-7e433b9f5d3f'}),
> '13006cbd-9d34-017b-2118-7fa42797ffd7': ('vbd', {'uuid':
> '13006cbd-9d34-017b-2118-7fa42797ffd7', 'bootable': 0, 'devid': 2050,
> 'driver': 'paravirtualised', 'dev': 'sda2', 'uname':
> 'phy:/dev/acidlvm/blag50kswap', 'mode': 'w'}),
> 'bc6ba6c2-caab-175d-19ef-19f03be6242a': ('console', {'other_config':
> {}, 'protocol': 'vt100', 'uuid':
> 'bc6ba6c2-caab-175d-19ef-19f03be6242a', 'location': '2'})}})
> [2007-06-19 10:49:47 5915] ERROR (__init__:1072) Domain 
> construction failed
> Traceback (most recent call last):
>   File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 103, in
> create_from_dict
>     vm.start()
>   File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 
> 420, in start
>     raise XendError('VM already running')
> XendError: VM already running
> [2007-06-19 10:49:47 5915] DEBUG (__init__:1072)
> XendDomainInfo.destroy: domid=10
> [2007-06-19 10:49:47 5915] ERROR (__init__:1072) Failed to 
> restart domain 10.
> Traceback (most recent call last):
>   File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 
> 1216, in _restart
>     new_dom = XendDomain.instance().domain_create_from_dict(
>   File "//usr/lib/python/xen/xend/XendDomain.py", line 932, in
> domain_create_from_dict
>     dominfo = XendDomainInfo.create_from_dict(config_dict)
>   File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 103, in
> create_from_dict
>     vm.start()
>   File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 
> 420, in start
>     raise XendError('VM already running')
> XendError: VM already running
> 
> 
> -- 
> John Maclean  - 07739 171 531
> MSc (DIC)
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 
> 



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