Remove the tripleo.deployment.v1.recover_deployment_status workflow

This was only used by tripleo-ui and is no longer needed.

Related-Bug: #1835232
Change-Id: I4e592dc88741015243fab6d6933a029bd22c1453
This commit is contained in:
Dougal Matthews 2019-07-04 14:32:43 +01:00
parent 525a48b972
commit b6e6b79d29
1 changed files with 1 additions and 43 deletions

View File

@ -997,46 +997,4 @@ workflows:
status: <% $.get("status", "SUCCESS") %>
message: <% $.get("message", "") %>
payload:
deployment_failures: <% $.get(deployment_failures, "") %>
recover_deployment_status:
description: >
Convert an existing deployment into one that supports config-download
tags:
- tripleo-common-managed
input:
- container: overcloud
- queue_name: tripleo
tasks:
query:
action: heat.stacks_get
input:
stack_id: <% $.container %>
publish:
stack_status: <% task().result.stack_status %>
message: <% task().result.stack_status_reason %>
publish-on-error:
stack_status: NO_STACK
on-success: convert_deployment_status
on-error: convert_deployment_status
convert_deployment_status:
action: tripleo.deployment.convert_status
input:
status: <% $.stack_status %>
publish:
deployment_status: <% task().result %>
on-complete: recover
recover:
workflow: tripleo.messaging.v1.send
input:
queue_name: <% $.queue_name %>
type: <% execution().name %>
execution: <% execution() %>
deployment_status: <% $.deployment_status %>
plan_name: <% $.container %>
message: <% $.get('message', '') %>
deployment_failures: <% $.get(deployment_failures, "") %>