"task-defaults" does not work for reverse workflow
Bug #1401391 reported by
Renat Akhmerov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Fix Released
|
Medium
|
Renat Akhmerov |
Bug Description
"task-defaults" does not work for reverse workflow even though policies can be applied for any task regardless of workflow type.
Changed in mistral: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Renat Akhmerov (rakhmerov) |
milestone: | none → kilo-1 |
Changed in mistral: | |
status: | Confirmed → In Progress |
Changed in mistral: | |
status: | In Progress → Fix Committed |
Changed in mistral: | |
status: | Fix Committed → Fix Released |
Changed in mistral: | |
milestone: | kilo-1 → 2015.1 |
To post a comment you must log in.
User gets following error: lib/python2. 7/dist- packages/ oslo/messaging/ rpc/dispatcher. py", line 137, in _dispatch_and_reply incoming.message)) lib/python2. 7/dist- packages/ oslo/messaging/ rpc/dispatcher. py", line 180, in _dispatch return self._do_ dispatch( endpoint, method, ctxt, args) lib/python2. 7/dist- packages/ oslo/messaging/ rpc/dispatcher. py", line 126, in _do_dispatch result = getattr(endpoint, method)(ctxt, **new_args) ubuntu/ mistral/ mistral/ engine1/ rpc.py" , line 81, in start_workflow **params ubuntu/ mistral/ mistral/ utils/_ _init__ .py", line 94, in _logged return func(*args, **kw) ubuntu/ mistral/ mistral/ engine1/ default_ engine. py", line 72, in start_workflow local_commands( cmds, exec_db, wf_handler) ubuntu/ mistral/ mistral/ engine1/ default_ engine. py", line 150, in _run_local_commands local(exec_ db, wf_handler, cause_task_db): ubuntu/ mistral/ mistral/ engine1/ commands. py", line 102, in run_local self._before_ task_start( wf_handler. wf_spec) ubuntu/ mistral/ mistral/ engine1/ commands. py", line 124, in _before_task_start wf_spec): ubuntu/ mistral/ mistral/ engine1/ policies. py", line 48, in build_policies policies_ list(policies_ spec, wf_policies) ubuntu/ mistral/ mistral/ engine1/ policies. py", line 64, in construct_ policies_ list policy = factory( policies_ spec) ubuntu/ mistral/ mistral/ engine1/ policies. py", line 76, in build_wait_ before_ policy spec.get_ wait_before( )
[-] Exception during message handling: 'NoneType' object has no attribute 'get_wait_before'
Traceback (most recent call last):
File "/usr/local/
File "/usr/local/
File "/usr/local/
File "/home/
File "/home/
File "/home/
self._run_
File "/home/
if not cmd.run_
File "/home/
File "/home/
File "/home/
return construct_
File "/home/
File "/home/
wait_before = policies_
AttributeError: 'NoneType' object has no attribute 'get_wait_before'