From 39b757fec2cd3f90831846e95a887ccc341f3535 Mon Sep 17 00:00:00 2001 From: Chuck Short Date: Thu, 6 Sep 2012 09:50:37 -0500 Subject: 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 --- nova/volume/iscsi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit