Commit Graph

1012 Commits

Author SHA1 Message Date
Alex Dadgar
ff48998942 Avoid serializes Allocation.Resources 2016-03-01 14:09:25 -08:00
Alex Dadgar
7007409cd7 Merge pull request #859 from hashicorp/f-driver-start-restarts
client: Driver starting is included in restart policy.
2016-02-29 11:05:25 -08:00
Alex Dadgar
343fddb403 Acquire lock around handle 2016-02-29 10:45:08 -08:00
Alex Dadgar
e0224b8a35 Refactor task runner to include driver starting into restart policy and add recoverable errors 2016-02-28 16:56:05 -08:00
Diptanu Choudhury
dd2f82c4ca Merge pull request #818 from achanda/perf
Run a bunch of tests in parallel
2016-02-26 13:35:33 -08:00
Alex Dadgar
d6aa2d79cb Merge branch 'master' of github.com:hashicorp/nomad 2016-02-25 11:49:52 -08:00
Alex Dadgar
9c45f36819 Drop the permissions of sub directories in the alloc dir 2016-02-25 11:49:43 -08:00
Diptanu Choudhury
ad0e70c3b2 Merge pull request #850 from hashicorp/snap-version
Adding version information to snapshots
2016-02-25 10:54:26 -08:00
Diptanu Choudhury
9458106550 Added a test for AllocDir.LogDir 2016-02-25 09:08:51 -08:00
Diptanu Choudhury
ae498c28f3 Adding version to the DockerHandle test 2016-02-25 08:51:10 -08:00
Diptanu Choudhury
be55af6d90 Fixed some java tests 2016-02-24 23:54:01 -08:00
Diptanu Choudhury
54d7057912 Writing logs to alloc dir 2016-02-24 20:06:43 -08:00
Diptanu Choudhury
7f8f6712c5 Adding version information to snapshots 2016-02-24 19:06:30 -08:00
Alex Dadgar
207d544a55 client: standardize error logging format 2016-02-24 15:57:58 -08:00
Diptanu Choudhury
a735ad155d Making the build work for windows 2016-02-23 15:17:07 -08:00
Alex Dadgar
4afa44c15e driver.test: remove redundant tests 2016-02-23 14:41:52 -08:00
Diptanu Choudhury
69a6bce98b Merge pull request #841 from hashicorp/b-local-file
Client: Only allow downloading from http/s and git
2016-02-23 13:46:55 -08:00
Diptanu Choudhury
37e8248495 Merge pull request #842 from hashicorp/f-validate-command
drivers: validate that command contains one field
2016-02-23 13:45:10 -08:00
Diptanu Choudhury
3da5e5020a Closing the rotators when the process finishes 2016-02-23 13:32:17 -08:00
Alex Dadgar
5ee75e2fa5 Limit the set of downloaders 2016-02-23 10:33:58 -08:00
Alex Dadgar
c7661b1ca2 Copy local files 2016-02-23 10:27:47 -08:00
Alex Dadgar
704ad6ecb4 validate that command contains one field 2016-02-23 10:19:40 -08:00
Diptanu Choudhury
8f21b753ba Merge pull request #819 from hashicorp/r-syslog-collector
Refactored syslog server and log rotator
2016-02-23 10:15:14 -08:00
Diptanu Choudhury
e9e3a23e89 Closing the messages channel 2016-02-23 10:14:54 -08:00
Diptanu Choudhury
23cc7820d5 Stoping go-routines in the syslog collector 2016-02-23 09:43:14 -08:00
Diptanu Choudhury
0d9697d955 Buffering writes to a rotated file 2016-02-23 08:52:06 -08:00
Alex Dadgar
fe0621f60d client: send correct node id 2016-02-22 22:43:55 -08:00
Alex Dadgar
d6e3e8c8cf Send NodeID when updating client allocation 2016-02-22 17:25:11 -08:00
Diptanu Choudhury
2a042ff625 Made the syslog server use a buffered chan 2016-02-22 16:10:23 -08:00
Diptanu Choudhury
8cbd9fe1d9 Throwing an error if Nomad can't create an docker auth object 2016-02-22 13:20:06 -08:00
Diptanu Choudhury
3e50615bac Throwing an error if Nomad can't create an docker auth object 2016-02-22 13:00:54 -08:00
Alex Dadgar
48eff00427 address feedback 2016-02-21 21:32:32 -08:00
Alex Dadgar
a6eb1ec98a Fix test 2016-02-21 21:15:02 -08:00
Alex Dadgar
6b3c22e91a Batch client allocation updates to the server 2016-02-21 21:15:02 -08:00
Abhishek Chanda
34b5dcbc50 Run a bunch of tests in parallel 2016-02-21 19:42:03 -08:00
Alex Dadgar
05bda07e7e undo async update 2016-02-19 22:34:52 -08:00
Diptanu Choudhury
15082976ed Added more comments 2016-02-19 21:58:44 -08:00
Alex Dadgar
6d927a7525 Make updating alloc status async 2016-02-19 21:44:23 -08:00
Alex Dadgar
a0aeb3e1d4 Reduce alloc lock contention in client 2016-02-19 19:51:55 -08:00
Alex Dadgar
312cdb51b7 import 2016-02-19 16:31:04 -08:00
Alex Dadgar
6427d917ac Better comment 2016-02-19 16:02:48 -08:00
Alex Dadgar
2097d0132f Remove debug 2016-02-19 15:54:29 -08:00
Alex Dadgar
73733a8542 Fixes 2016-02-19 15:49:32 -08:00
Diptanu Choudhury
657d6a4ff6 Fixed tests 2016-02-19 15:15:59 -08:00
Alex Dadgar
eb76d6d623 Client stores when it receives a task 2016-02-19 14:49:43 -08:00
Diptanu Choudhury
56937f6629 Added some docs to the syslog server 2016-02-19 14:20:21 -08:00
Diptanu Choudhury
dfdf22ea4f Added some docs to the FileRotator 2016-02-19 14:11:31 -08:00
Diptanu Choudhury
387fcc36c8 Making the log rotator a writer 2016-02-19 14:01:07 -08:00
Diptanu Choudhury
3ba626df72 Renamed packages 2016-02-19 13:08:25 -08:00
Diptanu Choudhury
dc3f50da27 Implemented file rotator 2016-02-19 12:55:34 -08:00