'mistral_http' action is broken because it doesn't get 'action_context' parameter

Bug #1380873 reported by Renat Akhmerov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mistral
Fix Released
High
Winson Chan

Bug Description

Previously, actions would get 'action_context' parameter containing task_id, execution_id etc. if they had it in initializer signature. However, it was broken while transitioning to engine v2.

We need to fix this by taking care of this parameter on engine side where we prepare action parameters.

Changed in mistral:
importance: Undecided → High
milestone: none → 0.2
Changed in mistral:
assignee: nobody → Winson Chan (winson-c-chan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to mistral (master)

Fix proposed to branch: master
Review: https://review.openstack.org/130037

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

Reviewed: https://review.openstack.org/130037
Committed: https://git.openstack.org/cgit/stackforge/mistral/commit/?id=8c88ff057f6e7d1f5ab97302939eb339a5d62d2a
Submitter: Jenkins
Branch: master

commit 8c88ff057f6e7d1f5ab97302939eb339a5d62d2a
Author: Winson Chan <email address hidden>
Date: Tue Oct 21 21:27:16 2014 +0000

    Construct and pass action_context to action

    If action_context is defined in the init method of an action, a
    dictionary of execution and task information is constructed and passed
    as input parameters to the init method.

    Change-Id: I25627a0bc94c5b55a33b71602f44d7297e2a0c10
    Closes-Bug: 1380873

Changed in mistral:
status: In Progress → Fix Committed
Revision history for this message
Renat Akhmerov (rakhmerov) wrote :

It was fixed in 0.1.1

Changed in mistral:
status: Fix Committed → Fix Released
Changed in mistral:
milestone: kilo-1 → 2015.1
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.