openstack actions don't work from workflow created by trigger
Bug #1707953 reported by
Nikolay Makhotkin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Fix Released
|
Critical
|
Adriano Petrich |
Bug Description
Assume workflow
---
version: '2.0'
test_cron_trigger:
tasks:
test:
action: cinder.volumes_list
1. Create cron-trigger with this workflow
2. Get error during workflow execution:
CinderAction.
Changed in mistral: | |
milestone: | pike-3 → pike-rc1 |
Changed in mistral: | |
assignee: | nobody → Adriano Petrich (apetrich) |
Changed in mistral: | |
milestone: | pike-rc1 → pike-rc2 |
Changed in mistral: | |
milestone: | pike-rc2 → queens-1 |
Changed in mistral: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi, 1abef9b16eb8b36 96 "" ,
I am getting the following failed error: ""Could not find trust: 45a4cbc7777d444
is it the same error you are getting too ? ??
My Workflow: ------- ------- ------- ------- ------- ------- ------- ------- -
-------
version: "2.0"
test_cron_trigger:
type: direct
tasks:
test:
action: cinder.volumes_list
------- ------- ------- ------- ------- ------- ------- ------- ------- -
mistral workflow-create 1707953.yaml
mistral cron-trigger-create test-cron test_cron_trigger --first-time '2017-08-08 09:24'
ritesh@smiley:~$ mistral execution- get-output 662a9a75- 96c1-43e4- bb46-45e9450ed2 35 id=02b74b5b- dc6b-4b35- ba63-f4b0c24bb9 27] -> Failed to run action [action_ ex_id=fb8738f9- 22b0-4ae9- a09e-adf261299e 4b, action_cls='<class 'mistral. actions. action_ factory. CinderAction' >', attributes= '{u'client_ method_ name': u'volumes.list'}', params='{}']\n CinderAction. volumes. list failed: Could not find trust: 45a4cbc7777d444 1abef9b16eb8b36 96. (HTTP 404) (Request-ID: req-18efe81b- cbe2-4145- 9964-64110b6d7e 66)\n [action_ ex_id=fb8738f9- 22b0-4ae9- a09e-adf261299e 4b, idx=0]: Failed to run action [action_ ex_id=fb8738f9- 22b0-4ae9- a09e-adf261299e 4b, action_cls='<class 'mistral. actions. action_ factory. CinderAction' >', attributes= '{u'client_ method_ name': u'volumes.list'}', params='{}']\n CinderAction. volumes. list failed: Could not find trust: 45a4cbc7777d444 1abef9b16eb8b36 96. (HTTP 404) (Request-ID: req-18efe81b- cbe2-4145- 9964-64110b6d7e 66)\n"
{
"result": "Failure caused by error in tasks: test\n\n test [task_ex_
}
ritesh@smiley:~$ cinder list ------- +------ +------ +------ ------- +------ ----+-- ------- ----+ ------- +------ +------ +------ ------- +------ ----+-- ------- ----+ ------- +------ +------ +------ ------- +------ ----+-- ------- ----+
+----+-
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+----+-
+----+-