deleting stack with mistral workflow resource (already deleted) fails with error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
Rabi Mishra |
Bug Description
This results in an undeletable stack.
steps to reproduce:
1. create stack with below template
2. Delete the workflow
3. Delete the the stack
ubuntu@
heat_template_
resources:
workflow1:
type: OS::Mistral:
properties:
type: direct
input:
name: rabi
tasks:
- name: task1
action: std.echo output=<% $.name %>
- task2
- name: task2
action: std.echo output="Done"
traceback:
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
2017-09-02 13:30:39.606 TRACE heat.engine.
Changed in heat: | |
milestone: | none → queens-1 |
Seems mistralclient was changed to use keystone sessions, but the keystoneauth errors are not translated in 3.1.2 (currently released python- mistralclient) . This has been fixed in https:/ /github. com/openstack/ python- mistralclient/ commit/ 19c89ca49f46c9b f7d21a255182aef f26197bdc8 but has not made it to pike, which would break pike heat too.
So there are 2 options.
1. Revert the patch to use session with mistral client plugin.
2. Check for for keystoneauth exceptions in the plugin.
Whatever option we choose we've to backport it to pike.