Merge "Remove checking for already running config_download_deploy"
This commit is contained in:
commit
7d5e1a2e52
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user