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.
This commit is contained in:
@@ -68,7 +68,8 @@ class CLIClientBase(object):
|
|||||||
merge_stderr=False):
|
merge_stderr=False):
|
||||||
"""Executes nova-manage command for the given action."""
|
"""Executes nova-manage command for the given action."""
|
||||||
return execute(
|
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):
|
def keystone(self, action, flags='', params='', fail_ok=False):
|
||||||
"""Executes keystone command for the given action."""
|
"""Executes keystone command for the given action."""
|
||||||
|
Reference in New Issue
Block a user