Ask Your Question
0

is there an API for Launch Instance feature 'Instance boot source'

asked 2013-10-24 10:00:32 -0500

anonymous user

Anonymous

updated 2014-01-22 15:13:05 -0500

Evgeny gravatar image

the new Openstack Havana feature which allows the user to select which way he wants to boot the instance he is launching ( from image, snapshot, volume, etc... ).

I have searched a lot in the documentation and the wiki but could not find answers for these questions :

a) How did the API change for Create Server since this one ? http://api.openstack.org/api-ref-compute.html

I assume it HAS to be a way to specify the instance source boot in the JSON request. An example with be awesome

b) Is 'imageRef' a required input anymore? In Grizzly it is. But in the Havana interface it doesn't seems to be

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-10-25 11:04:03 -0500

sumer_link gravatar image

updated 2013-10-25 11:04:51 -0500

Hello.. I am the "anonymous" sender from above :)

a) Further investigation leads me to believe that this is not possible, you CANNOT specify the instance source boot through the JSON request... but I need to make sure. Does anybody know?

If indeed there is no API for this feature, the documentation should note this ( either in http://api.openstack.org , or http://docs.openstack.org ) and not let integrators wonder endlessly through the documentation and try out every single possible request only to find out it cannot be done.

b) also ... regarding the second question, on Havana the JSON request MUST contain the "imageRef" attribute . Launching the instance from the interface doesn't necessarily make the user enter an image as reference. It can be a volume or snapshot instead.

Am I missing something or is this a severe(ish) defect ?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-10-24 10:00:32 -0500

Seen: 184 times

Last updated: Oct 25 '13