Commit Graph

198 Commits

Author SHA1 Message Date
Alex Huang ea6ca5ff5c Removed AsyncJobConstant 2013-06-17 17:04:01 -07:00
Alex Huang 2b96665bf4 jobs changes 2013-06-17 17:04:00 -07:00
Alex Huang aff0220d45 Moved files into cloud-engine 2013-06-13 16:34:41 -07:00
Alex Huang 3ef77bc85a Complete the move of the virtualmachinemanager to cloud-engine 2013-06-13 13:50:59 -07:00
Kelven Yang 39dd4bd26b Manage active job in run numbers 2013-06-12 14:29:44 -07:00
Kelven Yang 35ea8e149d Fix errors in bringing up user VM under new VMsync framework 2013-06-12 12:05:26 -07:00
Alex Huang 186e62a868 asyncmanager is too tightly integrated with api. Can't break them apart at this point. Reverting previous change 2013-06-09 16:00:47 -07:00
Alex Huang 59c211fca7 Changed async manager to use it's own serializer 2013-06-07 20:28:43 -07:00
Alex Huang 5e6d2cf559 Fixed the start 2013-06-07 10:11:57 -07:00
Kelven Yang 90df846adb Fix CallContext NDC cleanup problem 2013-06-06 17:52:21 -07:00
Alex Huang 2e1e2babcb More fixes on starting from jobs 2013-06-04 20:10:29 -07:00
Alex Huang dd11254087 further refactored jobs 2013-06-04 13:54:33 -07:00
Alex Huang 51f533e97a changes to jobs 2013-06-04 11:02:16 -07:00
Alex Huang 688b047c2a Made it all work on startup 2013-06-03 17:10:28 -07:00
Alex Huang b8261b8705 Moved UserContext to its proper place as CallContext 2013-05-31 05:05:05 -07:00
Alex Huang 54de6b4868 Revamped UserContext 2013-05-31 04:44:37 -07:00
Alex Huang 7bdddd0726 merged from master 2013-05-29 15:45:38 -07:00
Alena Prokharchyk 2ecf9e3293 CLOUDSTACK-2680: Async job expunge thread - expunge only:
1) Unfinished jobs that are yet to be processed.
2) Completed jobs

The jobs that are in process, will be skipped by the expunge thread

Conflicts:
	server/src/com/cloud/async/dao/AsyncJobDao.java
	server/src/com/cloud/async/dao/AsyncJobDaoImpl.java
	server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
2013-05-24 15:01:12 -07:00
Alex Huang cbdc4063c8 Isolated the job queue work in its own project 2013-05-15 10:14:39 -07:00
Alex Huang d4039743d2 Merged master to vmsync 2013-05-13 17:33:53 -07:00
Kelven Yang c7530dbd70 Hook job monitoring 2013-05-12 18:15:47 -07:00
Kelven Yang 2210c10271 cleanup, bug-fixes for job wakeup process 2013-05-12 16:46:01 -07:00
Nitin Mehta c11dbad9c9 merge master 2013-05-11 15:28:43 +05:30
Kelven Yang a681a7efe5 more job wakeup improvements 2013-05-09 19:52:09 -07:00
Kelven Yang d3766e33c3 Add job wakeup dispatcher for fully asynchronized job execution 2013-05-09 11:20:59 -07:00
Kelven Yang 4d316addac prepare wakeup support to job-joining 2013-05-08 18:09:01 -07:00
Kelven Yang a10049e4e8 Add pseudo job to support VM operations that are initiated from system threads outside job pool 2013-05-08 15:18:26 -07:00
Kelven Yang 38e2964fd7 Re-org async job constant definition place 2013-05-08 10:05:35 -07:00
Kelven Yang 3c780a500d Start and stop VM now works for CPVM and SSVM with new VMSync 2013-05-07 17:03:04 -07:00
Kelven Yang 006b2f8ed8 add support to job joining 2013-05-07 13:26:37 -07:00
Alex Huang ad2777c547 Moved agent commands to core and out of api 2013-05-06 16:34:20 -07:00
Kelven Yang a8a09ba287 hook-up new sync with VirtualMachineGuru(s) 2013-05-06 10:01:46 -07:00
Kelven Yang 9e4ebdd8b3 Add job monitor to help manage system concurrent level 2013-05-01 22:45:27 -07:00
Kelven Yang 17930685e4 Unit tests to VM work scheduling 2013-05-01 16:43:05 -07:00
Kelven Yang 86053cd8b2 Add VM work job dispatcher, MethodCapturer etc 2013-04-30 18:12:23 -07:00
Kelven Yang f1ba6586b9 Add Predicate and MesageDetector for message bus 2013-04-25 17:57:48 -07:00
Kelven Yang 360a48bc7f More refactoring for decoupling 2013-04-22 18:16:33 -07:00
Kelven Yang f640a416d1 Revert back a previous change that was trying to carry more info in state machine listeners 2013-04-22 11:29:07 -07:00
Kelven Yang 96ebac1e47 server/test/com/cloud/async/AsyncJobTestConfiguration.java 2013-04-19 21:55:03 -07:00
Kelven Yang c51fae0b6c Add async job discriminator to allow merging of HA/ItWork jobs 2013-04-18 18:12:27 -07:00
Kelven Yang aa108fcaec Get rid of annoying communicating through exception between API/Job manager, decouple job manager from API manager for VMsync usage 2013-04-09 18:05:14 -07:00
Kelven Yang 34cae6349c More refactoring work 2013-04-09 16:58:35 -07:00
Kelven Yang 2ee8fd2152 Merge branch 'master' into vmsync
Conflicts:
	plugins/hypervisors/kvm/src/org/apache/cloudstack/utils/qemu/QemuImgException.java
	server/src/com/cloud/async/AsyncJobManagerImpl.java
	server/src/com/cloud/async/SyncQueueManager.java
	server/src/com/cloud/hypervisor/kvm/discoverer/LxcServerDiscoverer.java
	server/src/com/cloud/storage/VolumeManagerImpl.java
	utils/src/com/cloud/utils/component/AdapterList.java
2013-04-09 14:39:09 -07:00
Kelven Yang a410652795 Add schema changes for job dispatcher 2013-04-09 14:21:00 -07:00
Kelven Yang 55935f9868 more job cleanup 2013-04-09 11:14:49 -07:00
Brian Spindler 469c4dd139 Removing ^M's from code.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-04-04 00:53:20 +05:30
Kelven Yang 5585b5ea6e Async job management cleanup 2013-04-02 18:27:22 -07:00
Kelven Yang 176523254e Improve component lifecycle management with system run-level concept 2013-01-30 15:21:02 -08:00
Alex Huang 10d9c019a9 All merge conflicts resolved 2013-01-18 12:14:57 -08:00
Chiradeep Vittal 56cd809600 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack
Re-merge with network-refactor
2013-01-17 11:32:49 -08:00