nova/nova/tests
Balazs Gibizer 305cdb38db do not include context to exception notification
The wrap_exception decorator optionally emited a notification.
Based on the code comments the original intention was not to include the
context to that notification due to security reasons. However the
implementation did included the context to the payload of the legacy
notification.

Recently we saw circural reference errors during the payload serialization
of this notification. Based on the logs the only complex data structure
that could cause circural reference is the context. So this patch
removes the context from the legacy exception notification.

The versioned exception notification is not affected as it does not
contain the args of the decorated function.

Conflicts:
      nova/exception_wrapper.py
      nova/tests/unit/test_exception.py

NOTE(mriedem): The conflict is due to some refactor in Newton:
6329d721ef

Closes-Bug: #1673375
Change-Id: I1d217620e52d45595a3e0e49ed57b4ab33cd1688
(cherry picked from commit 3bf177a59c)
(cherry picked from commit a8a1915456)
(cherry picked from commit d0ee248bab)
2017-03-17 13:19:07 -04:00
..
functional Archive instance-related rows when the parent instance is deleted 2016-09-28 07:08:44 -07:00
live_migration/hooks Ceph for live-migration job 2016-01-22 16:27:58 +03:00
unit do not include context to exception notification 2017-03-17 13:19:07 -04:00
__init__.py
fixtures.py Change SpawnIsSynchronous fixture return 2016-03-10 13:48:41 -05:00
uuidsentinel.py Add uuidsentinel test module 2015-12-14 11:28:55 +01:00