summaryrefslogtreecommitdiffstats
path: root/func/jobthing.py
Commit message (Collapse)AuthorAgeFilesLines
* jbothing.py had a couple of cases of using the wrong "utils" module.Adrian Likins2008-11-131-7/+8
| | | | | | Fix and update. Also reorder the imports little bit. Just style changes.
* Fix async job IDs problem, finally.Krzysztof A. Adamski2008-08-061-3/+4
|
* fix for jobthing to tolerate the weird and long names for globs in database ↵makkalot2008-08-031-7/+21
| | | | related with async job_ids
* a small fix in the async code that was causing wrong resultsmakkalot2008-08-011-4/+5
| | | | (cherry picked from commit d95cb1171598b0450a9a3e32b83ddd057ebf832b)
* some code to tolerate the old job_ids to not crash the appmakkalot2008-07-281-3/+7
|
* the os._exit(0) magic :)makkalot2008-07-231-1/+1
|
* change the minion db plurge thing for new idsmakkalot2008-07-231-1/+6
|
* should update also the database if have some partial result or finished the ↵makkalot2008-07-171-2/+5
| | | | job, because everytime we do fc.job_status we will call the minion instead of looking at local db
* adding a new method that gets back the open_ids in func databasemakkalot2008-07-171-4/+23
|
* Print userfriendly error messages instead of tracebacks in case of ↵Krzysztof A. Adamski2008-07-081-2/+10
| | | | permissions errors.
* 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.