Mistral's retries ignore join logical state

Bug #1819418 reported by Oleg Ovcharuk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mistral
Fix Released
Undecided
Unassigned

Bug Description

There is a strange behavior with mistral's retries: if join task fails because of it's child tasks, retries reexecute this join task and ignore it's logical state.

Example:
wf1:
  task-defaults:
    retry:
      count: 1
      delay: 0
  tasks:
    task1:
      action: std.noop
      on-success: join_task
    task2:
      action: std.fail
      on-success: join_task
    join_task:
      action: std.noop
      join: all

Expected result: join_task has ERROR state after retries; wf1 has state info "failed because of task2, join_task"

Actual result: join_task has SUCCESS state; wf1 has state info "failed because of task2"

Andras Kovi (akovi)
Changed in mistral:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to mistral (master)

Reviewed: https://review.openstack.org/642431
Committed: https://git.openstack.org/cgit/openstack/mistral/commit/?id=99ebc1b5f73f2a3ffc3a44e2ebe1119cfb033719
Submitter: Zuul
Branch: master

commit 99ebc1b5f73f2a3ffc3a44e2ebe1119cfb033719
Author: Oleg Ovcharuk <email address hidden>
Date: Mon Mar 11 15:07:57 2019 +0300

    Retries shouldn't execute if join task failed because of child task

    Change-Id: Ideaa9938497f74335af633044cb6e98fbb1522d8
    Closes-Bug: #1819418
    Signed-off-by: Oleg Ovcharuk <email address hidden>

Changed in mistral:
status: Confirmed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/mistral 8.0.0.0rc1

This issue was fixed in the openstack/mistral 8.0.0.0rc1 release candidate.

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.