diff options
author | Matthew Treinish <mtreinish@kortar.org> | 2014-08-29 10:40:40 -0400 |
---|---|---|
committer | Matthew Treinish <mtreinish@kortar.org> | 2014-08-29 10:40:40 -0400 |
commit | bd74e7b704d5a279ea914300f053e0c789b5aa5d (patch) | |
tree | 5c75ff9e6a080bca7b84e8579e045d90d3542077 | |
parent | 2d865614e913c7e7f2422d3a45e0f1a68b1a6806 (diff) | |
download | tempest-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.py | 3 |
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.""" |