YES!!!
Its running now... =)
I just create the int *br0* on the worker node and try to run again...
Now i have a new issue, i cant acesses the VM... I discover that i already
have a bridge working on my workers nodes, but with a different name (*
virbr0*).
Probably the opennebula express install did it for me...
Now i'll try to resubmit th vm using this interface(*virbr0*) instead of *
br0* which is misconfigured
Tue Oct 4 14:35:43 2011 [LCM][I]: New VM state is BOOT
Tue Oct 4 14:35:43 2011 [VMM][I]: Generating deployment file:
/var/lib/one/9/deployment.2
Tue Oct 4 14:35:44 2011 [LCM][I]: New VM state is RUNNING
Tue Oct 4 14:45:55 2011 [VMM][D]: Monitor Information:
CPU : 98
Memory: 65536
Net_TX: 0
Net_RX: 468
Thx a lot guy!
2011/10/4 Héctor Sanjuán hsanj...@opennebula.org
Hi
br0 must be a bridge defined in the physical host where you are going to
deploy the VM. It seems that it doesnt exist...
Hector
El 04/10/11 17:12, Bruno Ferreira escribió:
Hector Thank you for reply.
I gave permission to the DIR in var VM_DIR.
Now im getting other error.
I take a look at the log of the vm and everything goes ok until the boot
then i get this errors message:
/Tue Oct 4 11:52:55 2011 [VMM][I]: STDERR follows.
Tue Oct 4 11:52:55 2011 [VMM][I]: /usr/lib/ruby/1.8/open3.rb:73:
warning: Insecure world writable dir /srv/cloud/one in PATH, mode 040777
Tue Oct 4 11:52:55 2011 [VMM][I]: Warning: Permanently added
'xxx.xxx.xxx.xxx' (RSA) to the list of known hosts.
Tue Oct 4 11:52:55 2011 [VMM][I]: error: Failed to create domain from
/srv/cloud//8/images/deployment.0
Tue Oct 4 11:52:55 2011 [VMM][I]: error: Failed to add tap interface to
bridge 'br0': No such device
Tue Oct 4 11:52:55 2011 [VMM][I]: ExitCode: 255
Tue Oct 4 11:52:55 2011 [VMM][E]: Error deploying virtual machine:
/usr/lib/ruby/1.8/open3.rb:73: warning: Insecure world writable dir
/srv/cloud/one in PATH, mode 040777
Tue Oct 4 11:52:55 2011 [DiM][I]: New VM state is FAILED
/
I have the interface br0 configured in the vm.
Bellow is info about the network and vm.*
_onevnet show_*/_:_
VIRTUAL NETWORK 1
INFORMATION
ID: : 1
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=1, VID=7 ]
LEASE=[ IP=192.168.0.6, MAC=02:00:c0:a8:00:06, USED=0, VID=-1 ]
LEASE=[ IP=192.168.0.7, MAC=02:00:c0:a8:00:07, USED=0, VID=-1 ]/
_*onehost show *id_:
/VIRTUAL MACHINE 7
INFORMATION
ID : 7
NAME : ttylinux
STATE : FAILED
LCM_STATE : LCM_INIT
START TIME : 10/04 11:24:29
END TIME : 10/04 11:27:09
DEPLOY ID: : -
VIRTUAL MACHINE
MONITORING
NET_TX : 0
NET_RX : 0
USED MEMORY: 0
USED CPU : 0
VIRTUAL MACHINE
TEMPLATE
CONTEXT=[
FILES=/home/oneadmin/init.sh /home/oneadmin/.ssh/id_rsa.pub,
HOSTNAME=ttylinux,
IP_PUBLIC=xxx.xxx.xxx.xxx,
ROOT_PUBKEY=id_dsa.pub,
TARGET=hdc,
USERNAME=opennebula,
USER_PUBKEY=id_dsa.pub ]
CPU=0.5
DISK=[
CLONE=YES,
DISK_ID=0,
IMAGE=ttylinux,
IMAGE_ID=7,
READONLY=NO,
SAVE=NO,
SOURCE=/srv/cloud/var/images/8625d68b699fd30e64360471eb2c38fed47fcfb6,
TARGET=hda,
TYPE=DISK ]
FEATURES=[
ACPI=no ]
MEMORY=64
NAME=ttylinux
NIC=[
BRIDGE=br0,
IP=192.168.0.5,
MAC=02:00:c0:a8:00:05,
NETWORK=Small network,
NETWORK_ID=1 ]
VMID=7
/
Best Regards,
Bruno Ferreira.
2011/10/3 Héctor Sanjuán hsanj...@opennebula.org
mailto:hsanj...@opennebula.org
oneadmin user seems not to have rights to write to /srv/cloud/one on
the
remote node. You may want to make VM_DIR in oned.conf point to a
writable folder (maybe /var/one) or give writing permissions to
oneadmin
in /srv/cloud in the remote node.
Hector
El 03/10/11 21:35, Bruno Ferreira escribió:
Hello guys!
I am doing a cloud project for my college using open nebula.
So i follow this model bellow .Almost everything is okay except the
*onevm* procedure.
http://opennebula.org/documentation:archives:rel2.2:vmg
When i try to deploy a vm its show fail status.
Mon Oct 3 16:14:56 2011 [DiM][I]: New VM state is PENDING.
Mon Oct 3 16:15:15 2011 [DiM][I]: New VM state is ACTIVE.
Mon Oct 3 16:15:15 2011 [LCM][I]: New VM state is PROLOG.
Mon Oct 3 16:15:15 2011 [TM][I]: Command execution fail:
/usr/lib/one/tm_commands/ssh/tm_clone.sh
ubuntucloud:/srv/cloud/var/images/8625d68b699fd30e64360471eb2c38fed47fcfb6xxx.xxx.xxx.xxx:/srv/cloud/one/var/4/images/disk.0
Mon Oct 3 16:15:15 2011 [TM][I]: STDERR follows.
Mon Oct 3 16:15:15 2011 [TM][I]: