diff options
author | Ngo Quoc Cuong <cuongnq@vn.fujitsu.com> | 2017-05-22 16:00:08 +0700 |
---|---|---|
committer | Ngo Quoc Cuong <cuongnq@vn.fujitsu.com> | 2017-07-18 09:03:39 +0000 |
commit | efae7d796a1750ce1aa34e42c1f5dd10cf22eace (patch) | |
tree | 485726a2f037b755bb437b04097be45a8586a49c /nova/conductor/api.py | |
parent | 247f9b8120fb901ec420a59a500db0db9dad445a (diff) | |
download | nova-efae7d796a1750ce1aa34e42c1f5dd10cf22eace.tar.gz |
Remove translation of log messages
The i18n team has decided not to translate the logs because it
seems like it not very useful; operators prefer to have them in
English so that they can search for those strings on the internet.
Partially fix on nova/conductor, nova/console, nova/consoleauth,
nova/db and nova/image other paths will be fixed on next commits
Change-Id: I132f60cb4743f85c96ec5231d6f860cfb0815758
Diffstat (limited to 'nova/conductor/api.py')
-rw-r--r-- | nova/conductor/api.py | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/nova/conductor/api.py b/nova/conductor/api.py index 6a55cfb7dd..3f8aeafd47 100644 --- a/nova/conductor/api.py +++ b/nova/conductor/api.py @@ -20,7 +20,6 @@ import oslo_messaging as messaging from nova import baserpc from nova.conductor import rpcapi import nova.conf -from nova.i18n import _LI, _LW CONF = nova.conf.CONF @@ -67,16 +66,16 @@ class API(object): self.base_rpcapi.ping(context, '1.21 GigaWatts', timeout=timeout) if has_timedout: - LOG.info(_LI('nova-conductor connection ' - 'established successfully')) + LOG.info('nova-conductor connection ' + 'established successfully') break except messaging.MessagingTimeout: has_timedout = True - LOG.warning(_LW('Timed out waiting for nova-conductor. ' - 'Is it running? Or did this service start ' - 'before nova-conductor? ' - 'Reattempting establishment of ' - 'nova-conductor connection...')) + LOG.warning('Timed out waiting for nova-conductor. ' + 'Is it running? Or did this service start ' + 'before nova-conductor? ' + 'Reattempting establishment of ' + 'nova-conductor connection...') class ComputeTaskAPI(object): |