[one-users] Network provisioning
Mostafa Sheikhalishahi
mostafa.alishahi at gmail.com
Sat Aug 21 01:34:15 PDT 2010
Dear All,
I want to start a Virtual Machine with network in a very simple setup. I
have defined a network template as below and put reference to it in VM
template, but it is not working. I have some basic questions about how's the
procedure?
Shall I setup dhcp server also or OpenNebula will take care of setting
network?
Shall I define contextualization for this?
-------------------Network template-----------------------
NAME = ”VNET"
TYPE = RANGED
BRIDGE = virbr0
NETWORK_SIZE = 10
NETWORK_ADDRESS = 192.168.1.0
-----VM Template---------------------
NAME = "vm-example"
CPU = 0.4
MEMORY = 512
# --- kernel & boot device ---
OS = [
boot = hd ]
# --- 2 disks ---
DISK = [type = disk,
source = /srv/cloud/one/test/vdisk.img,
target = sda,
readonly = no]
DISK = [
type = swap,
target = sda,
size = 1024]
NIC = [NETWORK="VNET"]
----------oned.log------------------------
Sun Aug 22 00:57:02 2010 [DiM][D]: Allocating a new VM
Sun Aug 22 00:57:02 2010 [VNM][E]: Error getting Virtual Network nid: -1
Sun Aug 22 00:57:02 2010 [ONE][E]: Could not get network lease for VM
Sun Aug 22 00:57:02 2010 [ReM][E]: Error inserting VM in the database, check
oned.log
Thanks and Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100821/7925f745/attachment-0001.htm>
More information about the Users
mailing list