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: "Xen Users" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Lvm-based domUs keep crashing... limited to 2 domU
From: "john maclean" <jayeola@xxxxxxxxx>
Date: Tue, 19 Jun 2007 14:19:49 +0100
Delivery-date: Tue, 19 Jun 2007 06:18:01 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DZ1ZL+r4nc158mb7Lx3fo1CdFrVfTpiYnrOBgFEQ0We7n1oh3xBswxESCM4cHIoOLiWx7izAIsYkbLK02BkMLhT/d1DbnlmY0yqEFnyM02g3mcPcuwf2ddTF3BwCf0BzwjJK9FmoOFj9rTmEa8ipauWJ9KYHxsIHbvteVdtxsMI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fJlIFYEdBmdeLpZB1u8dzK7BISpO7ye36z0dfXacutu073sn/XLzQWD0nmJvpikzUzyUBm/WCx7ArNz+cGMJVdYoFZ0P85nSterao0n/1QeD2pAYvtXKpOD357iFCu7Cbwg0ydWnPWMmWofzQbZHCzrLMmDWPyHppZ60Tko4HAY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B02561E3C@xxxxxxxxxxxxxxxxx>
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>
References: <4170c1720706190405l65ca2bc3k97351387ba1b00dc@xxxxxxxxxxxxxx> <907625E08839C4409CE5768403633E0B02561E3C@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Just checked that the domains are uniquely named:-

Script started on Tue 19 Jun 2007 14:09:27 BST

acid:~# grep ^disk /etc/xen*/*
/etc/xen/blag50k:disk = [
'phy:/dev/acidlvm/blag50k,sda1,w','phy:/dev/acidlvm/blag50kswap,sda2,w'
]
/etc/xen/bx5x:disk = [
'phy:/dev/acidlvm/bx5x,sda1,w','phy:/dev/acidlvm/bx5xswap,sda2,w' ]
/etc/xen/cxhosting:disk = [
'phy:/dev/acidlvm/cxhosting,sda1,w','phy:/dev/acidlvm/cxhostingswap,sda2,w'
]
/etc/xen/cxvm4:disk = [
'phy:acidlvm/cxvm4,sda1,w','phy:acidlvm/cxvm4_swap,sda2,w' ]
/etc/xen/etch0:disk = [
'phy:/dev/acidlvm/etch0,sda1,w','phy:/dev/acidlvm/etch0swap,sda2,w' ]
/etc/xen/sxvm:disk = [
'phy:/dev/acidlvm/sxvm,sda1,w','phy:/dev/acidlvm/sxvmswap,sda2,w' ]
/etc/xen/xmexample1:disk = [ 'phy:hda1,hda1,w' ]
/etc/xen/xmexample2:disk = [ 'phy:sda%d,sda1,w' % (7+vmid),
/etc/xen/xmexample.hvm:disk = [
'file:/var/images/min-el3-i386.img,hda,w', ',hdc:cdrom,r' ]
/etc/xen/xmexample.vti:disk = [ 'file:/var/images/xenia64.img,hda,w',
',hdc:cdrom,r' ]
acid:~#
Script done on Tue 19 Jun 2007 14:09:42 BST

They seem to be. Also mounted the lvm partitions to check that there
are no conflicts within thier hostnames and any other networking
configs.

On 19/06/07, Petersson, Mats <Mats.Petersson@xxxxxxx> wrote:


> -----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
>
>
>





--
John Maclean  - 07739 171 531
MSc (DIC)

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