nova/nova
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
..
CA
api Allow None for block_device_mapping_v2.boot_index 2017-02-09 10:56:38 -05:00
cells Unavailable hosts have no resources for use 2016-05-31 09:16:03 -07:00
cert Move config options from nova/cert directory 2016-01-14 22:22:34 +00:00
cloudpipe Remove Deprecated EC2 and ObjectStore impl/tests 2016-01-08 06:30:20 -05:00
cmd Fail to start nova-api if no APIs were able to be started 2016-05-03 14:19:53 -04:00
common Added Keystone and RequestID headers to CORS middleware 2016-03-02 04:53:11 -08:00
compute Merge "Fixed clean up process in confirm_resize() after resize/cold migration" into stable/mitaka 2016-10-05 01:36:20 +00:00
conductor Do not try to backport when db has older object version 2016-10-17 07:38:22 +00:00
conf Revert "virt: reserved hugepages on compute host" 2016-03-14 10:26:23 +00:00
console Fix invalid import order 2016-01-20 05:03:41 -08:00
consoleauth Removal of unnecessary `import_opt`s for cells config options 2016-02-12 14:16:54 +02:00
db Ignore deleted services in minimum version calculation 2017-02-27 12:17:03 -05:00
hacking Hacking: check for deprecated os.popen() 2016-02-19 21:55:20 -02:00
image Default image.size to 0 when extracting v1 image attributes 2016-09-14 19:46:00 +09:00
ipv6
keymgr Migrate from keystoneclient to keystoneauth 2016-01-28 10:55:29 -06:00
locale Imported Translations from Zanata 2016-10-26 08:11:58 +00:00
mks
network Refresh info_cache after deleting floating IP 2016-09-07 17:24:13 -04:00
objects Fix binary name used in the pci device online migration check 2016-10-11 16:19:28 -07:00
openstack Use imageutils from oslo.utils 2016-02-16 18:34:43 +08:00
pci Merge "Add missing slash to dir path" into stable/mitaka 2016-10-14 11:37:07 +00:00
rdp
scheduler ironic_host_manager: fix population of instances info on start 2016-09-08 16:52:39 +03:00
servicegroup Add service binary/host to service is down log for context 2016-02-26 12:57:57 -05:00
spice
tests do not include context to exception notification 2017-03-17 13:19:07 -04:00
virt refresh instances_path when shared storage used 2016-10-06 15:57:02 +01:00
vnc config options: Centralise 'vnc' options 2016-02-03 13:36:20 +00:00
volume :Add missing %s in print message 2016-10-26 10:24:57 +09:00
wsgi Remove unused logging import and LOG global var 2015-12-25 18:01:12 +08:00
__init__.py
availability_zones.py Merge "Config options: centralize options in availability_zones" 2016-02-20 04:49:15 +00:00
baserpc.py
block_device.py Allow None for block_device_mapping_v2.boot_index 2017-02-09 10:56:38 -05:00
cache_utils.py Switch to oslo.cache lib 2016-02-02 08:20:13 -05:00
config.py Added Keystone and RequestID headers to CORS middleware 2016-03-02 04:53:11 -08:00
context.py Fix string interpolations at logging calls 2016-03-07 12:05:58 +09:00
crypto.py Tolerate installation of pycryptodome 2016-02-13 21:29:28 -05:00
debugger.py
exception.py do not include context to exception notification 2017-03-17 13:19:07 -04:00
filters.py Prepare filters for using RequestSpec object 2015-11-16 22:41:02 +01:00
hooks.py Deprecate nova.hooks 2016-03-01 11:52:52 +00:00
i18n.py
loadables.py
manager.py Remove unused logging import and LOG global var 2015-12-25 18:01:12 +08:00
netconf.py
notifications.py Replaced deprecated timeutils methods 2015-11-18 17:45:29 +01:00
opts.py Sample nova.conf file has missing/duplicated config options 2016-03-03 13:08:02 +01:00
paths.py
policy.py use graduated oslo.policy 2015-11-26 13:04:52 +08:00
quota.py
rpc.py Forbid new legacy notification event_type 2016-03-07 10:31:56 +01:00
safe_utils.py Replace safe_utils.getcallargs with inspect.getcallargs 2015-12-11 10:15:37 -05:00
service.py Fix service version to update the DB 2016-10-01 22:41:50 +00:00
signature_utils.py Fix sphinx warnings from signature_utils 2016-01-13 13:56:05 +00:00
test.py Forbid new legacy notification event_type 2016-03-07 10:31:56 +01:00
utils.py Properly quote IPv6 address in RsyncDriver 2016-08-18 13:40:02 +00:00
version.py
weights.py
wsgi.py config options: centralize section "wsgi" 2016-02-03 13:18:10 +00:00