Deployment workflows management commands

Deployment workflows management commands

The following table describes the deployment workflows management commands supported by the Fuel CLI.

Deployment workflows management commands
Description Command

List deployment workflows.

Use -e <ENV_ID>, --cluster, --plugins, or --release flags to specify an environment, cluster-, plugins-, or release-related workflows.

  • fuel2 graph list
Upload a specific type of deployment workflows configuration of an environment, release, or plugin from the YAML file or the directory that includes tasks.yaml and metadata.yaml.
  • fuel2 graph upload -e <ENV_ID> -t <GRAPH_TYPE> (-f YAML_FILE_NAME | -d DIR_NAME)
  • fuel2 graph upload -r <RELEASE_ID> -t <GRAPH_TYPE> (-f YAML_FILE_NAME | -d DIR_NAME)
  • fuel2 graph upload -p <PLUGIN_ID> -t <GRAPH_TYPE> (-f YAML_FILE_NAME | -d DIR_NAME)

Download deployment workflows of an environment.

Use the -a, -c, -r, or -p flag to specify the level of the workflows to download.

  • fuel2 graph download -e <ENV_ID> -a [-t <GRAPH_TYPE>]
  • fuel2 graph download -e <ENV_ID> -c [-t <GRAPH_TYPE>]
  • fuel2 graph download -e <ENV_ID> -r <RELEASE_ID> [-t <GRAPH_TYPE>]
  • fuel2 graph download -e <ENV_ID> -p <PLUGIN_ID> [-t <GRAPH_TYPE>]

The -t parameter is optional. If not specified, the default workflow is downloaded.

The workflows downloaded with the keys -a and -p are the result of other workflows merge. They are not supposed to be edited and uploaded back, because, in most cases, they will override further changes in source workflows.

Start a deployment with given workflow types.

Available for environments only.

  • fuel2 graph execute -e <ENV_ID> -t <GRAPH_TYPE1> [<GRAPH_TYPE2>]

The -t parameter specifies the types of deployment workflow in order of execution.

Run any task workflow in the noop mode to detect customizations.
  • fuel2 graph execute -e <ENV_ID> -t <GRAPH_TYPE1> [<GRAPH_TYPE2>] --noop --force

The --force parameter is optional and is necessary for previously executed workflows or tasks to prevent tasks skipping by Fuel LCM engine.

Delete deployment workflows.

Use -e <ENV_ID>, -p, or -r flag to specify an environment, plugins- or release-related workflows.

  • fuel2 graph delete -e <ENV_ID> -t <GRAPH_TYPE>
  • fuel2 graph delete -r <RELEASE_ID> -t <GRAPH_TYPE>
  • fuel2 graph delete -p <PLUGIN_ID> -t <GRAPH_TYPE>
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

Contents