summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuck Short <chuck.short@canonical.com>2012-09-06 09:50:37 -0500
committerMark McLoughlin <markmc@redhat.com>2012-09-07 14:40:52 +0100
commit39b757fec2cd3f90831846e95a887ccc341f3535 (patch)
tree2c1dc6a772655baee1355d2d9974b11023b5b36f
parent37cc45b8fdaa199b248a7ef5f683d514733b8387 (diff)
downloadnova-39b757fec2cd3f90831846e95a887ccc341f3535.tar.gz
nova-39b757fec2cd3f90831846e95a887ccc341f3535.tar.xz
nova-39b757fec2cd3f90831846e95a887ccc341f3535.zip
Fix typo in tgtadm LOG.error() call
Fixes bug #1046875 Fix typo in LOG.error, it should be vol_id rather than volume_id. (cherry picked from cinder commit d6a5d0f) Change-Id: Id162c6f185a110b63e8f9f509f5cde75f3626cbf Signed-off-by: Chuck Short <chuck.short@canonical.com>
-rw-r--r--nova/volume/iscsi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/volume/iscsi.py b/nova/volume/iscsi.py
index ccc768827..52f8c4009 100644
--- a/nova/volume/iscsi.py
+++ b/nova/volume/iscsi.py
@@ -132,7 +132,7 @@ class TgtAdm(TargetAdmin):
run_as_root=True)
except exception.ProcessExecutionError, e:
LOG.error(_("Failed to create iscsi target for volume "
- "id:%(volume_id)s.") % locals())
+ "id:%(vol_id)s.") % locals())
#Dont forget to remove the persistent file we created
os.unlink(volume_path)