"pause-before" has to have bigger priority than other policies

Bug #1449948 reported by Anastasia Kuznetsova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mistral
Fix Released
Medium
Unassigned
Liberty
Fix Released
Medium
Bryan Havenstein

Bug Description

Steps to reproduce:
1. create workflow:
version: '2.0'

wf:
  type: direct
  task-defaults:
    wait-before: 2
    retry:
      count: 2
      delay: 1
    pause-before: true

  tasks:
    hello:
      action: std.echo output="Hello"
      publish:
        result: <% $.hello %>
2. execute this workflow

Observed result:
Workflow execution finally goes to "PAUSED" state, but before it will be executed with all rules of other policies.

Changed in mistral:
importance: Undecided → High
Changed in mistral:
milestone: none → liberty-1
status: New → Triaged
Changed in mistral:
importance: High → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to mistral (master)

Reviewed: https://review.openstack.org/178856
Committed: https://git.openstack.org/cgit/stackforge/mistral/commit/?id=5da279112645de4c60975a127d04acf412570e66
Submitter: Jenkins
Branch: master

commit 5da279112645de4c60975a127d04acf412570e66
Author: bhavenst <email address hidden>
Date: Wed Apr 29 17:58:32 2015 -0400

    Allow pause-before to override wait-before policy

     * Prevent wait-before from scheduling task for paused workflow

    Closes-bug: #1449948

    Change-Id: I411d961d0bee7d874e737e05357a7c8c183add51

Changed in mistral:
status: Triaged → Fix Committed
Changed in mistral:
milestone: 1.0.0 → none
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.