Ask Your Question

Tenant credentials for heat auto-scale

asked 2013-05-16 17:23:05 -0500

osms69 gravatar image

During scale up, how does heat launch vms? Does it use internal APIs or REST APIs? Does it not need tenant credentials?

Regards Subra

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-05-17 17:12:29 -0500

Steve Baker gravatar image

During scale up nova servers are booted in the same way as during stack launch - by making nova boot API calls.

Currently, user credentials are stored by the heat server when a stack is launched. These credentials are used throughout the lifecycle of the stack to acquire tokens to perform OpenStack API operations.

In the future we hope to use Keystone trusts instead of storing user credentials.

edit flag offensive delete link more


I need to write code that accesses Heat via a Rest API to invoke Heat commands (i.e. : a Heat Rest client) I found only a python client, but I need java/groovy code. - Where can I find Java/Groovy client docs and/or libs that I can use to do that ? Do you have such examples ? I want to be able to invoke the following commands (from a remote machine) : (These are some examples of what I need) heat stack-create myAppName .... heat stack-list heat event-list myAppName heat stack-delete myApp3 Thanks

tamirko gravatar imagetamirko ( 2013-08-11 08:36:49 -0500 )edit

tamirko, if you run those heat commands with the --debug then it will write out some curl compatible commands that will show you exactly how to build the HTTP request in your chosen client.

Steve Baker gravatar imageSteve Baker ( 2013-08-11 18:17:54 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2013-05-16 17:23:05 -0500

Seen: 217 times

Last updated: May 17 '13