Retrieve build information.
openstack orchestration build info
This command is provided by the python-heatclient plugin.
List resource types.
openstack orchestration resource type list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--filter <key=value>]
[--long]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Filter parameters to apply on returned resource types. This can be specified multiple times. It can be any of name, version or support_status
Show resource types with corresponding description of each resource type.
This command is provided by the python-heatclient plugin.
Show details and optionally generate a template for a resource type.
openstack orchestration resource type show
[--template-type <template-type>]
[--long]
<resource-type>
Optional template type to generate, hot or cfn
Show resource type with corresponding description.
Resource type to show details for
This command is provided by the python-heatclient plugin.
List the Heat engines.
openstack orchestration service list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
This command is provided by the python-heatclient plugin.
List the available functions.
openstack orchestration template function list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--with_conditions]
<template-version>
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Show condition functions for template.
Template version to get the functions for
This command is provided by the python-heatclient plugin.
Validate a template
openstack orchestration template validate
[-e <environment>]
[--show-nested]
[--parameter <key=value>]
[-s <files-container>]
[--ignore-errors <error1,error2,...>]
-t <template>
Path to the environment. Can be specified multiple times
Resolve parameters from nested templates as well
Parameter values used to create the stack. This can be specified multiple times
Swift files container name. Local files other than root template would be ignored. If other files are not found in swift, heat engine would raise an error.
List of heat errors to ignore
Path to the template
This command is provided by the python-heatclient plugin.
List the available template versions.
openstack orchestration template version list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
This command is provided by the python-heatclient plugin.
Create software config
openstack software config create
[--config-file <config-file>]
[--definition-file <destination-file>]
[--group <group>]
<config-name>
Path to JSON/YAML containing map defining <inputs>, <outputs>, and <options>
Path to software config script/data
Group name of tool expected by the software config
Name of the software config to create
This command is provided by the python-heatclient plugin.
Delete software configs
openstack software config delete <config> [<config> ...]
IDs of the software configs to delete
This command is provided by the python-heatclient plugin.
List software configs
openstack software config list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--limit <limit>]
[--marker <id>]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Limit the number of configs returned
Return configs that appear after the given config ID
This command is provided by the python-heatclient plugin.
Show software config details
openstack software config show [--config-only] <config>
Only display the value of the <config> property.
ID of the config
This command is provided by the python-heatclient plugin.
Create a software deployment.
openstack software deployment create
[--input-value <key=value>]
[--action <action>]
[--config <config>]
[--signal-transport <signal-transport>]
[--container <container>]
[--timeout <timeout>]
--server <server>
<deployment-name>
Input value to set on the deployment. This can be specified multiple times.
Name of an action for this deployment. This can be a custom action, or one of CREATE, UPDATE, DELETE, SUSPEND, RESUME. Default is UPDATE
ID of the configuration to deploy
How the server should signal to heat with the deployment output values. TEMP_URL_SIGNAL will create a Swift TempURL to be signaled via HTTP PUT. ZAQAR_SIGNAL will create a dedicated zaqar queue to be signaled using the provided keystone credentials.NO_SIGNAL will result in the resource going to the COMPLETE state without waiting for any signal
Optional name of container to store TEMP_URL_SIGNAL objects in. If not specified a container will be created with a name derived from the DEPLOY_NAME
Deployment timeout in minutes
ID of the server being deployed to
Name of the derived config associated with this deployment. This is used to apply a sort order to the list of configurations currently deployed to the server.
This command is provided by the python-heatclient plugin.
Delete software deployment(s) and correlative config(s).
openstack software deployment delete <deployment> [<deployment> ...]
ID of the deployment(s) to delete.
This command is provided by the python-heatclient plugin.
List software deployments.
openstack software deployment list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--server <server>]
[--long]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
ID of the server to fetch deployments for
List more fields in output
This command is provided by the python-heatclient plugin.
Get deployment configuration metadata for the specified server.
openstack software deployment metadata show <server>
ID of the server to fetch deployments for
This command is provided by the python-heatclient plugin.
Show a specific deployment output.
openstack software deployment output show
[--all]
[--long]
<deployment>
[<output-name>]
Display all deployment outputs
Show full deployment logs in output
ID of deployment to show the output for
Name of an output to display
This command is provided by the python-heatclient plugin.
Show SoftwareDeployment Details.
openstack software deployment show [--long] <deployment>
Show more fields in output
ID of the deployment
This command is provided by the python-heatclient plugin.
Abandon stack and output results.
openstack stack abandon [--output-file <output-file>] <stack>
File to output abandon results
Name or ID of stack to abandon
This command is provided by the python-heatclient plugin.
Adopt a stack.
openstack stack adopt
[-e <environment>]
[--timeout <timeout>]
[--enable-rollback]
[--parameter <key=value>]
[--wait]
--adopt-file <adopt-file>
<stack-name>
Path to the environment. Can be specified multiple times
Stack creation timeout in minutes
Enable rollback on create/update failure
Parameter values used to create the stack. Can be specified multiple times
Wait until stack adopt completes
Path to adopt stack data file
Name of the stack to adopt
This command is provided by the python-heatclient plugin.
Cancel current task for a stack.
Supported tasks for cancellation:
update
create
openstack stack cancel
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--wait]
[--no-rollback]
<stack>
[<stack> ...]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Wait for cancel to complete
Cancel without rollback
Stack(s) to cancel (name or ID)
This command is provided by the python-heatclient plugin.
Check a stack.
openstack stack check
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--wait]
<stack>
[<stack> ...]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Wait for check to complete
Stack(s) to check update (name or ID)
This command is provided by the python-heatclient plugin.
Create a stack.
openstack stack create
[-e <environment>]
[-s <files-container>]
[--timeout <timeout>]
[--pre-create <resource>]
[--enable-rollback]
[--parameter <key=value>]
[--parameter-file <key=file>]
[--wait]
[--poll SECONDS]
[--tags <tag1,tag2...>]
[--dry-run]
-t <template>
<stack-name>
Path to the environment. Can be specified multiple times
Swift files container name. Local files other than root template would be ignored. If other files are not found in swift, heat engine would raise an error.
Stack creating timeout in minutes
Name of a resource to set a pre-create hook to. Resources in nested stacks can be set using slash as a separator: nested_stack/another/my_resource
. You can use wildcards to match multiple stacks or resources: nested_stack/an*/*_resource
. This can be specified multiple times
Enable rollback on create/update failure
Parameter values used to create the stack. This can be specified multiple times
Parameter values from file used to create the stack. This can be specified multiple times. Parameter values would be the content of the file
Wait until stack goes to CREATE_COMPLETE or CREATE_FAILED
Poll interval in seconds for use with –wait, defaults to 5.
A list of tags to associate with the stack
Do not actually perform the stack create, but show what would be created
Path to the template
Name of the stack to create
This command is provided by the python-heatclient plugin.
Delete stack(s).
openstack stack delete [-y] [--wait] <stack> [<stack> ...]
Skip yes/no prompt (assume yes)
Wait for stack delete to complete
Stack(s) to delete (name or ID)
This command is provided by the python-heatclient plugin.
Show a stack’s environment.
openstack stack environment show <NAME or ID>
Name or ID of stack to query
This command is provided by the python-heatclient plugin.
List events.
openstack stack event list
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--resource <resource>]
[--filter <key=value>]
[--limit <limit>]
[--marker <id>]
[--nested-depth <depth>]
[--sort <key>[:<direction>]]
[--follow]
<stack>
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Name of resource to show events for. Note: this cannot be specified with –nested-depth
Filter parameters to apply on returned events
Limit the number of events returned
Only return events that appear after the given ID
Depth of nested stacks from which to display events. Note: this cannot be specified with –resource
Sort output by selected keys and directions (asc or desc) (default: asc). Specify multiple times to sort on multiple keys. Sort key can be: “event_time” (default), “resource_name”, “links”, “logical_resource_id”, “resource_status”, “resource_status_reason”, “physical_resource_id”, or “id”. You can leave the key empty and specify “:desc” for sorting by reverse time.
Print events until process is halted
Name or ID of stack to show events for
This command is provided by the python-heatclient plugin.
Show event details.
openstack stack event show <stack> <resource> <event>
Name or ID of stack to show events for
Name of the resource event belongs to
ID of event to display details for
This command is provided by the python-heatclient plugin.
Export stack data json.
openstack stack export [--output-file <output-file>] <stack>
File to output export data
Name or ID of stack to export
This command is provided by the python-heatclient plugin.
Show information about failed stack resources.
openstack stack failures list [--long] <stack>
Show full deployment logs in output
Stack to display (name or ID)
This command is provided by the python-heatclient plugin.
Show a stack’s files map.
openstack stack file list <NAME or ID>
Name or ID of stack to query
This command is provided by the python-heatclient plugin.
Clear resource hooks on a given stack.
openstack stack hook clear
[--pre-create]
[--pre-update]
[--pre-delete]
<stack>
<resource>
[<resource> ...]
Clear the pre-create hooks
Clear the pre-update hooks
Clear the pre-delete hooks
Stack to display (name or ID)
Resource names with hooks to clear. Resources in nested stacks can be set using slash as a separator: nested_stack/another/my_resource
. You can use wildcards to match multiple stacks or resources: nested_stack/an*/*_resource
This command is provided by the python-heatclient plugin.
List resources with pending hook for a stack.
openstack stack hook poll
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--nested-depth <nested-depth>]
<stack>
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Depth of nested stacks from which to display hooks
Stack to display (name or ID)
This command is provided by the python-heatclient plugin.
List stacks.
openstack stack list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--deleted]
[--nested]
[--hidden]
[--property <key=value>]
[--tags <tag1,tag2...>]
[--tag-mode <mode>]
[--limit <limit>]
[--marker <id>]
[--sort <key>[:<direction>]]
[--all-projects]
[--short]
[--long]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Include soft-deleted stacks in the stack listing
Include nested stacks in the stack listing
Include hidden stacks in the stack listing
Filter properties to apply on returned stacks (repeat to filter on multiple properties)
List of tags to filter by. Can be combined with –tag-mode to specify how to filter tags
Method of filtering tags. Must be one of “any”, “not”, or “not-any”. If not specified, multiple tags will be combined with the boolean AND expression
The number of stacks returned
Only return stacks that appear after the given ID
Sort output by selected keys and directions (asc or desc) (default: asc). Specify multiple times to sort on multiple properties
Include all projects (admin only)
List fewer fields in output
List additional fields in output, this is implied by –all-projects
This command is provided by the python-heatclient plugin.
List stack outputs.
openstack stack output list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
<stack>
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Name or ID of stack to query
This command is provided by the python-heatclient plugin.
Show stack output.
openstack stack output show [--all] <stack> [<output>]
Display all stack outputs
Name or ID of stack to query
Name of an output to display
This command is provided by the python-heatclient plugin.
List stack resources.
openstack stack resource list
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--long]
[-n <nested-depth>]
[--filter <key=value>]
<stack>
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Enable detailed information presented for each resource in resource list
Depth of nested stacks from which to display resources
Filter parameters to apply on returned resources based on their name, status, type, action, id and physical_resource_id
Name or ID of stack to query
This command is provided by the python-heatclient plugin.
Set resource’s health.
openstack stack resource mark unhealthy
[--reset]
<stack>
<resource>
[reason]
Set the resource as healthy
Name or ID of stack the resource belongs to
Name of the resource
Reason for state change
This command is provided by the python-heatclient plugin.
Show resource metadata
openstack stack resource metadata <stack> <resource>
Stack to display (name or ID)
Name of the resource to show the metadata for
This command is provided by the python-heatclient plugin.
Display stack resource.
openstack stack resource show
[--with-attr <attribute>]
<stack>
<resource>
Attribute to show, can be specified multiple times
Name or ID of stack to query
Name of resource
This command is provided by the python-heatclient plugin.
Signal a resource with optional data.
openstack stack resource signal
[--data <data>]
[--data-file <data-file>]
<stack>
<resource>
JSON Data to send to the signal handler
File containing JSON data to send to the signal handler
Name or ID of stack the resource belongs to
Name of the resoure to signal
This command is provided by the python-heatclient plugin.
Resume a stack.
openstack stack resume
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--wait]
<stack>
[<stack> ...]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Wait for resume to complete
Stack(s) to resume (name or ID)
This command is provided by the python-heatclient plugin.
Show stack details.
openstack stack show [--no-resolve-outputs] <stack>
Do not resolve outputs of the stack.
Stack to display (name or ID)
This command is provided by the python-heatclient plugin.
Create stack snapshot.
openstack stack snapshot create [--name <name>] <stack>
Name of snapshot
Name or ID of stack
This command is provided by the python-heatclient plugin.
Delete stack snapshot.
openstack stack snapshot delete [-y] <stack> <snapshot>
Skip yes/no prompt (assume yes)
Name or ID of stack
ID of stack snapshot
This command is provided by the python-heatclient plugin.
List stack snapshots.
openstack stack snapshot list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
<stack>
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Name or ID of stack containing the snapshots
This command is provided by the python-heatclient plugin.
Restore stack snapshot
openstack stack snapshot restore <stack> <snapshot>
Name or ID of stack containing the snapshot
ID of the snapshot to restore
This command is provided by the python-heatclient plugin.
Show stack snapshot.
openstack stack snapshot show <stack> <snapshot>
Name or ID of stack containing the snapshot
ID of the snapshot to show
This command is provided by the python-heatclient plugin.
Suspend a stack.
openstack stack suspend
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--wait]
<stack>
[<stack> ...]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Wait for suspend to complete
Stack(s) to suspend (name or ID)
This command is provided by the python-heatclient plugin.
Display stack template.
openstack stack template show <stack>
Name or ID of stack to query
This command is provided by the python-heatclient plugin.
Update a stack.
openstack stack update
[-t <template>]
[-s <files-container>]
[-e <environment>]
[--pre-update <resource>]
[--timeout <timeout>]
[--rollback <value>]
[--dry-run]
[--show-nested]
[--parameter <key=value>]
[--parameter-file <key=file>]
[--existing]
[--clear-parameter <parameter>]
[--tags <tag1,tag2...>]
[--wait]
[--converge]
<stack>
Path to the template
Swift files container name. Local files other than root template would be ignored. If other files are not found in swift, heat engine would raise an error.
Path to the environment. Can be specified multiple times
Name of a resource to set a pre-update hook to. Resources in nested stacks can be set using slash as a separator: nested_stack/another/my_resource
. You can use wildcards to match multiple stacks or resources: nested_stack/an*/*_resource
. This can be specified multiple times
Stack update timeout in minutes
Set rollback on update failure. Value “enabled” sets rollback to enabled. Value “disabled” sets rollback to disabled. Value “keep” uses the value of existing stack to be updated (default)
Do not actually perform the stack update, but show what would be changed
Show nested stacks when performing –dry-run
Parameter values used to create the stack. This can be specified multiple times
Parameter values from file used to create the stack. This can be specified multiple times. Parameter value would be the content of the file
Re-use the template, parameters and environment of the current stack. If the template argument is omitted then the existing template is used. If no –environment is specified then the existing environment is used. Parameters specified in –parameter will patch over the existing values in the current stack. Parameters omitted will keep the existing values
Remove the parameters from the set of parameters of current stack for the stack-update. The default value in the template will be used. This can be specified multiple times
An updated list of tags to associate with the stack
Wait until stack goes to UPDATE_COMPLETE or UPDATE_FAILED
Stack update with observe on reality.
Name or ID of stack to update
This command is provided by the python-heatclient plugin.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.