Commit Graph

49 Commits

Author SHA1 Message Date
Alex Dadgar
87dd4dd0c7 Client Restore test 2015-11-10 16:03:18 -08:00
Alex Dadgar
d885c6807a Client restores state properly 2015-11-09 15:55:31 -08:00
Alex Dadgar
10e19064d9 Make periodic fingerprinting log the error 2015-11-05 18:47:16 -08:00
Alex Dadgar
f43c067b3e Client handles periodic fingerprinters 2015-11-05 13:46:17 -08:00
Alex Dadgar
02fb48fbc1 Cleanup allocations when in dev mode 2015-10-04 13:36:03 -07:00
Alex Dadgar
3906dc1afc Fix client init logging and test 2015-09-25 18:12:11 -07:00
Alex Dadgar
57ade13fc8 Fix comments 2015-09-25 16:49:19 -07:00
Alex Dadgar
df8103dfe9 Log the alloc and state directory on Client Init() 2015-09-25 16:49:19 -07:00
Alex Dadgar
dfd0efbacd Client init rebase 2015-09-25 16:46:41 -07:00
Alex Dadgar
38460ca653 AllocDirBuilder that creates the alloc directory structure 2015-09-25 16:46:41 -07:00
Ryan Uber
929de526b9 client: support modifying the servers list 2015-09-24 20:16:47 -07:00
Armon Dadgar
f9ae0a2461 Merge pull request #77 from hashicorp/f-network-fingerprint
Network Fingerprinting
2015-09-23 14:36:29 -07:00
Armon Dadgar
7c4e647cbb client: reset response struct to avoid decode errors 2015-09-22 22:10:28 -07:00
Armon Dadgar
f94c007348 client: create dir, handle not exist more gracefully 2015-09-22 22:00:24 -07:00
Armon Dadgar
4e5722b450 client: fixing stats formating 2015-09-22 21:48:42 -07:00
Clint Shryock
c9dab7e0c7 fix range error 2015-09-22 23:25:12 -05:00
Armon Dadgar
71a7d4304a client: persist the node ID 2015-09-22 10:31:47 -07:00
Armon Dadgar
d4982d16d7 client: optimize initial heartbeat time 2015-09-20 17:02:12 -07:00
Armon Dadgar
c9d17611bf nomad: rename region1 to global. Fixes #41 2015-09-13 18:18:40 -07:00
Ryan Uber
bbb31d7ce7 client: always create alloc dir if it is non-empty 2015-09-13 12:14:12 -07:00
Ryan Uber
5529aab866 client: skip init in dev mode 2015-09-12 13:16:27 -07:00
Ryan Uber
5b7073b294 client: init the alloc dir 2015-09-12 11:47:44 -07:00
Ryan Uber
e4c29dc579 client: alloc dirs tolerate missing directories 2015-09-11 20:32:55 -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
8a02dbc481 Use a single implementation of GenerateUUID 2015-09-07 15:23:03 -07:00
Armon Dadgar
6ee7f111dc Rename client endpoint to node endpoint 2015-09-06 20:31:32 -07:00
Armon Dadgar
e2674c2c40 nomad: improve error messages at start for dev mode 2015-09-06 20:18:47 -07:00
Armon Dadgar
0d101001cb client: more stats 2015-08-30 17:24:12 -07:00
Armon Dadgar
c6e8977480 client: testing state restore 2015-08-30 17:19:20 -07:00
Armon Dadgar
65e79fb733 client: refactor AllocRunner for testing 2015-08-30 16:35:04 -07:00
Armon Dadgar
3596d073ee client: first pass at save/restore of state 2015-08-29 18:16:49 -07:00
Armon Dadgar
14e7306524 client: test watching allocations 2015-08-29 14:33:30 -07:00
Armon Dadgar
4832244709 client: test updating alloc status 2015-08-29 14:22:24 -07:00
Chris Bednarski
dffb68e054 Fix arity in log call for TCP resolution failure 2015-08-26 17:17:08 -07:00
Chris Bednarski
a9981d83f1 Pass config to fingerprints; update tests 2015-08-25 16:21:29 -07:00
Armon Dadgar
f208364a3e client: faster retries in dev mode 2015-08-23 17:40:14 -07:00
Armon Dadgar
7b4ac68c37 agent: use the client 2015-08-23 16:53:15 -07:00
Armon Dadgar
585e11943b client: rename Alloc/TaskContext to Runner 2015-08-23 15:32:46 -07:00
Armon Dadgar
b5e2047fbf client: working on alloc handling 2015-08-23 15:06:47 -07:00
Armon Dadgar
5ac8546c99 client: working with alloc diffs 2015-08-23 14:54:52 -07:00
Armon Dadgar
da43c8fe10 client: state stubs 2015-08-23 14:12:26 -07:00
Armon Dadgar
cfcad82736 client: watch for allocations 2015-08-22 19:31:22 -07:00
Armon Dadgar
795002b4a2 nomad: client does periodic heartbeat 2015-08-22 18:16:05 -07:00
Armon Dadgar
5e8d4ef647 client: register on start 2015-08-20 17:49:04 -07:00
Armon Dadgar
c9649dd7f7 client: scan for drivers 2015-08-20 16:53:43 -07:00
Armon Dadgar
c39c72e87f client: attempt fingerprint of host 2015-08-20 16:41:29 -07:00
Armon Dadgar
feabeb8167 client: skeleton package 2015-08-20 16:07:26 -07:00
Armon Dadgar
346b688f42 client: adding skeleton 2015-08-20 15:25:09 -07:00