summaryrefslogtreecommitdiffstats
path: root/func/jobthing.py
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate concurency between parent and child in batch_run().Krzysztof A. Adamski2008-06-221-2/+1
|
* Change job_id from double to string. Use pprint to get better precision.Krzysztof A. Adamski2008-06-221-2/+3
|
* Handle remote errors with async calls.Krzysztof A. Adamski2008-06-071-1/+6
|
* Eliminate concurency between parent and child which could override job status.Krzysztof A. Adamski2008-06-071-3/+1
|
* Daemonize async jobs on minion.Krzysztof A. Adamski2008-06-071-1/+10
|
* Change bsddb which is leaking on new python versions.Krzysztof A. Adamski2008-06-071-4/+4
|
* Cleanup: Change parameter names to match comments and similar funtion in ↵Krzysztof A. Adamski2008-06-061-2/+2
| | | | forkbomb.
* Jobthing status codes cleanup.Krzysztof A. Adamski2008-06-061-7/+6
|
* Remove a bunch of unused imports.Luke Macken2008-02-211-2/+0
|
* All exceptions, async or otherwise, now come back as easily detectable ↵Michael DeHaan2008-01-291-23/+12
| | | | | | | signatures. Use utils.is_error(result) to determine if something is an error or isn't. Example scripts as well as func-inventory have been updated. See async_test.py for examples.
* Fixed async_test.py for all success/failure cases. Still need to tweak the ↵Michael DeHaan2008-01-241-10/+27
| | | | | | | code so that failure information for remote commands can be obtained (i.e. detals of the exceptions) without reading the remote logs. Async is weird because the information can't come back in faults (well, it can, but we don't want it to).
* Still working on async (pardon the debug output still), there's a long ways ↵Michael DeHaan2008-01-241-11/+13
| | | | | | | to go with the partial status reporting but it is getting better at actually doing the task, just a few kinks to work out in getting results reported correctly.
* Working on async error handling, lots more to do...Michael DeHaan2008-01-231-1/+5
| | | | (If it hits no exceptions, returns are right, it's the partial error case to deal with next...)
* Double-barrel asynchronous calls. Async can now occur on both sides ↵Michael DeHaan2008-01-231-9/+80
| | | | | | | | simultaneously and still appears as if there is only one "global" job id to the API caller, the minion job id's are managed in the background, complete with partial result response as things come in which should be very nice for ajaxy implication. job_status API does still need to be modified to list active jobs as well as to store the job name.
* Moving the async and multiprocess stuff to top level so we can use themMichael DeHaan2008-01-231-0/+121
on the minion for minion side async funness.