Hi there,<br><br>Your VNET id is 12, but you are requesting a lease for your VM from the network 0:<br>
<br>NIC = [ NETWORK_ID = 0 ]<br><br>Regards.<br clear="all"><span style="border-collapse:collapse;color:rgb(136, 136, 136);font-family:arial, sans-serif;font-size:13px">--<br>Carlos Martín, MSc<br>Project Major Contributor<br>
<span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">OpenNebula</span> - The Open Source Toolkit for Cloud Computing<br><a href="http://www.opennebula.org/" style="color:rgb(42, 93, 176)" target="_blank">www.<span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">OpenNebula</span>.org</a> | <a href="mailto:cmartin@opennebula.org" style="color:rgb(42, 93, 176)" target="_blank">cmartin@<span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">opennebula</span>.org</a></span><br>
<br><br><div class="gmail_quote">On Fri, Jul 1, 2011 at 4:13 PM, julie Desgrouas <span dir="ltr"><<a href="mailto:julie.desgrouas@businessdecision.com">julie.desgrouas@businessdecision.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<u></u>
<div bgcolor="#ffffff" text="#000000">
Hello all,<br>
<br>
I have install opennebula 2.2 and sunstone and i tested with the
ttylinux image but i have an error :<br>
<br>
==>onevm create ttylinux.one<br>
Error: [VirtualMachineAllocate] Error trying to CREATE VM Could not
get network lease for VM.<br>
<br>
I follow the reference image example on the website. I don't
understand my error so if you have an idea, thank you for your help.<br>
<br>
Ju<br>
<br>
______________________________
<div><u></u>______________________________<u></u>____________<br>
==> onevnet list<br>
ID USER NAME TYPE BRIDGE P #LEASES<br>
12 oneadmin lantest Fixed vbr0 N 0<br>
______________________________<u></u>______________________________<u></u>____________<br>
==> onevnet show 12<br>
VIRTUAL NETWORK 12 INFORMATION<br>
ID: : 12<br>
UID: : 0<br>
PUBLIC : N<br>
<br>
VIRTUAL NETWORK TEMPLATE<br>
BRIDGE=vbr0<br>
LEASES=[ IP=10.66.112.200 ]<br>
NAME=lantest<br>
TYPE=FIXED<br>
<br>
LEASES INFORMATION<br>
LEASE=[ IP=10.66.112.200, MAC=02:00:0a:42:70:c8, USED=0, VID=-1 ]<br>
<br>
<br>
******************************<u></u>******************************<u></u>******************************<br>
<a href="http://small_network.net" target="_blank">small_network.net</a><br>
******************************<u></u>******************************<u></u>******************************<br>
NAME = "lantest"<br>
TYPE = FIXED<br>
<br>
#Now we'll use the cluster private network (physical)<br>
BRIDGE = vbr0<br>
LEASES = [ IP="10.66.112.200"]<br>
<br>
<br>
******************************<u></u>******************************<u></u>******************************<br>
ttylinux.one<br>
******************************<u></u>******************************<u></u>******************************<br>
NAME = ttylinux<br>
CPU = 0.5<br>
MEMORY = 512<br>
<br>
DISK = [ IMAGE_ID = 0 ]<br>
<br>
NIC = [ NETWORK_ID = 0 ]<br>
<br>
FEATURES=[ acpi="no" ]<br>
<br>
#CONTEXT = [<br>
# hostname = "$tdd-kvm-01",<br>
# ip_public = "10.66.112.110",<br>
# files = "/srv/cloud/one/var/images/<u></u>template_one_test/init.sh
/srv/cloud/one/var/images/<u></u>template_one_test/id_rsa.pub",<br>
# target = "hdc",<br>
# root_pubkey = "id_rsa.pub",<br>
# username = "oneadmin",<br>
# user_pubkey = "id_rsa.pub"<br>
#]<br>
<br>
******************************<u></u>******************************<u></u>******************************<u></u>*<br>
image.one<br>
******************************<u></u>******************************<u></u>******************************<u></u>*<br>
NAME = ttylinux1<br>
PATH = "/srv/cloud/one/var/images/<u></u>template_one_test/ttylinux.<u></u>img"<br>
TYPE = OS<br>
<br>
******************************<u></u>******************************<u></u>******************************<u></u>*<br>
Interface file<br>
******************************<u></u>******************************<u></u>******************************<u></u>*<br>
<br>
# This file describes the network interfaces available on your
system<br>
# and how to activate them. For more information, see
interfaces(5).<br>
<br>
# The loopback network interface<br>
auto lo<br>
iface lo inet loopback<br>
<br>
# The primary network interface<br>
#auto eth0<br>
#iface eth0 inet static<br>
# address 10.66.112.110<br>
# netmask 255.255.255.0<br>
# network 10.66.112.0<br>
# broadcast 10.66.112.255<br>
# gateway 10.66.112.1<br>
# dns-* options are implemented by the resolvconf package,
if installed<br>
# dns-nameservers 10.64.1.1 10.64.1.2<br>
# dns-search <a href="http://eolas-services.com" target="_blank">eolas-services.com</a><br>
<br>
# reseau virtuel <br>
auto vbr0<br>
iface vbr0 inet static<br>
address 10.66.112.110<br>
network 10.66.112.0<br>
netmask 255.255.255.0<br>
broadcast 10.66.112.255<br>
gateway 10.66.112.1<br>
bridge_ports eth0<br>
bridge_fd 9<br>
bridge_hello 2<br>
bridge_maxage 12<br>
bridge_stp off<br>
<br>
______________________________<u></u>______________________________<u></u>_________<br>
==> ifconfig<br>
______________________________<u></u>______________________________<u></u>_________<br>
<br>
eth0 Link encap:Ethernet HWaddr 00:19:b9:df:0d:cb<br>
adr inet6: fe80::219:b9ff:fedf:dcb/64 Scope:Lien<br>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
RX packets:110411 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:44555 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 lg file transmission:1000<br>
RX bytes:19129444 (18.2 MiB) TX bytes:9811357 (9.3 MiB)<br>
Interruption:16 Mémoire:f8000000-f8012800<br>
<br>
lo Link encap:Boucle locale<br>
inet adr:127.0.0.1 Masque:255.0.0.0<br>
adr inet6: ::1/128 Scope:Hôte<br>
UP LOOPBACK RUNNING MTU:16436 Metric:1<br>
RX packets:947759 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:947759 errors:0 dropped:0 overruns:0
carrier:0<br>
collisions:0 lg file transmission:0<br>
RX bytes:132995137 (126.8 MiB) TX bytes:132995137
(126.8 MiB)<br>
<br>
vbr0 Link encap:Ethernet HWaddr 00:19:b9:df:0d:cb<br>
inet adr:10.66.112.110 Bcast:10.66.112.255
Masque:255.255.255.0<br>
adr inet6: fe80::219:b9ff:fedf:dcb/64 Scope:Lien<br>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
RX packets:107220 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:44433 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 lg file transmission:0<br>
RX bytes:16947238 (16.1 MiB) TX bytes:9572397 (9.1 MiB)</div>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<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></blockquote></div><br>