portGroupName = OS-<target>-PG The portGroupName will come from
the EMC configuration xml file.
These are precreated. If the portGroup does not exist
- then a error will be returned to the user
+ then an error will be returned to the user
maskingView = OS-<shortHostName>-<poolName>-<shortProtocol>-MV
e.g OS-myShortHost-SATA_BRONZ1-I-MV
:param diff: Unused parameter.
:param host: The host dict holding the relevant target(destination)
information
- :returns: boolean -- True if retype succeeded, Fasle if error
+ :returns: boolean -- True if retype succeeded, False if error
"""
volumeName = volume['name']
LOG.debug("sourceFastPolicyName is : %(sourceFastPolicyName)s.",
{'sourceFastPolicyName': sourceFastPolicyName})
- # If the source volume is is FAST enabled it must first be removed
+ # If the source volume is FAST enabled it must first be removed
# from the default storage group for that policy.
if sourceFastPolicyName is not None:
self.remove_from_default_SG(
self.conn, targetPoolName, storageSystemName)
if targetPoolInstanceName is None:
LOG.error(_LE(
- "Error finding targe pool instance name for pool: "
+ "Error finding target pool instance name for pool: "
"%(targetPoolName)s."),
{'targetPoolName': targetPoolName})
return falseRet
'targetArraySerialNumber': targetArraySerialNumber})
return falseRet
- # Get the pool from the source array and check that is is different
+ # Get the pool from the source array and check that is different
# to the pool in the target array.
assocPoolInstanceName = self.utils.get_assoc_pool_from_volume(
self.conn, volumeInstanceName)
if targetEndpoints:
endpoints = targetEndpoints['TargetEndpoints']
- LOG.debug("There are %(len)lu endpoints.",
+ LOG.debug("There are %(len)lu endpoints.",
{'len': len(endpoints)})
for targetendpoint in endpoints:
wwn = targetendpoint['Name']
"Unable to get configuration information necessary to create "
"a volume. Please check that there is a configuration file "
"for each config group, if multi-backend is enabled. "
- "The should be in the following format "
+ "The file should be in the following format "
"/etc/cinder/cinder_emc_config_<CONFIG_GROUP>.xml."))
raise exception.VolumeBackendAPIException(data=exceptionMessage)
def _remove_device_from_storage_group(
self, controllerConfigurationService, volumeInstanceName,
volumeName, extraSpecs):
- """Check is volume is part of a storage group prior to delete.
+ """Check if volume is part of a storage group prior to delete.
Log a warning if volume is part of storage group.
targetWorkload, storageSystemName, newType, extraSpecs):
"""Migrate from one slo/workload combination to another (V3).
- This requires moving the volume from it's current SG to a
+ This requires moving the volume from its current SG to a
new or existing SG that has the target attributes.
:param volume: the volume object
raise exception.VolumeBackendAPIException(
data=exceptionMessage)
- # Get the FAST policy from the file this value can be None if the
- # user doesnt want to associate with any FAST policy.
+ # Get the FAST policy from the file. This value can be None if the
+ # user doesn't want to associate with any FAST policy.
fastPolicyName = self.utils.parse_fast_policy_name_from_file(
configurationFile)
if fastPolicyName is not None: