1e62fafe82
Before if an exception occured during dsl cleanup exception_result would use empty ObjectsCopy and empty Attributes for result. In case exception happened during env deletion this would cause env to be deleted by API, because it ignored isException and treated any result as valid. Now exception_result also includes original ObjectsCopy/Attributes in case they're empty in exception_result. Api not only checks count of 'error' statuses, in session, but also checks isException attribute of the result, and treats exception results as Errors, therefore marking deployment/deletion as failed. Logging of results in API is now aware, that objects can be empty during app deletion and no longer throws AttributeError because of that. Change-Id: Idec8191ee25d1cac606741673719bbb8a72709b0 Closes-Bug: #1456724 |
||
---|---|---|
.. | ||
helpers | ||
messaging | ||
__init__.py | ||
app_loader.py | ||
auth_utils.py | ||
config.py | ||
consts.py | ||
engine.py | ||
exceptions.py | ||
i18n.py | ||
plugin_loader.py | ||
policy.py | ||
rpc.py | ||
server.py | ||
statservice.py | ||
utils.py | ||
uuidutils.py | ||
wsgi.py | ||
xmlutils.py |