Status: New
Owner: ----

New issue 124 by carlos.m.rodriguez: starting up more than one instance inside the same node gives a Xen Error.
http://code.google.com/p/ganeti/issues/detail?id=124

[r...@virtual1 ~]# gnt-cluster version
Software version: 2.1.7
Internode protocol: 30
Configuration format: 2010000
OS api version: 15
Export interface: 0
[r...@virtual1 ~]# gnt-cluster --version
gnt-cluster (ganeti) 2.1.7

What distribution are you using?
CentOS release 5.5 (Final)

What steps will reproduce the problem?
1. starting up more than one instance inside the same node gives a Xen Error.
2. the error is:
Could not start instance: Hypervisor error: Failed to start instance instance3.hpcf.upr.edu: exited with exit code 1 (Using config file "/etc/xen/instance3.hpcf.upr.edu".
Error: The uname "0" is already used by another domain
3. I tried to debug the error and found out that the problem is that XEN doesn't understand or break the syntax used by ganeti when defining disks. If I change the symbolic link for the disk created by ganeti from instance3.hpcf.upr.edu:0 to instance3 for example and start the instance it will startup without problems. The problem is that Xen recognizes only the "0" as the disk id and don't let me use it because there was already another instance using it, ie instance1.hpcf.upr.edu:0 which ultimately use the las part ("0") as the id.

For some reason XEN is parsing the disk info and using only the part after the colon ':'


Probably it is not a ganeti bug and a Xen one, but maybe I can configure something differently in ganeti to dodge this error.

The Xen version is:
[r...@virtual1 ~]# xm info
host                   : virtual1.hpcf.upr.edu
release                : 2.6.18-194.11.4.el5xen
version                : #1 SMP Tue Sep 21 05:40:24 EDT 2010
machine                : x86_64
nr_cpus                : 8
nr_nodes               : 1
sockets_per_node       : 2
cores_per_socket       : 4
threads_per_core       : 1
cpu_mhz                : 2327
hw_caps : bfebfbff:20100800:00000000:00000140:040ce3bd:00000000:00000001
total_memory           : 14330
free_memory            : 13382
node_to_cpu            : node0:0-7
xen_major              : 3
xen_minor              : 1
xen_extra              : .2-194.11.4.el5
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
cc_compiler            : gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)
cc_compile_by          : mockbuild
cc_compile_domain      : centos.org
cc_compile_date        : Tue Sep 21 04:56:20 EDT 2010
xend_config_format     : 2




Reply via email to