]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
background_exec: run something in the background
authorSage Weil <sage@inktank.com>
Mon, 30 Jun 2014 20:22:36 +0000 (13:22 -0700)
committerSage Weil <sage@inktank.com>
Mon, 30 Jun 2014 20:35:53 +0000 (13:35 -0700)
commit7e388c9f2028570ad6d85cf3eca4b2a6438f9cdb
tree1b7dc83acf309a882423a4505f2308c7de94f829
parent1cd807654306eee3b1b9c529d2aebcfc1c880651
background_exec: run something in the background

This is a contextmanager task that will run some command in the background
for the duration of any subsequent tasks, and kill it in the cleanup
phase.

Signed-off-by: Sage Weil <sage@inktank.com>
teuthology/task/background_exec.py [new file with mode: 0644]