nova/nova
Matt Riedemann 2b57b3d867 virt: handle unicode when logging LifecycleEvents
The repr on the LifecycleEvent object includes a translated
name, which blows up with a UnicodeEncodeError in the emit_event
method because of str(event) and non-English locales.

This change uses six.text_type on the object rather than str
and adds a test to recreate the bug and show the fix.

Change-Id: I9b7b52739883043b7aae9759f500e5e21cfe8b30
Closes-Bug: #1621392
2016-09-08 11:14:52 -04:00
..
api [placement] Allow inventory to violate allocations 2016-09-07 07:42:05 -07:00
CA
cells Fix migration list + MigrationList operation 2016-08-15 10:05:23 -04:00
cert
cloudpipe conf: Move cloudpipe options to a group 2016-08-22 09:31:03 +01:00
cmd Merge "Adds nova-policy-check cmd" 2016-09-01 17:56:56 +00:00
common
compute Implement setup_networks_on_host for Neutron networks 2016-09-07 16:34:28 -04:00
conductor Fix service version lookups 2016-09-01 10:05:57 -04:00
conf Merge "conf: Move cloudpipe options to a group" 2016-09-06 08:59:05 +00:00
console Fixed typos in nova: compute, console and conf dir 2016-08-01 21:14:32 +00:00
consoleauth
db Merge "Reduce code complexity - api.py" 2016-08-30 12:03:09 +00:00
hacking Remove hacking check [N347] for config options. 2016-08-11 14:23:21 +02:00
image Merge "Default image.size to 0 when extracting v1 image attributes" 2016-08-03 11:20:46 +00: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 2016-08-25 07:57:34 +00:00
network Merge "Implement setup_networks_on_host for Neutron networks" 2016-09-08 11:53:58 +00:00
notifications Merge "Make notification objects use flavor capacity attributes" 2016-08-06 05:58:09 +00:00
objects [placement] Allow inventory to violate allocations 2016-09-07 07:42:05 -07:00
pci Merge "Resolve PCI devices on the host during Guest boot-up." 2016-08-04 00:09:55 +00:00
policies Merge "Fix server operations' policies to admin only" 2016-08-11 06:07:52 +00:00
scheduler Merge "ironic_host_manager: fix population of instances info on start" 2016-09-08 12:09:46 +00:00
servicegroup
tests virt: handle unicode when logging LifecycleEvents 2016-09-08 11:14:52 -04:00
virt virt: handle unicode when logging LifecycleEvents 2016-09-08 11:14:52 -04:00
vnc
volume Merge ":Add missing %s in print message" 2016-07-27 15:08:38 +00:00
wsgi
__init__.py
availability_zones.py
baserpc.py
block_device.py
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_wrapper.py Transform wrap_exception notification to versioned format 2016-06-21 09:39:47 +02:00
exception.py [placement] Allow inventory to violate allocations 2016-09-07 07:42:05 -07: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 Quota changes for the nova-manage quota_usage_refresh command 2016-07-06 22:21:39 +00:00
rpc.py Move cell message queue switching and add caching 2016-08-31 22:33:17 +00: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