fields = {'updated_at': now}
# Update name and description in db now. No need to
- # to send them over thru an RPC call.
+ # to send them over through an RPC call.
if name:
fields['name'] = name
if description:
if key not in self.obj_fields:
# NOTE(jdg): There are a number of places where we rely on the
# old dictionary version and do a get(xxx, None).
- # The following preserves that compatability but in
+ # The following preserves that compatibility but in
# the future we'll remove this shim altogether so don't
# rely on it.
LOG.debug('Cinder object %(object_name)s has no '
raise putils.ProcessExecutionError(
exit_code=1,
stdout='',
- stderr='this isnt the error your looking for',
+ stderr='this is not the error you are looking for',
cmd='tgt-admin --force --delete')
mock_exec.side_effect = _fake_execute
raise putils.ProcessExecutionError(
exit_code=1,
stdout='',
- stderr='this isnt the error your looking for',
+ stderr='this is not the error you are looking for',
cmd='tgt-admin --force --delete')
mock_exec.side_effect = _fake_execute
lvname = cmd[4].split('/')[1]
snapname = cmd[2]
if lvname not in self._volumes[vgname]['vgs'][vgname]['lvs']:
- raise AssertionError('snap creation attempted on non-existant '
+ raise AssertionError('snap creation attempted on non-existent '
'thin-lv: %s' % cmd_string)
if snapname[1:] in self._volumes[vgname]['vgs'][vgname]['snaps']:
raise AssertionError('snap creation attempted on existing '
if six.text_type(poolName) == six.text_type(poolnameStr):
try:
- # Check that pool hasnt suddently been deleted.
+ # Check that pool hasn't suddenly been deleted.
srpPoolInstance = conn.GetInstance(srpPoolInstanceName)
propertiesList = srpPoolInstance.properties.items()
for properties in propertiesList:
poolInstanceId)
if poolnameStr is not None and systemNameStr is not None:
if six.text_type(poolNameInStr) == six.text_type(poolnameStr):
- # check that the pool hasnt recently been deleted.
+ # check that the pool hasn't recently been deleted.
try:
conn.GetInstance(vpoolInstanceName)
foundPoolInstanceName = vpoolInstanceName
"""Ensures that vdisk is not part of FC mapping and deletes it."""
LOG.debug('enter: delete_vdisk: vdisk %s' % vdisk)
if not self.is_vdisk_defined(vdisk):
- LOG.info(_LI('Tried to delete non-existant vdisk %s.') % vdisk)
+ LOG.info(_LI('Tried to delete non-existent vdisk %s.') % vdisk)
return
self.ensure_vdisk_no_fc_mappings(vdisk)
self.ssh.rmvdisk(vdisk, force=force)
argument-rgx=[a-z_][a-z0-9_]{1,30}$
# Method names should be at least 3 characters long
-# and be lowecased with underscores
+# and be lowercased with underscores
method-rgx=([a-z_][a-z0-9_]{2,50}|setUp|tearDown)$
# Module names matching cinder-* are ok (files in bin/)