qemu: message should show instance name, not scratch LV name
git-svn-id: https://svn.apache.org/repos/asf/incubator/tashi/trunk@1349051 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/tashi/nodemanager/vmcontrol/qemu.py b/src/tashi/nodemanager/vmcontrol/qemu.py
index 865a5ba..52dc858 100644
--- a/src/tashi/nodemanager/vmcontrol/qemu.py
+++ b/src/tashi/nodemanager/vmcontrol/qemu.py
@@ -221,7 +221,7 @@
try:
if self.scratchVg is not None:
scratchName = "lv%s" % name
- log.info("Removing any scratch for %s" % (scratchName))
+ log.info("Removing any scratch for %s" % (name))
cmd = "/sbin/lvremove --quiet -f %s/%s" % (self.scratchVg, scratchName)
result = subprocess.Popen(cmd.split(), executable=cmd.split()[0], stdout=subprocess.PIPE, stderr=open(os.devnull, "w"), close_fds=True).wait()
except: