Commit Graph

25 Commits

Author SHA1 Message Date
Chris Church
e1d3da731e AC-1040 Model cleanup/refactor, add and use job_explanation field. 2014-03-30 22:57:45 -04:00
Chris Church
35e4bd477c AC-1040 Cleanup old code in tasks, combine methods from unified job subclasses into base classes. 2014-03-28 22:07:24 -04:00
Matthew Jones
03249e59f3 Fix up job run types so that we aren't auto-starting new jobs. Fix up
job dependency generator to call the right new methods for generating
inventory and project updates
2014-03-25 15:21:30 -04:00
Matthew Jones
bb630fddbc Fix up error handler callback to include the task that actually failed 2014-03-25 15:01:54 -04:00
Matthew Jones
7196262987 Update graph generator to look right 2014-03-25 15:01:54 -04:00
Matthew Jones
af231cc8b7 Resolve can_start from the client side and the signaler side 2014-03-24 09:47:36 -04:00
Matthew Jones
bec301c2a8 Shift task start signal into an asynchronous task so we don't deadlock trying to update the same record from the task runner while waiting for the signal to be received from the signaler 2014-03-22 11:18:25 -04:00
Matthew Jones
6f11502528 Emit log messages by default on the task runner 2014-03-20 11:46:58 -04:00
Matthew Jones
f1ac2ff899 Bug fixes for CentOS 2014-03-20 11:22:19 -04:00
Matthew Jones
1093b00e2a Fixing up unit tests 2014-03-18 14:58:45 -04:00
Matthew Jones
7fe474aec5 Prevent deadlocks on unit tests in a very specific scenario 2014-03-18 12:02:14 -04:00
Matthew Jones
fe625785c7 Ignore checking celery task list during some unit tests, triggered by UNIT_TEST_IGNORE_TASK_WAIT 2014-03-17 14:53:38 -04:00
Matthew Jones
f6ac7fb6d0 Fix up run task manager script to handle signals, fix up task cancel job, add restart handler for ubuntu 2014-03-17 11:05:53 -04:00
Matthew Jones
382e1e96c7 More unit test rework 2014-03-14 15:25:06 -04:00
Matthew Jones
c2950fdbdf Unit test updates for task system... remove old monkeypatch procedure
for getting job args in favor of using the job info from the database.
Can't do this anymore anyway since the job is running in another process
2014-03-13 13:25:45 -04:00
Matthew Jones
3fe31828a8 Cleanup for unit tests, working command unit test 2014-03-13 10:48:01 -04:00
Matthew Jones
c8534055ef Do not return from the graph building routine if we are in celery debug mode. 2014-03-12 17:54:34 -04:00
Matthew Jones
c0382f78bb Include a newline on the debug generated graph visualization
fix some import bugs and clear some whitespace from the command test
2014-03-12 16:32:21 -04:00
Matthew Jones
3c82085b93 Handle the situation where we could not communiate with celery 2014-03-12 16:11:56 -04:00
Matthew Jones
2224382caa More docs and fix a bug where we could crash attempting to mark a job as
failed when it wasn't running in celery
2014-03-12 14:26:15 -04:00
Matthew Jones
06cc5ffb4a Docs and setup details for the task manager 2014-03-12 14:09:00 -04:00
Matthew Jones
116cf902b5 Fix a bug processing dependent tasks. Fix an issue where we weren't
calculating the task impact of a job properly
2014-03-11 16:12:22 -04:00
Matthew Jones
f5ea85e0fc Fix some task runner bugs and round out the implementation 2014-03-11 15:26:48 -04:00
Matthew Jones
d269dc1ecc Include proper invocation for non-job tasks with error callback 2014-03-10 17:00:35 -04:00
Matthew Jones
85b6aa2262 Rebasing for initial task system work. Current work towards actual task
running flow
2014-03-10 16:07:20 -04:00