Cron-trigger running failed when workflow's scope is updated to 'private' from 'public'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Fix Released
|
Undecided
|
Hardik Parekh |
Bug Description
steps to reproduce:
1. Tenant1 creates a 'public' workflow.
2. Tenant2 can see that workflow, and creates a cron-trigger using that workflow.
3. Tenant1 updates the scope of workflow from 'public' to 'private'.
4. Cron-trigger's execution fails, the error log:
2015-11-21 09:03:59.379 8645 ERROR mistral.
Traceback (most recent call last):
File "/vagrant/
wf_def = db_api.
File "/vagrant/
return IMPL.get_
File "/vagrant/
"Workflow not found [workflow_name=%s]" % name
NotFoundException: Workflow not found [workflow_
2015-11-21 09:03:59.384 8645 ERROR mistral.
2015-11-21 09:03:59.385 8645 ERROR oslo_messaging.
2015-11-21 09:03:59.385 8645 ERROR oslo_messaging.
2015-11-21 09:03:59.385 8645 ERROR oslo_messaging.
2015-11-21 09:03:59.385 8645 ERROR oslo_messaging.
2015-11-21 09:03:59.385 8645 ERROR oslo_messaging.
2015-11-21 09:03:59.385 8645 ERROR oslo_messaging.
2015-11-21 09:03:59.385 8645 ERROR oslo_messaging.
2015-11-21 09:03:59.385 8645 ERROR oslo_messaging.
2015-11-21 09:03:59.385 8645 ERROR oslo_messaging.
2015-11-21 09:03:59.385 8645 ERROR oslo_messaging.
2015-11-21 09:03:59.385 8645 ERROR oslo_messaging.
2015-11-21 09:03:59.385 8645 ERROR oslo_messaging.
2015-11-21 09:03:59.385 8645 ERROR oslo_messaging.
2015-11-21 09:03:59.385 8645 ERROR oslo_messaging.
2015-11-21 09:03:59.385 8645 ERROR oslo_messaging.
2015-11-21 09:03:59.385 8645 ERROR oslo_messaging.
2015-11-21 09:03:59.394 8645 ERROR oslo_messaging.
Changed in mistral: | |
assignee: | nobody → hardik (hardik-parekh047) |
Fix proposed to branch: master /review. openstack. org/252317
Review: https:/