<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body 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 id=":16j"><wbr>______________________________<wbr>____________<br>
==> onevnet list<br>
ID USER NAME TYPE BRIDGE P #LEASES<br>
12 oneadmin lantest Fixed vbr0 N 0<br>
______________________________<wbr>______________________________<wbr>____________<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>
******************************<wbr>******************************<wbr>******************************<br>
<a href="http://small_network.net" target="_blank">small_network.net</a><br>
******************************<wbr>******************************<wbr>******************************<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>
******************************<wbr>******************************<wbr>******************************<br>
ttylinux.one<br>
******************************<wbr>******************************<wbr>******************************<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/<wbr>template_one_test/init.sh
/srv/cloud/one/var/images/<wbr>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>
******************************<wbr>******************************<wbr>******************************<wbr>*<br>
image.one<br>
******************************<wbr>******************************<wbr>******************************<wbr>*<br>
NAME = ttylinux1<br>
PATH = "/srv/cloud/one/var/images/<wbr>template_one_test/ttylinux.<wbr>img"<br>
TYPE = OS<br>
<br>
******************************<wbr>******************************<wbr>******************************<wbr>*<br>
Interface file<br>
******************************<wbr>******************************<wbr>******************************<wbr>*<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>
______________________________<wbr>______________________________<wbr>_________<br>
==> ifconfig<br>
______________________________<wbr>______________________________<wbr>_________<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>
</body>
</html>