Commit Graph

23 Commits

Author SHA1 Message Date
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
Alex Dadgar
d885c6807a Client restores state properly 2015-11-09 15:55:31 -08:00
Diptanu Choudhury
17cab6ebd7 Updating snapshots of a TaskRunner when status of Task changes 2015-11-09 12:36:07 -08:00
Alex Dadgar
7e996cf4a2 Don't set the alloc status twice when not restarting 2015-11-06 15:26:01 -08:00
Diptanu Choudhury
64c1a0b18c Fixed some tests and refactored logic 2015-11-05 17:30:41 -08:00
Diptanu Choudhury
ad44e4eeb5 Added some comments to code 2015-11-05 16:48:15 -08:00
Diptanu Choudhury
af39146b03 Added the client word to log lines 2015-11-05 16:39:57 -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
2a9dd21a53 Fixed the log statements 2015-11-05 11:13:05 -08:00
Diptanu Choudhury
ff55f2faf9 Added the logic to restart Tasks if possible 2015-11-05 11:13:04 -08:00
Diptanu Choudhury
a6c06c7279 Setting the restart policy to AllocRunner and Task Runners 2015-11-05 11:13:04 -08:00
Alex Dadgar
38460ca653 AllocDirBuilder that creates the alloc directory structure 2015-09-25 16:46:41 -07:00
Chris Bednarski
8d4d9645d8 Replace logging and config with DriverContext, which allows us to expand the dependency injection without changing the interface 2015-09-09 18:06:23 -07:00
Chris Bednarski
f911a24837 Added config to drivers; needed for docker driver to get the socket endpoint 2015-09-08 12:43:02 -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