Commit Graph

83 Commits

Author SHA1 Message Date
Alex Dadgar
6ef841bc34 Updating kill timeout adheres to operator specified maximum 2016-03-03 09:21:21 -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
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
387fcc36c8 Making the log rotator a writer 2016-02-19 14:01:07 -08:00
Diptanu Choudhury
e92d0a65f8 Enabling cgroups and chroot on linux 2016-02-18 09:49:11 -08:00
Alex Dadgar
f1c80afcf3 Killing a driver handle is retried with an exponential backoff 2016-02-16 21:00:49 -08:00
Diptanu Choudhury
dc25fd42d6 Updating log configs 2016-02-10 15:04:41 -08:00
Diptanu Choudhury
a92a96336c Renamed the ExecutorPluginConfig 2016-02-09 12:59:05 -08:00
Diptanu Choudhury
dcecb95130 Merge branch 'master' into f-logrotator 2016-02-09 12:25:44 -08:00
Diptanu Choudhury
a97181157c Killing the userpid if the plugin is killed while the client is running 2016-02-09 10:17:33 -08:00
Alex Dadgar
1a31340075 Unmount special directories when task finishes 2016-02-08 18:51:11 -08:00
Diptanu Choudhury
cc6e2b73f0 Moved the destroycgroup method into executor 2016-02-08 16:08:29 -08:00
Diptanu Choudhury
25d456a8ce Unmounting dev and proc when open can't reconnect with the plugin process 2016-02-08 14:31:03 -08:00
Diptanu Choudhury
41447a0d7c Extracted the cgroup info into isolation struct 2016-02-08 13:48:26 -08:00
Diptanu Choudhury
70f7b2d70f Setting defaults for client max and min port 2016-02-08 13:29:53 -08:00
Diptanu Choudhury
9a6da514e1 Fixed merge conflicts 2016-02-08 10:24:27 -08:00
Diptanu Choudhury
d7a772c52b Destroying the cgroup if we can't to executor in exec and java drivers 2016-02-08 10:05:39 -08:00
Diptanu Choudhury
84b31eff98 Changed a few comments 2016-02-05 18:07:06 -08:00
Diptanu Choudhury
82c7f26bc3 Renamed the plugin log file 2016-02-05 17:07:02 -08:00
Diptanu Choudhury
10958c463c Making the java driver apply resource constraints and limits 2016-02-05 10:55:03 -08:00
Diptanu Choudhury
2533156b9e Corrected comments and making the plugins write to unique log files 2016-02-05 10:49:54 -08:00
Diptanu Choudhury
7bf254c9af Implemented log rotator for exec based drivers 2016-02-04 23:54:15 -08:00
Diptanu Choudhury
49226c4a9c Fixing merge conflicts 2016-02-04 22:55:38 -08:00
Diptanu Choudhury
d8ed2949cd Not syncing stdout and stderr of pluging with client 2016-02-04 17:36:31 -08:00
Diptanu Choudhury
2b8cdc47d3 Moved packages around 2016-02-04 17:00:41 -08:00
Diptanu Choudhury
5ea6b85e76 Destroying the plugin if we can't connect to it 2016-02-04 17:00:40 -08:00
Diptanu Choudhury
d24f089273 Removed duplicate code 2016-02-04 17:00:40 -08:00
Diptanu Choudhury
443acc1520 Fixing the id generation logic for the java and qemu drivers 2016-02-04 17:00:40 -08:00
Diptanu Choudhury
fedf3c791b Fixed a test 2016-02-04 17:00:39 -08:00
Diptanu Choudhury
8d24ddc296 Moving the java executor to the executor plugin 2016-02-04 17:00:39 -08:00
Alex Dadgar
edf1db85fc Fix java test 2016-02-04 15:26:37 -08:00
Alex Dadgar
ca69bcd18b Extract artifacts to the root of the task, not in the local directory 2016-02-04 15:18:22 -08:00
Alex Dadgar
03aca9887b Client handles updates to KillTimeout and Restart Policy 2016-02-03 19:43:44 -08:00
Alex Dadgar
b8a42786f3 merge 2016-01-11 09:58:26 -08:00
Alex Dadgar
9f44780f89 User specifiable kill timeout and operator configurable max 2015-12-22 16:10:30 -08:00
Alex Dadgar
7357979089 Revert "Revert "Make drivers take arguments as a list and not as a string"" 2015-11-18 15:16:42 -08:00
Alex Dadgar
d666f5bde1 Revert "Make drivers take arguments as a list and not as a string" 2015-11-18 13:46:43 -08:00
Alex Dadgar
62a0c5d14c Rebase 2015-11-18 12:30:35 -08:00
Alex Dadgar
ee1887e609 Rebase 2015-11-18 12:29:04 -08:00
Diptanu Choudhury
b8d468f5ad Addressed some review comments 2015-11-16 22:29:06 -05:00
Chris Bednarski
640337547a go fmt 2015-11-16 16:23:03 -08:00
Chris Bednarski
1d1e4bdd08 Merge branch 'master' into f-port-labels 2015-11-16 16:02:38 -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
c01f2a38f5 Made the code more DRY 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
7ebe23519a Fixed the java driver config 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
4186e70320 Making the config for drivers public 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
7f6e940946 Implemented port labeling and driver configs 2015-11-16 13:10:57 -08:00
Alex Dadgar
5b067a3e4f Merge fix 2015-11-05 13:46:02 -08:00
Clint Shryock
add12a6a00 refactor drivers to use new getter 2015-11-05 08:55:30 -06:00