nova/nova
Balazs Gibizer d0ee248bab 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.

Closes-Bug: #1673375
Change-Id: I1d217620e52d45595a3e0e49ed57b4ab33cd1688
(cherry picked from commit 3bf177a59c)
(cherry picked from commit a8a1915456)
2017-03-17 13:06:25 -04:00
..
CA
api Merge "Pre-load info_cache when handling external events and handle NotFound" into stable/newton 2017-03-01 09:22:13 +00:00
cells Remove straggling use of main db flavors in cellsv1 code 2017-02-14 15:44:14 -05:00
cert
cloudpipe conf: Move cloudpipe options to a group 2016-08-22 09:31:03 +01:00
cmd Merge "Make simple_cell_setup fully idempotent" into stable/newton 2017-02-15 22:12:11 +00:00
common
compute Merge "libvirt: Remove redundant bdm serial mangling and saving during swap_volume" into stable/newton 2017-03-15 04:34:05 +00:00
conductor Do not try to backport when db has older object version 2016-10-17 08:22:43 +00:00
conf Update docs for serial console support 2016-11-09 09:46:26 -05:00
console Fixed typos in nova: compute, console and conf dir 2016-08-01 21:14:32 +00:00
consoleauth
db Ignore deleted services in minimum version calculation 2017-02-27 12:12:35 -05:00
hacking Remove hacking check [N347] for config options. 2016-08-11 14:23:21 +02:00
image Determine disk_format for volume-backed snapshot from schema 2016-09-26 14:07:20 -04:00
ipv6 Fix test_ipv6 and simplify to_global() 2016-06-28 20:42:32 +02:00
keymgr Deprecate barbican options 2016-07-29 15:36:28 -05:00
locale Imported Translations from Zanata 2017-02-27 08:55:47 +00:00
network fix for auth during live-migration 2016-12-14 09:08:29 +00:00
notifications Merge "Make notification objects use flavor capacity attributes" 2016-08-06 05:58:09 +00:00
objects Merge "[placement] Enforce min_unit, max_unit and step_size" into stable/newton 2017-03-06 12:17:55 +00:00
pci Fix crashing during guest config with pci_devices=None 2016-12-12 15:07:18 +00:00
policies Merge "Fix server operations' policies to admin only" 2016-08-11 06:07:52 +00:00
scheduler Merge "Fresh resource provider in RT must have generation 0" into stable/newton 2017-03-07 12:44:33 +00:00
servicegroup
tests do not include context to exception notification 2017-03-17 13:06:25 -04:00
virt Merge "libvirt: Acquire TCP ports for console during live migration" into stable/newton 2017-03-17 16:07:41 +00:00
vnc
volume encryptors: Workaround mangled passphrases 2016-11-10 15:31:07 +00:00
wsgi
__init__.py
availability_zones.py
baserpc.py
block_device.py Allow None for block_device_mapping_v2.boot_index 2017-02-09 10:33:35 -05:00
cache_utils.py
config.py Add the ability to configure glanceclient debug logging 2016-08-04 00:32:37 +00:00
context.py Merge "Move cell message queue switching and add caching" 2016-09-01 21:49:23 +00:00
crypto.py
debugger.py
exception.py [placement] Enforce min_unit, max_unit and step_size 2017-01-18 12:54:32 -05:00
exception_wrapper.py do not include context to exception notification 2017-03-17 13:06:25 -04:00
filters.py
hash_ring.py Ironic: allow multiple compute services 2016-08-04 23:51:13 +00:00
hooks.py
i18n.py
loadables.py
manager.py
policy.py Emit warning when use 'user_id' in policy rule 2016-08-29 11:46:15 +00:00
quota.py incorrect description in nova-api.log about quota check 2016-09-02 17:00:14 +09:00
rpc.py Stop overwriting thread local context in ClientRouter 2016-09-28 12:07:41 -04:00
safe_utils.py
service.py Device tagging API support 2016-06-29 20:55:16 -07:00
signature_utils.py Trivial-Fix: Fix typos 2016-06-13 06:41:08 +00:00
test.py Use StableObjectJsonFixture from o.vo 2016-08-29 11:52:10 -04:00
utils.py Merge "Properly quote IPv6 address in RsyncDriver" 2016-08-18 13:17:19 +00:00
version.py
weights.py
wsgi.py