Fix missing variable in test accounts warning log
In the remove_hash test accounts method we log a warning message to
indicate that a hash has already been cleaned and the pseudo-lock file
isn't there. The intent of that log message was to indicate the lock
file path in the warning. However the string never passed the hash_path
variable so instead %s was being printed. This commit fixes the issue
so the proper path will be in the warning log.
Change-Id: I87b66e3222452200996020c349cf05cb842114bf
diff --git a/tempest/common/accounts.py b/tempest/common/accounts.py
index dd8d498..9ecf596 100644
--- a/tempest/common/accounts.py
+++ b/tempest/common/accounts.py
@@ -100,7 +100,7 @@
hash_path = os.path.join(self.accounts_dir, hash_string)
if not os.path.isfile(hash_path):
LOG.warning('Expected an account lock file %s to remove, but '
- 'one did not exist')
+ 'one did not exist' % hash_path)
else:
os.remove(hash_path)
if not os.listdir(self.accounts_dir):