lp:~doanac/lava-celery/scheduler-monitor-support
Created by
Andy Doan
and last modified
- Get this branch:
- bzr branch lp:~doanac/lava-celery/scheduler-monitor-support
Branch merges
Propose for merging
No branches
dependent on this one.
- Michael Hudson-Doyle (community): Approve
-
Diff: 281 lines (+150/-50)3 files modifiedlava/celery/commands.py (+70/-3)
lava/celery/tasks.py (+79/-47)
setup.py (+1/-0)
Branch information
Recent revisions
- 26. By Andy Doan
-
make _exec_command a little safer
This adds some exception handling per mwhudson's review comments to help
ensure we always properly exit the child process. - 24. By Andy Doan
-
add a celery-
schedulermonito r command This allows us to run the scheduler on a remote system where we can
then execute a job for given device. - 22. By Andy Doan
-
change run-remote to fork/exec rather than run in process
Running remote commands in process has two down-sides:
1) celeryd already hijacks stdout/stderr and does some some weird things
with them. Our code sometimes messes with stdout/stderr as well and
causes conflicts2) some of our commands have things like atexit clean-up functions
Its just easier if we really fork this stuff off and avoid the complications
we currently have.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:lava-celery