Activity log for bug #1769012

Date Who What changed Old value New value Message
2018-05-04 02:25:07 Vitalii Solodilov bug added bug
2018-05-04 02:26:24 Vitalii Solodilov description For example, I have a simple workflow --- version: '2.0' wf: tasks: task1: action: std.fail retry: delay: 0 count: 500 (mistral27_master) mcdoker18@kek:~/PycharmProjects/mistral$ mistral execution-create wf +-------------------+--------------------------------------+ | Field | Value | +-------------------+--------------------------------------+ | ID | 94957503-e692-4e73-a245-d800e57a1c2b | | Workflow ID | a314f26f-8990-4afc-892c-69321ba01169 | | Workflow name | wf | | Description | | | Task Execution ID | <none> | | State | RUNNING | | State info | None | | Created at | 2018-05-04 02:01:36 | | Updated at | 2018-05-04 02:01:36 | +-------------------+--------------------------------------+ (mistral27_master) mcdoker18@kek:~/PycharmProjects/mistral$ mistral execution-update 94957503-e692-4e73-a245-d800e57a1c2b -s PAUSED +-------------------+--------------------------------------+ | Field | Value | +-------------------+--------------------------------------+ | ID | 94957503-e692-4e73-a245-d800e57a1c2b | | Workflow ID | a314f26f-8990-4afc-892c-69321ba01169 | | Workflow name | wf | | Description | | | Task Execution ID | <none> | | State | PAUSED | | State info | None | | Created at | 2018-05-04 02:01:36 | | Updated at | 2018-05-04 02:01:36 | +-------------------+--------------------------------------+ Mistral logs, pay attention to time when workflow was paused and logging time: 2018-05-04 02:07:16.042 38 INFO workflow_trace [req-a2140d55-86ce-451c-994e-72928506e6a7 - - - - -] Task 'task1' (bf6e4f18-39f0-4a46-be1f-f9aa067db731) [RUNNING -> ERROR, msg=Failed to run action [action_ex_id=c40c8f96-a5bf-4c52-ac92-a2fb806ae762, action_cls='<class 'mistral.actions.action_factory.FailAction'>', attributes='{}', params='{}'] Fail action expected exception.] (execution_id=94957503-e692-4e73-a245-d800e57a1c2b) 2018-05-04 02:07:16.070 38 INFO workflow_trace [req-a2140d55-86ce-451c-994e-72928506e6a7 - - - - -] Task 'task1' [ERROR -> DELAYED, delay = 0 sec] (execution_id=94957503-e692-4e73-a245-d800e57a1c2b task_id=bf6e4f18-39f0-4a46-be1f-f9aa067db731) 2018-05-04 02:07:17.059 38 INFO workflow_trace [req-a2140d55-86ce-451c-994e-72928506e6a7 - - - - -] Task 'task1' (bf6e4f18-39f0-4a46-be1f-f9aa067db731) [DELAYED -> RUNNING, msg=None] (execution_id=94957503-e692-4e73-a245-d800e57a1c2b) If I try to pause this execution, the retry iteration must not be stopped. Actual: * start task1 * 1 retry iteration * 2 retry iteration ... * 50 retry iteration -> pause workflow * 51 retry iteration * 52 retry iteration ... * 500 retry iteration But it would be cool if a retry iteration will be paused after pause execution. And it will be continued after resume execution. Expected: * start task1 * 1 retry iteration * 2 retry iteration ... * 50 retry iteration -> pause workflow ... some time later -> resume workflow * 51 retry iteration * 52 retry iteration ... * 500 retry iteration For example, I have a simple workflow --- version: '2.0' wf:   tasks:     task1:       action: std.fail       retry:         delay: 0         count: 500 (mistral27_master) mcdoker18@kek:~/PycharmProjects/mistral$ mistral execution-create wf +-------------------+--------------------------------------+ | Field | Value | +-------------------+--------------------------------------+ | ID | 94957503-e692-4e73-a245-d800e57a1c2b | | Workflow ID | a314f26f-8990-4afc-892c-69321ba01169 | | Workflow name | wf | | Description | | | Task Execution ID | <none> | | State | RUNNING | | State info | None | | Created at | 2018-05-04 02:01:36 | | Updated at | 2018-05-04 02:01:36 | +-------------------+--------------------------------------+ (mistral27_master) mcdoker18@kek:~/PycharmProjects/mistral$ mistral execution-update 94957503-e692-4e73-a245-d800e57a1c2b -s PAUSED +-------------------+--------------------------------------+ | Field | Value | +-------------------+--------------------------------------+ | ID | 94957503-e692-4e73-a245-d800e57a1c2b | | Workflow ID | a314f26f-8990-4afc-892c-69321ba01169 | | Workflow name | wf | | Description | | | Task Execution ID | <none> | | State | PAUSED | | State info | None | | Created at | 2018-05-04 02:01:36 | | Updated at | 2018-05-04 02:01:36 | +-------------------+--------------------------------------+ Mistral logs, pay attention to time when workflow was paused and logging time: 2018-05-04 02:07:16.042 38 INFO workflow_trace [req-a2140d55-86ce-451c-994e-72928506e6a7 - - - - -] Task 'task1' (bf6e4f18-39f0-4a46-be1f-f9aa067db731) [RUNNING -> ERROR, msg=Failed to run action [action_ex_id=c40c8f96-a5bf-4c52-ac92-a2fb806ae762, action_cls='<class 'mistral.actions.action_factory.FailAction'>', attributes='{}', params='{}']  Fail action expected exception.] (execution_id=94957503-e692-4e73-a245-d800e57a1c2b) 2018-05-04 02:07:16.070 38 INFO workflow_trace [req-a2140d55-86ce-451c-994e-72928506e6a7 - - - - -] Task 'task1' [ERROR -> DELAYED, delay = 0 sec] (execution_id=94957503-e692-4e73-a245-d800e57a1c2b task_id=bf6e4f18-39f0-4a46-be1f-f9aa067db731) 2018-05-04 02:07:17.059 38 INFO workflow_trace [req-a2140d55-86ce-451c-994e-72928506e6a7 - - - - -] Task 'task1' (bf6e4f18-39f0-4a46-be1f-f9aa067db731) [DELAYED -> RUNNING, msg=None] (execution_id=94957503-e692-4e73-a245-d800e57a1c2b) If I try to pause this execution, the retry iteration was not be stopped. Actual: * start task1 * 1 retry iteration * 2 retry iteration ... * 50 retry iteration -> pause workflow * 51 retry iteration * 52 retry iteration ... * 500 retry iteration But it would be cool if a retry iteration will be paused after pause execution. And it will be continued after resume execution. Expected: * start task1 * 1 retry iteration * 2 retry iteration ... * 50 retry iteration -> pause workflow ... some time later -> resume workflow * 51 retry iteration * 52 retry iteration ... * 500 retry iteration
2018-05-04 08:32:13 Vitalii Solodilov description For example, I have a simple workflow --- version: '2.0' wf:   tasks:     task1:       action: std.fail       retry:         delay: 0         count: 500 (mistral27_master) mcdoker18@kek:~/PycharmProjects/mistral$ mistral execution-create wf +-------------------+--------------------------------------+ | Field | Value | +-------------------+--------------------------------------+ | ID | 94957503-e692-4e73-a245-d800e57a1c2b | | Workflow ID | a314f26f-8990-4afc-892c-69321ba01169 | | Workflow name | wf | | Description | | | Task Execution ID | <none> | | State | RUNNING | | State info | None | | Created at | 2018-05-04 02:01:36 | | Updated at | 2018-05-04 02:01:36 | +-------------------+--------------------------------------+ (mistral27_master) mcdoker18@kek:~/PycharmProjects/mistral$ mistral execution-update 94957503-e692-4e73-a245-d800e57a1c2b -s PAUSED +-------------------+--------------------------------------+ | Field | Value | +-------------------+--------------------------------------+ | ID | 94957503-e692-4e73-a245-d800e57a1c2b | | Workflow ID | a314f26f-8990-4afc-892c-69321ba01169 | | Workflow name | wf | | Description | | | Task Execution ID | <none> | | State | PAUSED | | State info | None | | Created at | 2018-05-04 02:01:36 | | Updated at | 2018-05-04 02:01:36 | +-------------------+--------------------------------------+ Mistral logs, pay attention to time when workflow was paused and logging time: 2018-05-04 02:07:16.042 38 INFO workflow_trace [req-a2140d55-86ce-451c-994e-72928506e6a7 - - - - -] Task 'task1' (bf6e4f18-39f0-4a46-be1f-f9aa067db731) [RUNNING -> ERROR, msg=Failed to run action [action_ex_id=c40c8f96-a5bf-4c52-ac92-a2fb806ae762, action_cls='<class 'mistral.actions.action_factory.FailAction'>', attributes='{}', params='{}']  Fail action expected exception.] (execution_id=94957503-e692-4e73-a245-d800e57a1c2b) 2018-05-04 02:07:16.070 38 INFO workflow_trace [req-a2140d55-86ce-451c-994e-72928506e6a7 - - - - -] Task 'task1' [ERROR -> DELAYED, delay = 0 sec] (execution_id=94957503-e692-4e73-a245-d800e57a1c2b task_id=bf6e4f18-39f0-4a46-be1f-f9aa067db731) 2018-05-04 02:07:17.059 38 INFO workflow_trace [req-a2140d55-86ce-451c-994e-72928506e6a7 - - - - -] Task 'task1' (bf6e4f18-39f0-4a46-be1f-f9aa067db731) [DELAYED -> RUNNING, msg=None] (execution_id=94957503-e692-4e73-a245-d800e57a1c2b) If I try to pause this execution, the retry iteration was not be stopped. Actual: * start task1 * 1 retry iteration * 2 retry iteration ... * 50 retry iteration -> pause workflow * 51 retry iteration * 52 retry iteration ... * 500 retry iteration But it would be cool if a retry iteration will be paused after pause execution. And it will be continued after resume execution. Expected: * start task1 * 1 retry iteration * 2 retry iteration ... * 50 retry iteration -> pause workflow ... some time later -> resume workflow * 51 retry iteration * 52 retry iteration ... * 500 retry iteration If I try to pause this execution, the retry iteration was not be stopped. Actual: * start task1 * 1 retry iteration * 2 retry iteration ... * 50 retry iteration -> pause workflow * 51 retry iteration * 52 retry iteration ... * 500 retry iteration But it would be cool if a retry iteration will be paused after pause execution. And it will be continued after resume execution. Expected: * start task1 * 1 retry iteration * 2 retry iteration ... * 50 retry iteration -> pause workflow ... some time later -> resume workflow * 51 retry iteration * 52 retry iteration ... * 500 retry iteration
2018-05-04 08:32:48 Vitalii Solodilov description If I try to pause this execution, the retry iteration was not be stopped. Actual: * start task1 * 1 retry iteration * 2 retry iteration ... * 50 retry iteration -> pause workflow * 51 retry iteration * 52 retry iteration ... * 500 retry iteration But it would be cool if a retry iteration will be paused after pause execution. And it will be continued after resume execution. Expected: * start task1 * 1 retry iteration * 2 retry iteration ... * 50 retry iteration -> pause workflow ... some time later -> resume workflow * 51 retry iteration * 52 retry iteration ... * 500 retry iteration If I try to pause a execution, the retry iteration was not be stopped. Actual: * start task1 * 1 retry iteration * 2 retry iteration ... * 50 retry iteration -> pause workflow * 51 retry iteration * 52 retry iteration ... * 500 retry iteration But it would be cool if a retry iteration will be paused after pause execution. And it will be continued after resume execution. Expected: * start task1 * 1 retry iteration * 2 retry iteration ... * 50 retry iteration -> pause workflow ... some time later -> resume workflow * 51 retry iteration * 52 retry iteration ... * 500 retry iteration
2018-05-04 08:34:20 Renat Akhmerov description If I try to pause a execution, the retry iteration was not be stopped. Actual: * start task1 * 1 retry iteration * 2 retry iteration ... * 50 retry iteration -> pause workflow * 51 retry iteration * 52 retry iteration ... * 500 retry iteration But it would be cool if a retry iteration will be paused after pause execution. And it will be continued after resume execution. Expected: * start task1 * 1 retry iteration * 2 retry iteration ... * 50 retry iteration -> pause workflow ... some time later -> resume workflow * 51 retry iteration * 52 retry iteration ... * 500 retry iteration If I try to pause an execution, the retry iteration doesn't stop. Actual: * start task1 * 1 retry iteration * 2 retry iteration ... * 50 retry iteration -> pause workflow * 51 retry iteration * 52 retry iteration ... * 500 retry iteration But it would be cool if a retry iteration was paused after pausing the execution. And it should be continued after resume execution. Expected: * start task1 * 1 retry iteration * 2 retry iteration ... * 50 retry iteration -> pause workflow ... some time later -> resume workflow * 51 retry iteration * 52 retry iteration ... * 500 retry iteration
2018-05-04 08:34:32 Renat Akhmerov description If I try to pause an execution, the retry iteration doesn't stop. Actual: * start task1 * 1 retry iteration * 2 retry iteration ... * 50 retry iteration -> pause workflow * 51 retry iteration * 52 retry iteration ... * 500 retry iteration But it would be cool if a retry iteration was paused after pausing the execution. And it should be continued after resume execution. Expected: * start task1 * 1 retry iteration * 2 retry iteration ... * 50 retry iteration -> pause workflow ... some time later -> resume workflow * 51 retry iteration * 52 retry iteration ... * 500 retry iteration If I try to pause an execution, the retry iteration doesn't stop. Actual: * start task1 * 1 retry iteration * 2 retry iteration ... * 50 retry iteration -> pause workflow * 51 retry iteration * 52 retry iteration ... * 500 retry iteration But it would be cool if a retry iteration was paused after pausing the execution. And it should be continued after resuming the execution. Expected: * start task1 * 1 retry iteration * 2 retry iteration ... * 50 retry iteration -> pause workflow ... some time later -> resume workflow * 51 retry iteration * 52 retry iteration ... * 500 retry iteration
2018-05-04 08:36:59 Dougal Matthews mistral: status New Confirmed
2018-05-04 08:39:19 Dougal Matthews mistral: milestone rocky-2
2018-05-04 10:47:12 Vitalii Solodilov mistral: assignee Vitalii Solodilov (mcdoker18)
2018-05-06 09:28:10 Vitalii Solodilov summary Workflow pause with task retry policy Retry policy keeps iterating if the workflow is paused
2018-05-16 15:57:24 Dougal Matthews mistral: importance Undecided Medium
2018-06-07 20:00:42 Dougal Matthews mistral: milestone rocky-2 rocky-3
2018-08-08 13:25:51 Dougal Matthews mistral: milestone rocky-3 stein-1
2018-11-19 11:17:51 Dougal Matthews mistral: milestone stein-1
2024-03-27 12:48:13 OpenStack Infra mistral: status Confirmed In Progress