Remove create_default_deployment_plan workflow
This has been deprecated since Pike and was marked for removal in Queens, so it should be OK to remove this now. Change-Id: I2e14d768b5edf0d6fcfa0ee6475c452812d258c0
This commit is contained in:
parent
5191b65676
commit
a0222c16e4
@ -66,7 +66,7 @@ can be used to get the status and output of that workflow execution.
|
|||||||
::
|
::
|
||||||
|
|
||||||
echo '{"container": "<container-name>"}' > input.json
|
echo '{"container": "<container-name>"}' > input.json
|
||||||
openstack workflow execution create tripleo.plan_management.v1.create_default_deployment_plan input.json
|
openstack workflow execution create tripleo.plan_management.v1.create_deployment_plan input.json
|
||||||
openstack workflow execution show <execution ID>
|
openstack workflow execution show <execution ID>
|
||||||
openstack workflow execution show output <execution ID>
|
openstack workflow execution show output <execution ID>
|
||||||
|
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
The tripleo.plan_management.v1.create_default_deployment_plan workflow
|
||||||
|
has been removed, since it's been deprecated since the pike release and
|
||||||
|
is no longer used in TripleO. Any other users of this workflow should
|
||||||
|
switch to tripleo.plan_management.v1.create_deployment_plan instead.
|
@ -38,48 +38,6 @@ workflows:
|
|||||||
execution: <% execution() %>
|
execution: <% execution() %>
|
||||||
plan_name: <% $.container %>
|
plan_name: <% $.container %>
|
||||||
|
|
||||||
create_default_deployment_plan:
|
|
||||||
description: >
|
|
||||||
This workflow exists to maintain backwards compatibility in pike. This
|
|
||||||
workflow will likely be removed in queens in favor of create_deployment_plan.
|
|
||||||
input:
|
|
||||||
- container
|
|
||||||
- queue_name: tripleo
|
|
||||||
- generate_passwords: true
|
|
||||||
tags:
|
|
||||||
- tripleo-common-managed
|
|
||||||
tasks:
|
|
||||||
call_create_deployment_plan:
|
|
||||||
workflow: tripleo.plan_management.v1.create_deployment_plan
|
|
||||||
on-success: set_status_success
|
|
||||||
on-error: call_create_deployment_plan_set_status_failed
|
|
||||||
input:
|
|
||||||
container: <% $.container %>
|
|
||||||
queue_name: <% $.queue_name %>
|
|
||||||
generate_passwords: <% $.generate_passwords %>
|
|
||||||
use_default_templates: true
|
|
||||||
|
|
||||||
set_status_success:
|
|
||||||
on-success: send_message
|
|
||||||
publish:
|
|
||||||
status: SUCCESS
|
|
||||||
message: <% task(call_create_deployment_plan).result %>
|
|
||||||
|
|
||||||
call_create_deployment_plan_set_status_failed:
|
|
||||||
on-success: send_message
|
|
||||||
publish:
|
|
||||||
status: FAILED
|
|
||||||
message: <% task(call_create_deployment_plan).result %>
|
|
||||||
|
|
||||||
send_message:
|
|
||||||
workflow: tripleo.messaging.v1.send
|
|
||||||
input:
|
|
||||||
queue_name: <% $.queue_name %>
|
|
||||||
type: <% execution().name %>
|
|
||||||
status: <% $.status %>
|
|
||||||
execution: <% execution() %>
|
|
||||||
plan_name: <% $.container %>
|
|
||||||
|
|
||||||
create_deployment_plan:
|
create_deployment_plan:
|
||||||
description: >
|
description: >
|
||||||
This workflow provides the capability to create a deployment plan using
|
This workflow provides the capability to create a deployment plan using
|
||||||
|
Loading…
Reference in New Issue
Block a user