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