summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhufl <zhu.fanglei@zte.com.cn>2016-07-25 14:24:15 +0800
committerIan Y. Choi <ianyrchoi@gmail.com>2016-10-26 10:24:57 +0900
commit449556397855c3f86c79334cb84adad799f98146 (patch)
tree4b32956d12341f21fed210551ae431523b5ba817
parent9825c80904c3e0d573475e9073406e88951aef7d (diff)
downloadnova-449556397855c3f86c79334cb84adad799f98146.tar.gz
:Add missing %s in print message
This is to add some missing %s in print message Change-Id: Ifd4e59265bd976b817191a41e7854613f71539dd (cherry picked from commit 987decc56ca5cdb6400832b3ec46d293408ec97d)
-rw-r--r--nova/volume/encryptors/cryptsetup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/volume/encryptors/cryptsetup.py b/nova/volume/encryptors/cryptsetup.py
index 603bc26063..bff35a1f13 100644
--- a/nova/volume/encryptors/cryptsetup.py
+++ b/nova/volume/encryptors/cryptsetup.py
@@ -82,7 +82,7 @@ class CryptsetupEncryptor(base.VolumeEncryptor):
# normal disk or multipath device), exit_code will be 1. In the
# case, we will omit the warning message.
if e.exit_code != 1:
- LOG.warning(_LW('cryptsetup status %(dev_name) exited '
+ LOG.warning(_LW('cryptsetup status %(dev_name)s exited '
'abnormally (status %(exit_code)s): %(err)s'),
{"dev_name": dev_name, "exit_code": e.exit_code,
"err": e.stderr})