]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix missing translations for log messages
authorankitagrawal <ankit11.agrawal@nttdata.com>
Mon, 16 Mar 2015 13:26:11 +0000 (06:26 -0700)
committerankitagrawal <ankit11.agrawal@nttdata.com>
Mon, 11 May 2015 21:35:38 +0000 (03:05 +0530)
commita09c4e1747ba4027c90debdbbe698406c3096188
tree03a3c9d7ec7177f6895f29098db7dd394aa25fb7
parent86b384ca2e759c44b94ae16624b17eb574db1e91
Fix missing translations for log messages

Fixed log translations in volume.drivers and volume.manager modules
for error, info and warning messages with appropriate marker function
according to the logging standards [1].

As LOG.warn has deprecated [2] so I have changed LOG.warn to
LOG.warning.

[1] http://docs.openstack.org/developer/oslo.i18n/guidelines.html
[2] http://bugs.python.org/issue13235

Note: Any new occurrences added in master during the review can be
handled separately if they are not caught by hacking checks.

Partial-Bug: 1431256
Change-Id: I9b7b89097b296ea62b43f1d948dcf59e2e5a40c4
91 files changed:
cinder/hacking/checks.py
cinder/tests/unit/test_glusterfs.py
cinder/tests/unit/test_netapp_nfs.py
cinder/tests/unit/test_nfs.py
cinder/tests/unit/test_quobyte.py
cinder/tests/unit/volume/drivers/netapp/dataontap/test_block_base.py
cinder/volume/driver.py
cinder/volume/drivers/block_device.py
cinder/volume/drivers/datera.py
cinder/volume/drivers/emc/emc_cli_fc.py
cinder/volume/drivers/emc/emc_cli_iscsi.py
cinder/volume/drivers/emc/emc_vmax_common.py
cinder/volume/drivers/emc/emc_vmax_fast.py
cinder/volume/drivers/emc/emc_vmax_fc.py
cinder/volume/drivers/emc/emc_vmax_iscsi.py
cinder/volume/drivers/emc/emc_vmax_masking.py
cinder/volume/drivers/emc/emc_vmax_provision.py
cinder/volume/drivers/emc/emc_vmax_utils.py
cinder/volume/drivers/emc/emc_vnx_cli.py
cinder/volume/drivers/eqlx.py
cinder/volume/drivers/glusterfs.py
cinder/volume/drivers/hds/hds.py
cinder/volume/drivers/hds/hus_backend.py
cinder/volume/drivers/hds/iscsi.py
cinder/volume/drivers/hds/nfs.py
cinder/volume/drivers/hitachi/hbsd_basiclib.py
cinder/volume/drivers/hitachi/hbsd_common.py
cinder/volume/drivers/hitachi/hbsd_fc.py
cinder/volume/drivers/hitachi/hbsd_horcm.py
cinder/volume/drivers/hitachi/hbsd_iscsi.py
cinder/volume/drivers/hitachi/hbsd_snm2.py
cinder/volume/drivers/huawei/__init__.py
cinder/volume/drivers/huawei/huawei_utils.py
cinder/volume/drivers/huawei/rest_common.py
cinder/volume/drivers/ibm/flashsystem.py
cinder/volume/drivers/ibm/gpfs.py
cinder/volume/drivers/ibm/ibmnas.py
cinder/volume/drivers/ibm/storwize_svc/__init__.py
cinder/volume/drivers/ibm/storwize_svc/helpers.py
cinder/volume/drivers/ibm/storwize_svc/replication.py
cinder/volume/drivers/ibm/storwize_svc/ssh.py
cinder/volume/drivers/lvm.py
cinder/volume/drivers/netapp/common.py
cinder/volume/drivers/netapp/dataontap/block_7mode.py
cinder/volume/drivers/netapp/dataontap/block_base.py
cinder/volume/drivers/netapp/dataontap/block_cmode.py
cinder/volume/drivers/netapp/dataontap/client/api.py
cinder/volume/drivers/netapp/dataontap/client/client_7mode.py
cinder/volume/drivers/netapp/dataontap/client/client_base.py
cinder/volume/drivers/netapp/dataontap/client/client_cmode.py
cinder/volume/drivers/netapp/dataontap/nfs_7mode.py
cinder/volume/drivers/netapp/dataontap/nfs_base.py
cinder/volume/drivers/netapp/dataontap/nfs_cmode.py
cinder/volume/drivers/netapp/dataontap/ssc_cmode.py
cinder/volume/drivers/netapp/eseries/client.py
cinder/volume/drivers/netapp/eseries/host_mapper.py
cinder/volume/drivers/netapp/eseries/iscsi.py
cinder/volume/drivers/netapp/utils.py
cinder/volume/drivers/nfs.py
cinder/volume/drivers/nimble.py
cinder/volume/drivers/openvstorage.py
cinder/volume/drivers/prophetstor/dpl_fc.py
cinder/volume/drivers/pure.py
cinder/volume/drivers/quobyte.py
cinder/volume/drivers/rbd.py
cinder/volume/drivers/remotefs.py
cinder/volume/drivers/san/hp/hp_3par_common.py
cinder/volume/drivers/san/hp/hp_3par_fc.py
cinder/volume/drivers/san/hp/hp_3par_iscsi.py
cinder/volume/drivers/san/hp/hp_lefthand_cliq_proxy.py
cinder/volume/drivers/san/hp/hp_lefthand_iscsi.py
cinder/volume/drivers/san/hp/hp_lefthand_rest_proxy.py
cinder/volume/drivers/san/san.py
cinder/volume/drivers/scality.py
cinder/volume/drivers/smbfs.py
cinder/volume/drivers/solidfire.py
cinder/volume/drivers/srb.py
cinder/volume/drivers/violin/v6000_common.py
cinder/volume/drivers/violin/v6000_fcp.py
cinder/volume/drivers/violin/v6000_iscsi.py
cinder/volume/drivers/vmware/datastore.py
cinder/volume/drivers/vmware/vmdk.py
cinder/volume/drivers/windows/remotefs.py
cinder/volume/drivers/windows/smbfs.py
cinder/volume/drivers/windows/windows_utils.py
cinder/volume/drivers/xio.py
cinder/volume/drivers/zfssa/restclient.py
cinder/volume/drivers/zfssa/webdavclient.py
cinder/volume/drivers/zfssa/zfssanfs.py
cinder/volume/drivers/zfssa/zfssarest.py
cinder/volume/manager.py