From: Chuck Short Date: Thu, 6 Sep 2012 14:50:37 +0000 (-0500) Subject: Fix Typo in LOG.error X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=d6a5d0f9faa43a82104a0ed936382195b89d4107;p=openstack-build%2Fcinder-build.git Fix Typo in LOG.error Fix typo in LOG.error, it should be vol_id rather than volume_id. Fixes bug #1046875 Change-Id: Id162c6f185a110b63e8f9f509f5cde75f3626cbf Signed-off-by: Chuck Short --- diff --git a/cinder/volume/iscsi.py b/cinder/volume/iscsi.py index 691314393..57734f602 100644 --- a/cinder/volume/iscsi.py +++ b/cinder/volume/iscsi.py @@ -133,7 +133,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)