diff options
| -rw-r--r-- | etc/nova/nova.conf.sample | 2 | ||||
| -rw-r--r-- | nova/volume/iscsi.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/etc/nova/nova.conf.sample b/etc/nova/nova.conf.sample index 15fcd9c28..cf13eb85f 100644 --- a/etc/nova/nova.conf.sample +++ b/etc/nova/nova.conf.sample @@ -1803,7 +1803,7 @@ #### (StrOpt) iscsi target user-land tool to use # volumes_dir=$state_path/volumes -#### (StrOpt) Volume configfuration file storage directory +#### (StrOpt) Volume configuration file storage directory ######## defined in nova.volume.manager ######## diff --git a/nova/volume/iscsi.py b/nova/volume/iscsi.py index 4d18526de..48e088e05 100644 --- a/nova/volume/iscsi.py +++ b/nova/volume/iscsi.py @@ -35,7 +35,7 @@ iscsi_helper_opt = [ help='iscsi target user-land tool to use'), cfg.StrOpt('volumes_dir', default='$state_path/volumes', - help='Volume configfuration file storage directory'), + help='Volume configuration file storage directory'), ] FLAGS = flags.FLAGS @@ -107,7 +107,7 @@ class TgtAdm(TargetAdmin): def create_iscsi_target(self, name, tid, lun, path, **kwargs): # Note(jdg) tid and lun aren't used by TgtAdm but remain for - # compatability + # compatibility utils.ensure_tree(FLAGS.volumes_dir) @@ -136,7 +136,7 @@ class TgtAdm(TargetAdmin): LOG.error(_("Failed to create iscsi target for volume " "id:%(vol_id)s.") % locals()) - #Dont forget to remove the persistent file we created + #Don't forget to remove the persistent file we created os.unlink(volume_path) raise exception.ISCSITargetCreateFailed(volume_id=vol_id) |
