diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-10-25 08:45:40 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-10-25 08:45:40 +0000 |
| commit | a6b89fc522e59f08e4114e5547f484f8b2540eb4 (patch) | |
| tree | 1cc3a2c35e38fa1bdc923f7dc1fa67810c324784 /nova/utils.py | |
| parent | c6a18f93316a567ad859877ff32a6ac3cb735310 (diff) | |
| parent | cb9b36c94ba1652cf60e45ae1d96ba7bd41e5710 (diff) | |
Merge "SanISCSIDriver SSH execution fixes."
Diffstat (limited to 'nova/utils.py')
| -rw-r--r-- | nova/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/utils.py b/nova/utils.py index c69b97ed8..d3bbaeef8 100644 --- a/nova/utils.py +++ b/nova/utils.py @@ -249,7 +249,7 @@ def trycmd(*args, **kwargs): def ssh_execute(ssh, cmd, process_input=None, addl_env=None, check_exit_code=True): - LOG.debug(_('Running cmd (SSH): %s'), ' '.join(cmd)) + LOG.debug(_('Running cmd (SSH): %s'), cmd) if addl_env: raise exception.NovaException(_('Environment not supported over SSH')) @@ -279,7 +279,7 @@ def ssh_execute(ssh, cmd, process_input=None, raise exception.ProcessExecutionError(exit_code=exit_status, stdout=stdout, stderr=stderr, - cmd=' '.join(cmd)) + cmd=cmd) return (stdout, stderr) |
