From 74159dc11daa24fe66e6b74c253083da52a56732 Mon Sep 17 00:00:00 2001 From: James Slagle Date: Tue, 12 Nov 2019 11:03:11 -0500 Subject: [PATCH] Remove checking for already running config_download_deploy This patch removes the checking for already running instances of the tripleo.deployment.v1.config_download_deploy workflow from the workflow itself as it's been moved to tripleoclient. It is better handled in tripleoclient where the workflow inputs can be checked to see if any of the other running workflows are also for the current stack. That functionality would have required a custom action to do in the workflow itself. Change-Id: I6195068a42bfc2469a0b8b006e339e3ca5056dff Partial-Bug: #1852314 Depends-On: Ic8dbf28b5796ff998165b6b73b941f21c65f1dfa (cherry picked from commit 101bff0021c2f772af3a996ef61d3299e4082605) --- workbooks/deployment.yaml | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/workbooks/deployment.yaml b/workbooks/deployment.yaml index 7cdad45f0..e05a9ecc6 100644 --- a/workbooks/deployment.yaml +++ b/workbooks/deployment.yaml @@ -395,28 +395,6 @@ workflows: tasks: - check_for_deploy_in_progress: - action: mistral.executions_find - input: - workflow_name: tripleo.deployment.v1.config_download_deploy - state: RUNNING - publish: - running_config_download_workflows: <% task().result.where($.id != execution().id) %> - on-success: - - fail_deploy_in_progress: <% $.running_config_download_workflows.len() > 0 %> - - get_blacklisted_hostnames: <% $.running_config_download_workflows.len() = 0 %> - - fail_deploy_in_progress: - workflow: tripleo.messaging.v1.send - input: - queue_name: <% $.queue_name %> - type: <% execution().name %> - status: <% $.get('status', 'FAILED') %> - execution: <% execution() %> - message: Deployment already in progress with execution <% $.running_config_download_workflows[0].id %> - plan_name: <% $.plan_name %> - on-complete: fail - get_blacklisted_hostnames: action: heat.stacks_output_show input: