Skip stack in-progress check

Now that the undercloud uses convergence by default, restarting Heat
won't put the stack in FAILED state, which means you can't call deploy
again. Let's skip the check altogether, to let Heat handles it

Change-Id: I93f025995ee24ab62912e6a980e03c2d45acef25
This commit is contained in:
Thomas Herve 2018-02-02 10:03:46 +01:00
parent aa44e05495
commit 013dd26ee8

View File

@ -160,26 +160,13 @@ workflows:
create_swift_rings_backup_plan:
workflow: tripleo.swift_rings_backup.v1.create_swift_rings_backup_container_plan
on-success: get_heat_stack
on-success: cell_v2_discover_hosts
on-error: create_swift_rings_backup_plan_set_status_failed
input:
container: <% $.container %>
queue_name: <% $.queue_name %>
use_default_templates: true
get_heat_stack:
action: heat.stacks_get stack_id=<% $.container %>
on-error: cell_v2_discover_hosts
on-success:
- set_stack_in_progress: <% "_IN_PROGRESS" in task().result.stack_status %>
- cell_v2_discover_hosts: <% not "_IN_PROGRESS" in task().result.stack_status %>
set_stack_in_progress:
on-success: send_message
publish:
status: FAILED
message: The Heat stack is busy.
cell_v2_discover_hosts:
on-success: deploy
on-error: cell_v2_discover_hosts_failed