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
Only Andy Doan can upload to this branch. If you are Andy Doan please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Andy Doan
Project:
LAVA Celery (deprecated)
Status:
Merged

Recent revisions

27. By Andy Doan

fix celery-schedulermonitor command entry

mwhudson caught this in the code review

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.

25. By Andy Doan

retval is now handled in the _exec_command function

24. By Andy Doan

add a celery-schedulermonitor command

This allows us to run the scheduler on a remote system where we can
then execute a job for given device.

23. By Andy Doan

fix error from previous commit

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 conflicts

2) 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.

21. By Andy Doan

improvements to run_command task

1) it now allows files that are need in the remote to be specified
in a dictionary of "file->contents" pairs

2) add some logging to know when the command is received and completes

3) add a catch-all exception handler

20. By Andy Doan

post release bump

19. By Andy Doan

release 0.3

2012.06

18. By Andy Doan

remove django-celery and add "lava celeryd" support

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:lava-celery
This branch contains Public information 
Everyone can see this information.

Subscribers