incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KC Braunschweig <kcbraunschw...@gmail.com>
Subject size param to deployVirtualMachine api call fails silently?
Date Thu, 14 Jun 2012 00:08:04 GMT
I'm trying construct an API call that will create a new VM and at the
same time create/attach a data disk for it to avoid having to create
the VM, then create data disk, then attach, then reboot, blah blah.

It seems like that should be pretty straightforward:

http://download.cloud.com/releases/2.2.0/api_2.2.13/user/deployVirtualMachine.html

And that it should be as simple as passing a size parameter with the
deployVirtualMachine command:

"size  -  the arbitrary size for the DATADISK volume. Mutually
exclusive with diskOfferingId"

Although I was able to pass this and it seems to accept an integer
value without error (passing something like '1GB' returns an error on
invalid value) but I see no data disk being created or attached to the
resulting VM (although the VM is created successfully).

Any idea on what's going on here?

BTW, this is for knife-cloudstack
(https://github.com/CloudStack/knife-cloudstack)


Thanks,

KC

Mime
View raw message