summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Treinish <mtreinish@kortar.org>2014-08-29 10:40:40 -0400
committerMatthew Treinish <mtreinish@kortar.org>2014-08-29 10:40:40 -0400
commitbd74e7b704d5a279ea914300f053e0c789b5aa5d (patch)
tree5c75ff9e6a080bca7b84e8579e045d90d3542077
parent2d865614e913c7e7f2422d3a45e0f1a68b1a6806 (diff)
downloadtempest-lib-bd74e7b704d5a279ea914300f053e0c789b5aa5d.tar.gz
Add the cli_dir argument to nova-mange's execute call
This commit adds a missing cli_dir argument to the nova-manage execute call. Without this if nova-manage were installed somewhere besides /usr/bin using the nova_manage method would fail because it couldn't find the binary.
-rw-r--r--tempest_lib/cli/base.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tempest_lib/cli/base.py b/tempest_lib/cli/base.py
index 737f818..88522a5 100644
--- a/tempest_lib/cli/base.py
+++ b/tempest_lib/cli/base.py
@@ -68,7 +68,8 @@ class CLIClientBase(object):
merge_stderr=False):
"""Executes nova-manage command for the given action."""
return execute(
- 'nova-manage', action, flags, params, fail_ok, merge_stderr)
+ 'nova-manage', action, flags, params, fail_ok, merge_stderr,
+ self.cli_dir)
def keystone(self, action, flags='', params='', fail_ok=False):
"""Executes keystone command for the given action."""