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
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to