]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Tommi Virtanen [Fri, 15 Jul 2011 19:45:18 +0000 (12:45 -0700)]
Unit test that connection.connect actually calls create_key.
Josh Durgin [Fri, 15 Jul 2011 19:08:59 +0000 (12:08 -0700)]
Optionally override system host keys.
Tommi Virtanen [Wed, 8 Jun 2011 20:20:44 +0000 (13:20 -0700)]
Gevent 0.14 switches to libev, avoid it for now.
This was in requirements.txt earlier, but using this library
from elsewhere does not respect that, only setup.py.
Tommi Virtanen [Mon, 6 Jun 2011 23:47:55 +0000 (16:47 -0700)]
Support PIPE for stdout and stderr, too.
Tommi Virtanen [Mon, 6 Jun 2011 22:12:13 +0000 (15:12 -0700)]
Add orchestra.cluster, for running commands on multiple hosts.
Tommi Virtanen [Fri, 3 Jun 2011 21:44:29 +0000 (14:44 -0700)]
Record Remote in RemoteProcess.remote, for caller convenience.
Tommi Virtanen [Tue, 31 May 2011 21:59:10 +0000 (14:59 -0700)]
Wrap Remote._runner in staticmethod() or it gets mistaken for a method.
It used to get an extra self argument, and mistook that as client.
Tommi Virtanen [Tue, 31 May 2011 21:33:00 +0000 (14:33 -0700)]
Add a pretty wrapper on top of Paramiko and run.run.
Most importantly right now, it knows its name, and can
prettyprint it.
Tommi Virtanen [Tue, 31 May 2011 21:31:53 +0000 (14:31 -0700)]
Remove dead code.
Tommi Virtanen [Tue, 24 May 2011 20:38:05 +0000 (13:38 -0700)]
Let callers specify that some arguments should not be quoted.
This lets you do things such as "test -e /foo && bar" or
"cd /tmp && blah". Remember that shell pipelines do not detect
errors in anything but the last command.
Tommi Virtanen [Tue, 24 May 2011 20:29:32 +0000 (13:29 -0700)]
Simple unit tests for shell quoting.
Tommi Virtanen [Tue, 24 May 2011 20:27:39 +0000 (13:27 -0700)]
Refactor to extract shell quoting into utility function.
Tommi Virtanen [Tue, 24 May 2011 20:16:47 +0000 (13:16 -0700)]
Depend on Paramiko 1.7.7 or newer to be able to read modern OpenSSH keys.
Tommi Virtanen [Tue, 24 May 2011 20:12:21 +0000 (13:12 -0700)]
Pyflakes cleanup.
Tommi Virtanen [Tue, 24 May 2011 20:07:24 +0000 (13:07 -0700)]
Add a utility function run.wait to wait for processes to exit.
Tommi Virtanen [Tue, 24 May 2011 20:06:00 +0000 (13:06 -0700)]
Paramiko ChannelFile.close() didn't actually close the remote stdin.
Add a wrapper that does the calls shutdown on the channel itself,
to actually cause EOF. Add integration test using remote cat.
Move shuffling stdout bytes to background, so run.run returns before
seeing EOF on stdout, and thus actually making the stdin useful.
Similarly, don't wait for EOF on stderr before returning from run.run.
Tommi Virtanen [Tue, 24 May 2011 20:01:46 +0000 (13:01 -0700)]
Log debug info of commands actually executed.
Tommi Virtanen [Tue, 24 May 2011 20:01:03 +0000 (13:01 -0700)]
Cleanup dead code.
Tommi Virtanen [Tue, 24 May 2011 20:00:44 +0000 (13:00 -0700)]
Allow easy writing to stdin of remote processes.
Tommi Virtanen [Thu, 19 May 2011 22:10:04 +0000 (15:10 -0700)]
Add run.run option wait, this will make handling stdin easier soon.
Tommi Virtanen [Thu, 19 May 2011 20:47:09 +0000 (13:47 -0700)]
Return a structured result from run.run, to make capturing stdout/stderr easier.
Tommi Virtanen [Thu, 19 May 2011 20:27:32 +0000 (13:27 -0700)]
Add integration tests for signals and connection loss.
Tommi Virtanen [Thu, 19 May 2011 20:05:14 +0000 (13:05 -0700)]
Check for errors on remote commands.
Tommi Virtanen [Thu, 19 May 2011 19:17:28 +0000 (12:17 -0700)]
Add setup.py, install in devel mode into virtualenv.
Tommi Virtanen [Thu, 19 May 2011 19:16:43 +0000 (12:16 -0700)]
Don't close file after copying stdout/stderr to it.
If a caller uses StringIO to capture the output, they
cannot call .getvalue() after the close.
This also lets you collect multiple command outputs
into the same file.
Tommi Virtanen [Thu, 19 May 2011 17:20:32 +0000 (10:20 -0700)]
Refactor remote running to support more use cases.
Tommi Virtanen [Thu, 19 May 2011 17:19:16 +0000 (10:19 -0700)]
Add debug logging to monkeypatching.
Tommi Virtanen [Thu, 19 May 2011 17:18:57 +0000 (10:18 -0700)]
Silence paramiko transport logging.
Tommi Virtanen [Thu, 19 May 2011 17:17:51 +0000 (10:17 -0700)]
Silence a Paramiko crypto deprecation.
Tommi Virtanen [Thu, 19 May 2011 17:17:03 +0000 (10:17 -0700)]
Make monkeypatching respect order.
Tommi Virtanen [Wed, 18 May 2011 21:46:49 +0000 (14:46 -0700)]
Initial import