Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To create a Heat stack in the webinterface you should navigate to "Orchestration → Stacks" and click the "Launch Stack" button. There you can either select template-files from your computer, or you can paste the templates into text-fields.Image RemovedImage RemovedImage Removed

Image AddedImage AddedImage Added

After a little bit of time the stack should be "Create Complete", and you can now browse the networks/routers/security group pages to see the newly created resources.

Creating a Heat Stack using the command line

Creating a heat-stack using the commandline is done through the use of a single "openstack stack create" command. The stacks can be listed afterwards using the "openstack stack list" command.

Code Block
titleCreating Heat Stack - CLI
collapsetrue
$ openstack stack create -t common.yaml Common-CLI
+---------------------+-------------------------------------------------------------------------------------------------------------------+
| Field               | Value                                                                                                             |
+---------------------+-------------------------------------------------------------------------------------------------------------------+
| id                  | 925313a9-be62-45ef-80f2-f811e57fe4fa                                                                              |
| stack_name          | Common-CLI                                                                                                        |
| description         | A template to create common base infrastructure for the heat-guide at                                             |
|                     | https://www.ntnu.no/wiki/display/skyhigh/Openstack+Heat                                                           |
|                     |                                                                                                                   |
| creation_time       | 2022-08-30T14:07:36Z                                                                                              |
| updated_time        | None                                                                                                              |
| stack_status        | CREATE_IN_PROGRESS                                                                                                |
| stack_status_reason | Stack CREATE started                                                                                              |
+---------------------+-------------------------------------------------------------------------------------------------------------------+

$ openstack stack list
+--------------------------------------+------------+-----------------+----------------------+--------------+
| ID                                   | Stack Name | Stack Status    | Creation Time        | Updated Time |
+--------------------------------------+------------+-----------------+----------------------+--------------+
| 925313a9-be62-45ef-80f2-f811e57fe4fa | Common-CLI | CREATE_COMPLETE | 2022-08-30T14:07:36Z | None         |
+--------------------------------------+------------+-----------------+----------------------+--------------+

Displaying the status of the heat stack.

...