Commit Graph

35 Commits

Author SHA1 Message Date
Diptanu Choudhury
b0c8cf6e36 Renamed consul client to service 2015-11-24 12:34:26 -08:00
Diptanu Choudhury
27819a8b33 Making sure we sync the real state of services of a Task with Consul 2015-11-18 18:35:22 -08:00
Diptanu Choudhury
9a578c5c0d Added the implementation of consul client 2015-11-18 00:50:45 -08:00
Alex Dadgar
b692bcd0b4 Fix the capacity 2015-11-16 15:14:21 -08:00
Alex Dadgar
f4b461f97a Track Task State in the client and capture Wait results 2015-11-16 15:14:21 -08:00
Diptanu Choudhury
007fc74fc1 Saving state of the Task Runner while it's trying to update it 2015-11-12 15:53:42 -08:00
Alex Dadgar
aec33179e5 Merge pull request #408 from hashicorp/f-client-restore
Client Restore State Fixes
2015-11-11 12:32:11 -08:00
Diptanu Choudhury
bd82b0f1ce Returning back if alloc runner isn't saved 2015-11-09 17:04:53 -08:00
Diptanu Choudhury
056d113ded Exctracted a method to save the alloc runner state 2015-11-09 16:59:02 -08:00
Diptanu Choudhury
d6de54836e Inlining error check 2015-11-09 16:45:42 -08:00
Diptanu Choudhury
a797f11f74 Refactored Save State of Alloc runner 2015-11-09 16:15:11 -08:00
Alex Dadgar
d885c6807a Client restores state properly 2015-11-09 15:55:31 -08:00
Diptanu Choudhury
b350fc8f7f Returning once we have an error while saving a task that doesn't exist 2015-11-09 12:44:14 -08:00
Diptanu Choudhury
17cab6ebd7 Updating snapshots of a TaskRunner when status of Task changes 2015-11-09 12:36:07 -08:00
Diptanu Choudhury
fb8f922f2e Passing in the AllocID to exec context so that it can be used in the drivers 2015-11-05 18:34:04 -08:00
Diptanu Choudhury
64c1a0b18c Fixed some tests and refactored logic 2015-11-05 17:30:41 -08:00
Diptanu Choudhury
cf76e3a456 Passing restart tracker in the task runner 2015-11-05 16:38:19 -08:00
Diptanu Choudhury
2e168af9d3 Cleaned up the logic to calculate restart duration 2015-11-05 15:16:29 -08:00
Diptanu Choudhury
a6c06c7279 Setting the restart policy to AllocRunner and Task Runners 2015-11-05 11:13:04 -08:00
Alex Dadgar
db88c38bc7 Bind alloc dir and task local dir to docker containers and parse args correctly 2015-10-15 16:40:07 -07:00
Alex Dadgar
02fb48fbc1 Cleanup allocations when in dev mode 2015-10-04 13:36:03 -07:00
Alex Dadgar
66fd821af5 Change allocdir variable name for clarity 2015-09-25 16:49:19 -07:00
Alex Dadgar
8a5e65e27a Merge qemu test 2015-09-25 16:49:14 -07:00
Alex Dadgar
38460ca653 AllocDirBuilder that creates the alloc directory structure 2015-09-25 16:46:41 -07:00
Armon Dadgar
bb22cf7ebe client: Use Alloc.TaskResouces to override Task.Resources 2015-09-13 17:35:56 -07:00
Armon Dadgar
ee520f29b0 client: allocate alloc dir and cleanup 2015-08-30 17:35:58 -07:00
Armon Dadgar
f6928545e8 client: test alloc runner 2015-08-30 17:10:17 -07:00
Armon Dadgar
65e79fb733 client: refactor AllocRunner for testing 2015-08-30 16:35:04 -07:00
Armon Dadgar
8552796d4b client: remove TaskRunner dependence on AllocRunner 2015-08-29 19:42:35 -07:00
Armon Dadgar
9f71ce3489 client: working on state restore 2015-08-29 19:14:47 -07:00
Armon Dadgar
3596d073ee client: first pass at save/restore of state 2015-08-29 18:16:49 -07:00
Armon Dadgar
4106e794a8 client: working on runners 2015-08-29 15:46:10 -07:00
Armon Dadgar
0bf1aec4a5 client: making progress 2015-08-23 16:49:48 -07:00
Armon Dadgar
5f11b99caa client: standardize naming 2015-08-23 15:36:06 -07:00
Armon Dadgar
585e11943b client: rename Alloc/TaskContext to Runner 2015-08-23 15:32:46 -07:00