We're updating the issue view to help you get more done. 

Wait for tasks to finish in scale list work flow when an exception is raised

Description

During scale list workflows if an exception is raised, we immediately execute install. We should go over the existing tasks and wait for them to finish.

For example:

1 2 3 4 5 6 7 8 9 10 11 deadline = time.time() + 1200 while deadline > time.time(): if graph._is_execution_cancelled(): raise api.ExecutionCancelled() for task in graph._terminated_tasks(): graph._handle_terminated_task(task) if not any(task.get_state() == tasks.TASK_SENT for task in graph.tasks_iter()): break else: time.sleep(0.1)

Steps to Reproduce

1. Upload Blueprint that has utilities plugin and scale list groups defined.
2. Create deployment.
3. Execute install workflow.
4. Execute scale list up workflow with parameters that will cause one thread to fail.

Why Propose Close?

None

Status

Assignee

Unassigned

Reporter

Trammell -

Labels

Severity

High

Target Version

4.5.5

Premium Only

no

Found In Version

4.5

QA Owner

None

Bug Type

regression bug

Customer Encountered

Yes

Customer Name

None

Release Notes

yes

Priority

High

Sprint

None

Fix versions

Priority

Major