deb-cinder/cinder/scheduler
Sean McGinnis d0f243e0ae Logging not using oslo.i18n guidelines (scheduler)
Multi-patch set for easier chunks. This one addresses
the scheduler cinder directory.

There have been quite a few instances found where the
i18n guidelines are not being followed. I believe this
has helped lead to some of the confusion around how to
correctly do this. Other developers see this code and
assume it is an example of the correct usage.

This patch attempts to clean up most of those violations
in the existing codebase to hopefully help avoid some of
that confusion in reviews.

Some issues address:
* Correct log translation markers for different log levels
* Passing format values as arguments to call, not preformatting
* Not forcing translation via six.text_type and others

Guidelines can be found here:
http://docs.openstack.org/developer/oslo.i18n/guidelines.html

Hacking checks will not be able to identify all violations of
the guidelines, but it could be useful for catching obvious
one such as LOG.info("No markers!").

Change-Id: I0473ac402bc7b4a644c9b700df0fa2b88d82d705
Partial-bug: 1433216
2015-04-22 15:24:20 -05:00
..
evaluator Logging not using oslo.i18n guidelines (scheduler) 2015-04-22 15:24:20 -05:00
filters Use oslo.log instead of oslo-incubator 2015-03-11 21:45:04 -05:00
flows Logging not using oslo.i18n guidelines (scheduler) 2015-04-22 15:24:20 -05:00
weights Use oslo.log instead of oslo-incubator 2015-03-11 21:45:04 -05:00
__init__.py Remove vim header 2013-12-30 18:53:02 -06:00
driver.py Add is_ready method to scheduler driver 2015-03-12 16:07:03 +01:00
filter_scheduler.py Logging not using oslo.i18n guidelines (scheduler) 2015-04-22 15:24:20 -05:00
host_manager.py Logging not using oslo.i18n guidelines (scheduler) 2015-04-22 15:24:20 -05:00
manager.py Logging not using oslo.i18n guidelines (scheduler) 2015-04-22 15:24:20 -05:00
rpcapi.py Move oslo.messaging to the oslo_messaging namespace 2015-03-03 09:21:25 -06:00
scheduler_options.py Logging not using oslo.i18n guidelines (scheduler) 2015-04-22 15:24:20 -05:00
simple.py Move oslo.config to oslo_config namespace 2015-01-17 10:33:37 -06:00