Hi,

I'm currently trying to add a pre-existing qemu-image to my newly installed ONE service via

onevm create ./vs-svn-serv.tpl

and I'm getting this message:

Error: [VirtualMachineAllocate] Error trying to CREATE VM Can not insert VM in the database.

Is this due to some missing arguments in the template? What's the cause?

Thank's in advance,
Stevie



PS: My template looks like this:


#---------------------------------------
# VM definition example
#---------------------------------------

NAME = "vs-svn-serv-1"

CPU    = 0.8
MEMORY = 512
PUBLIC = YES

# --- disks ---

DISK = [
  source   = "/home/images/vs-svn-serv.img",
  target   = "hda",
  driver   = "raw",
  readonly = "no" ]

# --- 1 NIC ---

NIC = [ NETWORK="external"]

FEATURES=[ acpi="no" ]

# --- VNC server ---

GRAPHICS = [
  type    = "vnc",
  listen  = "xx.xx.xx.xx",
  port    = "5902"]



_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to