Convert exceptions to strings when passing them to the Result class
The Mistral Result class expects the error property to be either a
string or a dict. Other types, like exceptions, can cause errors in
mistral which in turn cause a critical failure. See the Mistral bug
report: https://bugs.launchpad.net/mistral/+bug/1645295
This change also updates one use of the Result class that doesn't use
kwargs.
Reviewed: https:/ /review. openstack. org/403673 /git.openstack. org/cgit/ openstack/ tripleo- common/ commit/ ?id=0aee2ceb3ca 2b26e5271f357b6 8deca912668f89
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0aee2ceb3ca2b26 e5271f357b68dec a912668f89
Author: Dougal Matthews <email address hidden>
Date: Mon Nov 28 12:35:09 2016 +0000
Convert exceptions to strings when passing them to the Result class
The Mistral Result class expects the error property to be either a /bugs.launchpad .net/mistral/ +bug/1645295
string or a dict. Other types, like exceptions, can cause errors in
mistral which in turn cause a critical failure. See the Mistral bug
report: https:/
This change also updates one use of the Result class that doesn't use
kwargs.
Change-Id: Ia93f298e5181ba e92d7a08468d33c 255d38b996a
Closes-Bug: #1645296