YES!!!<br>Its running now... =)<br>I just create the int <b>br0</b> on the worker node and try to run again...<br><br>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 (<b>virbr0</b>).<br>
Probably the opennebula express install did it for me...<br><br>Now i'll try to resubmit th vm using this interface(<b>virbr0</b>) instead of <b>br0</b> which is "misconfigured"<br><br>Tue Oct 4 14:35:43 2011 [LCM][I]: New VM state is BOOT<br>
Tue Oct 4 14:35:43 2011 [VMM][I]: Generating deployment file: /var/lib/one/9/deployment.2<br>Tue Oct 4 14:35:44 2011 [LCM][I]: New VM state is RUNNING<br>Tue Oct 4 14:45:55 2011 [VMM][D]: Monitor Information:<br> CPU : 98<br>
Memory: 65536<br> Net_TX: 0<br> Net_RX: 468<br><br>Thx a lot guy!<br><br><br><div class="gmail_quote">2011/10/4 Héctor Sanjuán <span dir="ltr"><<a href="mailto:hsanjuan@opennebula.org" target="_blank">hsanjuan@opennebula.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
br0 must be a bridge defined in the physical host where you are going to<br>
deploy the VM. It seems that it doesnt exist...<br>
<br>
Hector<br>
<br>
El 04/10/11 17:12, Bruno Ferreira escribió:<br>
<div>> Hector Thank you for reply.<br>
><br>
> I gave permission to the DIR in var VM_DIR.<br>
> Now im getting other error.<br>
><br>
> I take a look at the log of the vm and everything goes ok until the boot<br>
> then i get this errors message:<br>
><br>
</div>> /Tue Oct 4 11:52:55 2011 [VMM][I]: STDERR follows.<br>
<div>> Tue Oct 4 11:52:55 2011 [VMM][I]: /usr/lib/ruby/1.8/open3.rb:73:<br>
> warning: Insecure world writable dir /srv/cloud/one in PATH, mode 040777<br>
> Tue Oct 4 11:52:55 2011 [VMM][I]: Warning: Permanently added<br>
> 'xxx.xxx.xxx.xxx' (RSA) to the list of known hosts.<br>
> Tue Oct 4 11:52:55 2011 [VMM][I]: error: Failed to create domain from<br>
> /srv/cloud//8/images/deployment.0<br>
> Tue Oct 4 11:52:55 2011 [VMM][I]: error: Failed to add tap interface to<br>
> bridge 'br0': No such device<br>
> Tue Oct 4 11:52:55 2011 [VMM][I]: ExitCode: 255<br>
> Tue Oct 4 11:52:55 2011 [VMM][E]: Error deploying virtual machine:<br>
> /usr/lib/ruby/1.8/open3.rb:73: warning: Insecure world writable dir<br>
> /srv/cloud/one in PATH, mode 040777<br>
> Tue Oct 4 11:52:55 2011 [DiM][I]: New VM state is FAILED<br>
> /<br>
> I have the interface br0 configured in the vm.<br>
</div>> Bellow is info about the network and vm.*<br>
><br>
> _onevnet show_*/_:_<br>
<div>> VIRTUAL NETWORK 1<br>
> INFORMATION<br>
> ID: : 1<br>
> UID: : 0<br>
> PUBLIC : N<br>
><br>
> VIRTUAL NETWORK<br>
> TEMPLATE<br>
> BRIDGE=br0<br>
> LEASES=[ IP=192.168.0.5 ]<br>
> LEASES=[ IP=192.168.0.6 ]<br>
> LEASES=[ IP=192.168.0.7 ]<br>
> NAME=Small network<br>
> TYPE=FIXED<br>
><br>
> LEASES<br>
> INFORMATION<br>
> LEASE=[ IP=192.168.0.5, MAC=02:00:c0:a8:00:05, USED=1, VID=7 ]<br>
> LEASE=[ IP=192.168.0.6, MAC=02:00:c0:a8:00:06, USED=0, VID=-1 ]<br>
</div>> LEASE=[ IP=192.168.0.7, MAC=02:00:c0:a8:00:07, USED=0, VID=-1 ]/<br>
><br>
> _*onehost show *"id"_:<br>
><br>
> /VIRTUAL MACHINE 7<br>
<div><div></div><div>> INFORMATION<br>
> ID : 7<br>
> NAME : ttylinux<br>
> STATE : FAILED<br>
> LCM_STATE : LCM_INIT<br>
> START TIME : 10/04 11:24:29<br>
> END TIME : 10/04 11:27:09<br>
> DEPLOY ID: : -<br>
><br>
> VIRTUAL MACHINE<br>
> MONITORING<br>
> NET_TX : 0<br>
> NET_RX : 0<br>
> USED MEMORY : 0<br>
> USED CPU : 0<br>
><br>
> VIRTUAL MACHINE<br>
> TEMPLATE<br>
> CONTEXT=[<br>
> FILES=/home/oneadmin/init.sh /home/oneadmin/.ssh/id_rsa.pub,<br>
> HOSTNAME=ttylinux,<br>
> IP_PUBLIC=xxx.xxx.xxx.xxx,<br>
> ROOT_PUBKEY=id_dsa.pub,<br>
> TARGET=hdc,<br>
> USERNAME=opennebula,<br>
> USER_PUBKEY=id_dsa.pub ]<br>
> CPU=0.5<br>
> DISK=[<br>
> CLONE=YES,<br>
> DISK_ID=0,<br>
> IMAGE=ttylinux,<br>
> IMAGE_ID=7,<br>
> READONLY=NO,<br>
> SAVE=NO,<br>
> SOURCE=/srv/cloud/var/images/8625d68b699fd30e64360471eb2c38fed47fcfb6,<br>
> TARGET=hda,<br>
> TYPE=DISK ]<br>
> FEATURES=[<br>
> ACPI=no ]<br>
> MEMORY=64<br>
> NAME=ttylinux<br>
> NIC=[<br>
> BRIDGE=br0,<br>
> IP=192.168.0.5,<br>
> MAC=02:00:c0:a8:00:05,<br>
> NETWORK=Small network,<br>
> NETWORK_ID=1 ]<br>
> VMID=7<br>
> /<br>
> Best Regards,<br>
> Bruno Ferreira.<br>
><br>
> 2011/10/3 Héctor Sanjuán <<a href="mailto:hsanjuan@opennebula.org" target="_blank">hsanjuan@opennebula.org</a><br>
</div></div>> <mailto:<a href="mailto:hsanjuan@opennebula.org" target="_blank">hsanjuan@opennebula.org</a>>><br>
<div><div></div><div>><br>
> oneadmin user seems not to have rights to write to /srv/cloud/one on the<br>
> remote node. You may want to make VM_DIR in oned.conf point to a<br>
> writable folder (maybe /var/one) or give writing permissions to oneadmin<br>
> in /srv/cloud in the remote node.<br>
><br>
> Hector<br>
><br>
> El 03/10/11 21:35, Bruno Ferreira escribió:<br>
> > Hello guys!<br>
> > I am doing a cloud project for my college using open nebula.<br>
> ><br>
> > So i follow this model bellow .Almost everything is okay except the<br>
> > *"onevm"* procedure.<br>
> > <a href="http://opennebula.org/documentation:archives:rel2.2:vmg" target="_blank">http://opennebula.org/documentation:archives:rel2.2:vmg</a><br>
> ><br>
> > When i try to deploy a vm its show fail status.<br>
> ><br>
> > Mon Oct 3 16:14:56 2011 [DiM][I]: New VM state is PENDING.<br>
> > Mon Oct 3 16:15:15 2011 [DiM][I]: New VM state is ACTIVE.<br>
> > Mon Oct 3 16:15:15 2011 [LCM][I]: New VM state is PROLOG.<br>
> > Mon Oct 3 16:15:15 2011 [TM][I]: Command execution fail:<br>
> > /usr/lib/one/tm_commands/ssh/tm_clone.sh<br>
> ><br>
> ubuntucloud:/srv/cloud/var/images/8625d68b699fd30e64360471eb2c38fed47fcfb6xxx.xxx.xxx.xxx:/srv/cloud/one/var/4/images/disk.0<br>
> > Mon Oct 3 16:15:15 2011 [TM][I]: STDERR follows.<br>
> > Mon Oct 3 16:15:15 2011 [TM][I]: /usr/lib/ruby/1.8/open3.rb:73:<br>
> > warning: Insecure world writable dir /srv/cloud/one in PATH, mode<br>
> 040777<br>
> > Mon Oct 3 16:15:15 2011 [TM][I]: ERROR MESSAGE --8<------<br>
> > Mon Oct 3 16:15:15 2011 [TM][I]: Warning: Permanently added<br>
> > 'xxx.xxx.xxx.xxx' (RSA) to the list of known hosts.<br>
> > Mon Oct 3 16:15:15 2011 [TM][I]: mkdir: é impossível criar o<br>
> diretório<br>
> > `/srv/cloud/one': Permissão negada<br>
> > Mon Oct 3 16:15:15 2011 [TM][I]: ERROR MESSAGE ------>8--<br>
> > Mon Oct 3 16:15:15 2011 [TM][I]: ExitCode: 1<br>
> > Mon Oct 3 16:15:15 2011 [TM][I]: tm_clone.sh:<br>
> ><br>
> ubuntucloud:/srv/cloud/var/images/8625d68b699fd30e64360471eb2c38fed47fcfb6<br>
> > xxx.xxx.xxx.xxx:/srv/cloud/one/var/4/images/disk.0<br>
> > Mon Oct 3 16:15:15 2011 [TM][I]: tm_clone.sh: DST:<br>
> > /srv/cloud/one/var/4/images/disk.0<br>
> > Mon Oct 3 16:15:15 2011 [TM][I]: tm_clone.sh: Creating directory<br>
> > /srv/cloud/one/var/4/images<br>
> > Mon Oct 3 16:15:15 2011 [TM][I]: tm_clone.sh: ERROR: Command<br>
> > "/usr/bin/ssh xxx.xxx.xxx.xxxmkdir -p /srv/cloud/one/var/4/images"<br>
> failed.<br>
> > Mon Oct 3 16:15:15 2011 [TM][I]: tm_clone.sh: ERROR: Warning:<br>
> > Permanently added 'xxx.xxx.xxx.xxx' (RSA) to the list of known hosts.<br>
> > Mon Oct 3 16:15:15 2011 [TM][I]: mkdir: é impossível criar o<br>
> diretório<br>
> > `/srv/cloud/one': Permissão negada<br>
> > Mon Oct 3 16:15:15 2011 [TM][E]: Error excuting image transfer<br>
> script:<br>
</div></div>> > Warning: Permanently added '<a href="tel:146.164.84.91" value="+551461648491" target="_blank">146.164.84.91</a> <tel:<a href="tel:146.164.84.91" value="+551461648491" target="_blank">146.164.84.91</a>>'<br>
<div>> (RSA) to the list of known hosts.<br>
> > Mon Oct 3 16:15:15 2011 [DiM][I]: New VM state is FAILED<br>
> > Mon Oct 3 16:15:15 2011 [TM][W]: Ignored: LOG - 4 tm_delete.sh:<br>
> > Deleting /srv/cloud/one/var/4/images<br>
> ><br>
> > Mon Oct 3 16:15:15 2011 [TM][W]: Ignored: LOG - 4 tm_delete.sh:<br>
> > Executed "/usr/bin/ssh xxx.xxx.xxx.xxx rm -rf<br>
> /srv/cloud/one/var/4/images".<br>
> ><br>
> > Mon Oct 3 16:15:15 2011 [TM][W]: Ignored: TRANSFER SUCCESS 4 -<br>
> ><br>
> > Would you guys pleas give me a hand?<br>
> > Using open nebula 2.2.1<br>
> > Sorry my bad english.<br>
> ><br>
> > Best regards,<br>
> > Bruno Ferreira.<br>
> ><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > Users mailing list<br>
</div>> > <a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a> <mailto:<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>><br>
<div><div></div><div>> > <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
><br>
><br>
> --<br>
> Héctor Sanjuán<br>
> OpenNebula Sunstone Developer<br>
><br>
><br>
><br>
><br>
> --<br>
> Atenciosamente,<br>
> Bruno Ferreira.<br>
><br>
<br>
<br>
--<br>
Héctor Sanjuán<br>
OpenNebula Sunstone Developer<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Atenciosamente,<br>Bruno Ferreira.<br><br>