I running mistral from git with latest commit ID is: 7a6aac0f5f008d67eeb5d3f63ddac42bb62f8e69
When i view tasks in workflow execution, i can't do that and i was received error log:
2019-10-04 10:01:19.859 74 ERROR wsme.api [req-da17b1b7-7267-4a19-bea3-431cfdecc031 3502ac4dda5247829c20b6561c5d188a 4a92824aa74445f28d7cf814a54ee283 - default default] Server-side error: "Parent instance <WorkflowExecution at 0x7f52f18a4410> is not bound to a Session; deferred load operation of attribute 'params' cannot proceed (Background on this error at: http://sqlalche.me/e/bhk3)". Detail:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/wsmeext/pecan.py", line 85, in callfunction
result = f(self, *args, **kwargs)
File "/opt/mistral/mistral/api/controllers/v2/task.py", line 206, in get
return _task_with_published_global(task, task_ex)
File "/opt/mistral/mistral/api/controllers/v2/task.py", line 100, in _task_with_published_global
published_global_vars = get_published_global(task_ex)
File "/opt/mistral/mistral/api/controllers/v2/task.py", line 83, in get_published_global
data_flow.get_workflow_environment_dict(wf_ex),
File "/opt/mistral/mistral/workflow/data_flow.py", line 334, in get_workflow_environment_dict
return get_workflow_environment_dict(wf_ex.root_execution)
File "/opt/mistral/mistral/workflow/data_flow.py", line 336, in get_workflow_environment_dict
env_dict = wf_ex.params['env'] if 'env' in wf_ex.params else {}
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py", line 282, in __get__
return self.impl.get(instance_state(instance), dict_)
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py", line 710, in get
value = self.callable_(state, passive)
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/strategies.py", line 412, in _load_for_state
% (orm_util.state_str(state), self.key)
DetachedInstanceError: Parent instance <WorkflowExecution at 0x7f52f18a4410> is not bound to a Session; deferred load operation of attribute 'params' cannot proceed (Background on this error at: http://sqlalche.me/e/bhk3)
: DetachedInstanceError: Parent instance <WorkflowExecution at 0x7f52f18a4410> is not bound to a Session; deferred load operation of attribute 'params' cannot proceed (Background on this error at: http://sqlalche.me/e/bhk3)