3e08b30cb9
Note this is a huge patch. 1) This patch reworks the context building logic for the nova server and heat stack profiles. We use a precise dictionary for connection setup, which include senlin credential and the trust cached. We don't use the huge context dictionary for this purpose. 2) This patch also fixed some cases where 'domain' is missing. 3) Added new exception types that will be used whenever backend objects are not found. 4) Revised sample nova spec, because we now support specifying image by name in addition to image id. 5) Reworked SDK exception translation module so that it can handle a different kind of exception (from Nova). Some 'print' calls are removed. 6) Reworked node_create logic so that 'user' and 'project' will be recorded when node is created. Change-Id: If3160a5a8cc930dcebe91172da6a8bf22d20af47 |
||
---|---|---|
.. | ||
README.rst | ||
env.yaml | ||
heat_stack_random_string.spec | ||
nova_server.spec | ||
random_string_stack.yaml | ||
test_script.sh |
README.rst
How To Use the Sample Spec File
This directory contains a sample spec file that can be used to create a profile of type 'os.heat.stack'. It demonstrates how to use environment files when creating a profile and how to assign default parameters for the stack to use. In addition to that, it shows an example about making use of the 'get_file' function supported by Heat.
To create a profile using the spec, use the following command:
senlin profile-create \
-t os.heat.stack \
-s heat_stack_random_string.spec \
-p 1111
my_stack
To get help on the command line options for creating profiles:
senlin profile-create
To show the profile created:
senlin profile-show <profile_id>