]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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