on-complete of a default on-error tasks sometimes doesn't run

Bug #1627711 reported by Michal Gershenzon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mistral
Incomplete
High
Renat Akhmerov

Bug Description

In a big workflow (~60 tasks) the on-complete of a default on-error tasks sometimes doesn't run.

The workflow is ~700 lines and some of the tasks are nested or call a custom action. The default on-error calls a task (system_task_on_error) that has an on-complete section.

...
  task-defaults:
    on-error:
    - "system_task_on_error"
  tasks:

    system_task_on_error:
      workflow: "my_workflow"
      input:
        env: "<% env() %>"
        workflow_parameter_05: "xyz"
        workflow_parameter_06: "xyz"
      join: 1
      on-complete:
      - "problematic_task"
...

I tried reproducing the issue with a smaller workflow, but it didn't work.

To reproduce download the attached file and:
tar -xf big_wf_on_complete_line_678_not_running_2609.tar.gz
mistral workflow-create big_wf_on_complete_line_678_not_running_2609.yaml
mistral workflow-create my_workflow_2609.yaml
mistral workflow-create failing_workflow_2609.yaml
mistral action-create my_action_2609.yaml
mistral execution-create big_wf_on_complete_line_678_not_running inputs.json params.json

see result of calling 'mistral task-list' (problematic_task is not there even though system_task_on_error is):
http://paste.openstack.org/show/582938/

Revision history for this message
Michal Gershenzon (michal-gershenzon) wrote :
jzx (xuange)
Changed in mistral:
assignee: nobody → jzx (xuange)
jzx (xuange)
Changed in mistral:
assignee: jzx (xuange) → nobody
Changed in mistral:
assignee: nobody → Renat Akhmerov (rakhmerov)
milestone: none → rocky-2
Changed in mistral:
status: New → Triaged
importance: Undecided → High
Dougal Matthews (d0ugal)
Changed in mistral:
milestone: rocky-2 → rocky-3
Dougal Matthews (d0ugal)
Changed in mistral:
milestone: rocky-3 → stein-1
Dougal Matthews (d0ugal)
Changed in mistral:
milestone: stein-1 → stein-2
Revision history for this message
Renat Akhmerov (rakhmerov) wrote :

It's not been observed for a long time. Closing it for now.

Changed in mistral:
milestone: stein-2 → none
status: Triaged → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.