From: ankitagrawal Date: Thu, 26 Mar 2015 07:32:54 +0000 (-0700) Subject: Fix typo in log messages and comments X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=ae081380d98be42524b052e0e0dccb4e2ac67ca7;p=openstack-build%2Fcinder-build.git Fix typo in log messages and comments Fixed following typos in log messages and comment strings accesible -> accessible Extacts -> Extracts intitiators -> initiators swith -> switch unavailble -> unavailable Change-Id: I972984f61ee2d97db64aece0e5116ed5ca1da4cf --- diff --git a/cinder/volume/drivers/dell/dell_storagecenter_api.py b/cinder/volume/drivers/dell/dell_storagecenter_api.py index 9cdb273be..7036af9da 100644 --- a/cinder/volume/drivers/dell/dell_storagecenter_api.py +++ b/cinder/volume/drivers/dell/dell_storagecenter_api.py @@ -697,7 +697,7 @@ class StorageCenterApi(object): LOG.debug('HbaList error: %(c)d %(r)s', {'c': r.status_code, 'r': r.reason}) - LOG.error(_LE('Unable to find FC intitiators')) + LOG.error(_LE('Unable to find FC initiators')) return initiators def get_volume_count(self, scserver): diff --git a/cinder/volume/drivers/emc/emc_vnx_cli.py b/cinder/volume/drivers/emc/emc_vnx_cli.py index e450d5c0c..c490e9c96 100644 --- a/cinder/volume/drivers/emc/emc_vnx_cli.py +++ b/cinder/volume/drivers/emc/emc_vnx_cli.py @@ -1501,7 +1501,7 @@ class CommandLineHelper(object): retry_disable = kwargv.pop('retry_disable', False) out, rc = self._command_execute_on_active_ip(*command, **kwargv) if not retry_disable and self._is_sp_unavailable_error(out): - # When active sp is unavailble, swith to another sp + # When active sp is unavailable, switch to another sp # and set it to active and force a poll if self._toggle_sp(): LOG.debug('EMC: Command Exception: %(rc) %(result)s. ' @@ -2200,7 +2200,7 @@ class EMCVnxCliBase(object): return self.dumps_provider_location(pl_dict) def _extract_provider_location_for_lun(self, provider_location, key='id'): - """Extacts value of the specified field from provider_location string. + """Extracts value of the specified field from provider_location string. :param provider_location: provider_location string :param key: field name of the value that to be extracted diff --git a/cinder/volume/drivers/solidfire.py b/cinder/volume/drivers/solidfire.py index e50643302..87f7fea37 100644 --- a/cinder/volume/drivers/solidfire.py +++ b/cinder/volume/drivers/solidfire.py @@ -633,7 +633,7 @@ class SolidFireDriver(san.SanISCSIDriver): if ((not image_meta.get('is_public', False)) and (image_meta['owner'] != volume['project_id'])): LOG.warning(_LW("Requested image is not " - "accesible by current Tenant.")) + "accessible by current Tenant.")) return None, False # Is virtual_size property set on the image?