[one-users] Erros when deploying vitual machine.

Carsten.Friedrich at csiro.au Carsten.Friedrich at csiro.au
Wed Feb 23 19:52:10 PST 2011


Your bridge is named eth0, but you refer to a bridge br0 in the virtual network. The two have to be the same. Either rename the bridge or use eth0 in the virtual network.

c

From: users-bounces at lists.opennebula.org [mailto:users-bounces at lists.opennebula.org] On Behalf Of Khoa Nguyen
Sent: Thursday, 24 February 2011 14:15
To: Zeeshan Ali Shah
Cc: users at lists.opennebula.org
Subject: Re: [one-users] Erros when deploying vitual machine.

Hj !
when i type sudo brctl show ( kvm )
It display

oneadmin at sv-desktop:~$ sudo brctl show
bridge name    bridge id        STP enabled    interfaces
eth0        8000.0025b3cac5c7    no        peth0


some other imformation

oneadmin at sv-desktop:/srv/
cloud/ttylinux$ onevnet list
  ID USER     NAME              TYPE BRIDGE P #LEASES
   0 oneadmin Small network    Fixed    br0 N       1
oneadmin at sv-desktop:/srv/cloud/ttylinux$ onevnet show 0
VIRTUAL NETWORK 0 INFORMATION
ID:       : 0
UID:      : 0
PUBLIC    : N

VIRTUAL NETWORK TEMPLATE
BRIDGE=br0
LEASES=[ IP=192.168.0.5 ]
LEASES=[ IP=192.168.0.6 ]
LEASES=[ IP=192.168.0.7 ]
NAME=Small network
TYPE=FIXED

LEASES INFORMATION
LEASE=[ IP=192.168.0.5, MAC=02:00:c0:a8:00:05, USED=0, VID=-1 ]
LEASE=[ IP=192.168.0.6, MAC=02:00:c0:a8:00:06, USED=1, VID=13 ]
LEASE=[ IP=192.168.0.7, MAC=02:00:c0:a8:00:07, USED=0, VID=-1 ]


oneadmin at sv-desktop:/srv/cloud/ttylinux$ onehost show 7
HOST 7 INFORMATION
ID                    : 7
NAME                  : 172.29.70.137
CLUSTER               : default
STATE                 : MONITORED
IM_MAD                : im_kvm
VM_MAD                : vmm_kvm
TM_MAD                : tm_nfs

HOST SHARES
MAX MEM               : 2025792
USED MEM (REAL)       : 907388
USED MEM (ALLOCATED)  : 0
MAX CPU               : 200
USED CPU (REAL)       : 2
USED CPU (ALLOCATED)  : 0
RUNNING VMS           : 0

MONITORING INFORMATION
ARCH=i686
CPUSPEED=1600
FREECPU=197.8
FREEMEMORY=1771764
HOSTNAME=sv-desktop
HYPERVISOR=kvm
MODELNAME=Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz
NETRX=0
NETTX=0
TOTALCPU=200
TOTALMEMORY=2025792
USEDCPU=2.19999999999999
USEDMEMORY=907388


Thanks for your help.

On Wed, Feb 23, 2011 at 4:40 PM, Zeeshan Ali Shah <zashah at pdc.kth.se<mailto:zashah at pdc.kth.se>> wrote:
ok seems networking issue.

do this on worker node:

sudo brctl show

copy paste here what it display ..


than send us the output of onevnet show (network id)


Zeeshan


On 02/23/2011 09:50 AM, Khoa Nguyen wrote:
 I create vitual machine accroding A VM sample with context & network  . But have some problem , I don't know to solve.
Help me. This is problem


hu Feb 24 06:34:31 2011 [DiM][I]: New VM state is ACTIVE.
Thu Feb 24 06:34:31 2011 [LCM][I]: New VM state is PROLOG.
Thu Feb 24 06:34:31 2011 [VM][I]: Virtual Machine has no context
Thu Feb 24 06:34:31 2011 [TM][I]: tm_clone.sh: sv-desktop:/srv/cloud/ttylinux/ttylinux.img 172.29.70.137:/srv/cloud/one/var//13/images/disk.0
Thu Feb 24 06:34:31 2011 [TM][I]: tm_clone.sh: DST: /srv/cloud/one/var//13/images/disk.0
Thu Feb 24 06:34:31 2011 [TM][I]: tm_clone.sh: Creating directory /srv/cloud/one/var//13/images
Thu Feb 24 06:34:31 2011 [TM][I]: tm_clone.sh: Executed "mkdir -p /srv/cloud/one/var//13/images".
Thu Feb 24 06:34:31 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w /srv/cloud/one/var//13/images".
Thu Feb 24 06:34:31 2011 [TM][I]: tm_clone.sh: Cloning /srv/cloud/ttylinux/ttylinux.img
Thu Feb 24 06:34:31 2011 [TM][I]: tm_clone.sh: Executed "cp -r /srv/cloud/ttylinux/ttylinux.img /srv/cloud/one/var//13/images/disk.0".
Thu Feb 24 06:34:31 2011 [TM][I]: tm_clone.sh: Executed "chmod a+rw /srv/cloud/one/var//13/images/disk.0".
Thu Feb 24 06:34:31 2011 [LCM][I]: New VM state is BOOT
Thu Feb 24 06:34:31 2011 [VMM][I]: Generating deployment file: /srv/cloud/one/var/13/deployment.0
Thu Feb 24 06:34:32 2011 [VMM][I]: Command execution fail: 'if [ -x "/var/tmp/one/vmm/kvm/deploy" ]; then /var/tmp/one/vmm/kvm/deploy /srv/cloud/one/var//13/images/deployment.0; else                              exit 42; fi'
Thu Feb 24 06:34:32 2011 [VMM][I]: STDERR follows.
Thu Feb 24 06:34:32 2011 [VMM][I]: Connecting to uri: qemu:///system
Thu Feb 24 06:34:32 2011 [VMM][I]: error: Failed to create domain from /srv/cloud/one/var//13/images/deployment.0
Thu Feb 24 06:34:32 2011 [VMM][I]: error: internal error Failed to add tap interface 'vnet%d' to bridge 'br0' : No such device
Thu Feb 24 06:34:32 2011 [VMM][I]: ExitCode: 255
Thu Feb 24 06:34:32 2011 [VMM][E]: Error deploying virtual machine: Connecting to uri: qemu:///system
Thu Feb 24 06:34:32 2011 [DiM][I]: New VM state is FAILED
Thu Feb 24 06:34:32 2011 [TM][W]: Ignored: LOG - 13 tm_delete.sh: Deleting /srv/cloud/one/var//13/images

Thu Feb 24 06:34:32 2011 [TM][W]: Ignored: LOG - 13 tm_delete.sh: Executed "rm -rf /srv/cloud/one/var//13/images".

Thu Feb 24 06:34:32 2011 [TM][W]: Ignored: TRANSFER SUCCESS 13 -


Thanks for advance.



_______________________________________________

Users mailing list

Users at lists.opennebula.org<mailto:Users at lists.opennebula.org>

http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




--

Regards





Zeeshan Ali Shah

System Administrator

PDC-Center for High Performance Computing

KTH-Royal Institute of Technology, Sweden

+46 8 790 9115

_______________________________________________
Users mailing list
Users at lists.opennebula.org<mailto:Users at lists.opennebula.org>
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110224/8a85ed2b/attachment-0003.htm>


More information about the Users mailing list