Diptanu Choudhury
|
f09bb1572a
|
Fixed merge conflicts
|
2016-03-24 15:09:50 -07:00 |
|
Diptanu Choudhury
|
2a5f300f92
|
Added a check type for consul service to delegate certain checks
|
2016-03-24 14:54:26 -07:00 |
|
Diptanu Choudhury
|
60fc9919f7
|
Changing the log line
|
2016-03-24 14:53:53 -07:00 |
|
Diptanu Choudhury
|
6a62d4f452
|
Fixing check registration in perform sync
|
2016-03-24 14:12:09 -07:00 |
|
Alex Dadgar
|
fc0e48b0ec
|
Merge pull request #950 from mssola/raw-exec-user
client: added the "user" option to tasks
|
2016-03-24 08:57:13 -07:00 |
|
Diptanu Choudhury
|
76343a3748
|
Merge pull request #972 from hashicorp/scripts
Moving consul service to executor
|
2016-03-24 00:12:45 -07:00 |
|
Diptanu Choudhury
|
62242595fc
|
Using the name of the task and the alloc id in the service name
|
2016-03-23 17:35:29 -07:00 |
|
Diptanu Choudhury
|
54a5e795a5
|
Hooking up the executor in all drivers
|
2016-03-23 13:19:45 -07:00 |
|
Alex Dadgar
|
f3d09755c5
|
Pass environment variables from host to exec based tasks
|
2016-03-23 13:01:45 -07:00 |
|
Diptanu Choudhury
|
f6a932194f
|
Removing references to old consul services and adding consul config to executor context
|
2016-03-23 12:19:19 -07:00 |
|
Miquel Sabaté Solà
|
8c56c64615
|
client/driver: added the user config value
This way Nomad allows to set which user has to run the task.
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
|
2016-03-23 12:57:31 +01:00 |
|
Alex Dadgar
|
c85dfdf9a0
|
Merge branch 'master' into f-artifact-location
|
2016-03-19 12:50:44 -07:00 |
|
Alex Dadgar
|
f4bb3a9801
|
binary lookup path
|
2016-03-19 12:18:10 -07:00 |
|
Diptanu Choudhury
|
ddbf18f02a
|
Removing all the destroy logic from wait and calling exit after wait on all drivers
|
2016-03-18 12:04:11 -07:00 |
|
Diptanu Choudhury
|
3c7b83b393
|
Introduced a method in executor to launch syslog server
|
2016-03-18 11:49:10 -07:00 |
|
Alex Dadgar
|
9f878a16bf
|
Download artifacts and remove old code for drivers
|
2016-03-15 13:28:57 -07:00 |
|
Alex Dadgar
|
929e705ba1
|
Updating kill timeout adheres to operator specified maximum
|
2016-03-03 09:21:21 -08:00 |
|
Alex Dadgar
|
61972c9ddc
|
Refactor task runner to include driver starting into restart policy and add recoverable errors
|
2016-02-28 16:56:05 -08:00 |
|
Diptanu Choudhury
|
e3d6c4a9dd
|
Adding version information to snapshots
|
2016-02-24 19:06:30 -08:00 |
|
Alex Dadgar
|
cc1b35a90c
|
client: standardize error logging format
|
2016-02-24 15:57:58 -08:00 |
|
Diptanu Choudhury
|
27ab08ce1c
|
Merge pull request #842 from hashicorp/f-validate-command
drivers: validate that command contains one field
|
2016-02-23 13:45:10 -08:00 |
|
Alex Dadgar
|
f612b9c81e
|
validate that command contains one field
|
2016-02-23 10:19:40 -08:00 |
|
Diptanu Choudhury
|
d6f09400f7
|
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
|
4873118cef
|
Making the log rotator a writer
|
2016-02-19 14:01:07 -08:00 |
|
Alex Dadgar
|
18d2d9c091
|
Killing a driver handle is retried with an exponential backoff
|
2016-02-16 21:00:49 -08:00 |
|
Diptanu Choudhury
|
25c48cd1ea
|
Updating log configs
|
2016-02-10 15:04:41 -08:00 |
|
Diptanu Choudhury
|
e592c229c8
|
Renamed the ExecutorPluginConfig
|
2016-02-09 12:59:05 -08:00 |
|
Diptanu Choudhury
|
9d6eed1fb4
|
Merge branch 'master' into f-logrotator
|
2016-02-09 12:25:44 -08:00 |
|
Diptanu Choudhury
|
587141f856
|
Removing taskDir from the exechandle
|
2016-02-09 10:21:47 -08:00 |
|
Diptanu Choudhury
|
8fca3625e2
|
Killing the userpid if the plugin is killed while the client is running
|
2016-02-09 10:17:33 -08:00 |
|
Alex Dadgar
|
c8807e2927
|
Fix timeouts between signal and kill
|
2016-02-08 19:31:57 -08:00 |
|
Alex Dadgar
|
75473e88d2
|
Unmount special directories when task finishes
|
2016-02-08 18:51:11 -08:00 |
|
Diptanu Choudhury
|
4644f8a9d4
|
Added a test for merge
|
2016-02-08 16:27:31 -08:00 |
|
Diptanu Choudhury
|
1a13400f2d
|
Moved the destroycgroup method into executor
|
2016-02-08 16:08:29 -08:00 |
|
Diptanu Choudhury
|
10fe104f97
|
Unmounting dev and proc when open can't reconnect with the plugin process
|
2016-02-08 14:31:03 -08:00 |
|
Diptanu Choudhury
|
e53ebc9e3c
|
Extracted the cgroup info into isolation struct
|
2016-02-08 13:48:26 -08:00 |
|
Diptanu Choudhury
|
21677468cf
|
Setting defaults for client max and min port
|
2016-02-08 13:29:53 -08:00 |
|
Diptanu Choudhury
|
b8e4941862
|
Fixed merge conflicts
|
2016-02-08 10:24:27 -08:00 |
|
Diptanu Choudhury
|
f6f51a6926
|
Destroying the cgroup if we can't to executor in exec and java drivers
|
2016-02-08 10:05:39 -08:00 |
|
Diptanu Choudhury
|
c9d2151f90
|
Changed a few comments
|
2016-02-05 18:07:06 -08:00 |
|
Diptanu Choudhury
|
370dc41ca2
|
Renamed the plugin log file
|
2016-02-05 17:07:02 -08:00 |
|
Diptanu Choudhury
|
b788017574
|
Corrected comments and making the plugins write to unique log files
|
2016-02-05 10:49:54 -08:00 |
|
Diptanu Choudhury
|
91e7922f3b
|
Implemented log rotator for exec based drivers
|
2016-02-04 23:54:15 -08:00 |
|
Diptanu Choudhury
|
ff714703e6
|
Fixing merge conflicts
|
2016-02-04 22:55:38 -08:00 |
|
Diptanu Choudhury
|
9c963055a4
|
Running processes with exec as nobody
|
2016-02-04 17:49:47 -08:00 |
|
Diptanu Choudhury
|
30d5bba131
|
Not syncing stdout and stderr of pluging with client
|
2016-02-04 17:36:31 -08:00 |
|
Diptanu Choudhury
|
f95b973c2c
|
Moved packages around
|
2016-02-04 17:00:41 -08:00 |
|
Diptanu Choudhury
|
0309506b57
|
Added tests for the executor
|
2016-02-04 17:00:40 -08:00 |
|
Diptanu Choudhury
|
7f790826af
|
Destroying the plugin if we can't connect to it
|
2016-02-04 17:00:40 -08:00 |
|
Diptanu Choudhury
|
63e0b20e5e
|
Removed duplicate code
|
2016-02-04 17:00:40 -08:00 |
|
Diptanu Choudhury
|
94a51a6a1b
|
Fixing the id generation logic for the java and qemu drivers
|
2016-02-04 17:00:40 -08:00 |
|
Diptanu Choudhury
|
02db2e5735
|
Fixed the raw_exec_driver tests
|
2016-02-04 17:00:40 -08:00 |
|
Diptanu Choudhury
|
83882eca3f
|
Fixed the kill test
|
2016-02-04 17:00:40 -08:00 |
|
Diptanu Choudhury
|
675b5f898a
|
Fixed the wait rpc server
|
2016-02-04 17:00:40 -08:00 |
|
Diptanu Choudhury
|
e5595fd8cb
|
Fixed a test
|
2016-02-04 17:00:39 -08:00 |
|
Diptanu Choudhury
|
38374e3703
|
Fixed a comment
|
2016-02-04 17:00:39 -08:00 |
|
Diptanu Choudhury
|
2f9c14c3e0
|
Fixed the rpc server
|
2016-02-04 17:00:39 -08:00 |
|
Diptanu Choudhury
|
356fb6abdb
|
Removed executor and spawn daemon
|
2016-02-04 17:00:39 -08:00 |
|
Diptanu Choudhury
|
17d2257a13
|
Enabling logs and killing the plugin if we couldn't start the job
|
2016-02-04 17:00:39 -08:00 |
|
Diptanu Choudhury
|
6a719ef167
|
Turning on isolation for exec
|
2016-02-04 17:00:38 -08:00 |
|
Diptanu Choudhury
|
6eba0e46ec
|
Killing the plugin after wait returns
|
2016-02-04 17:00:38 -08:00 |
|
Diptanu Choudhury
|
87f40135ea
|
Using the plugin to spawn processes from the raw_exec driver
|
2016-02-04 17:00:37 -08:00 |
|
Diptanu Choudhury
|
57453086a7
|
Fixed the executor command
|
2016-02-04 17:00:37 -08:00 |
|
Diptanu Choudhury
|
4ed85d0ab2
|
Using a plugin to create the executor
|
2016-02-04 17:00:37 -08:00 |
|
Alex Dadgar
|
77b89d15e4
|
Extract artifacts to the root of the task, not in the local directory
|
2016-02-04 15:18:22 -08:00 |
|
Alex Dadgar
|
41e1174f72
|
Client handles updates to KillTimeout and Restart Policy
|
2016-02-03 19:43:44 -08:00 |
|
Ivo Verberk
|
22fef1766b
|
Add comments and small improvements to cgroup fingerprinter
|
2016-01-29 14:34:29 +01:00 |
|
Ivo Verberk
|
7f97dd8553
|
Only enable exec driver when cgroups are available
Make the exec driver fingerprinter periodic to disable the driver when
cgroups become unavailable.
|
2016-01-27 07:32:32 +01:00 |
|
Alex Dadgar
|
3ba1c9b76b
|
merge
|
2016-01-11 09:58:26 -08:00 |
|
Alex Dadgar
|
ddf392c6be
|
User specifiable kill timeout and operator configurable max
|
2015-12-22 16:10:30 -08:00 |
|
Alex Dadgar
|
4d817f5cbc
|
Revert "Revert "Make drivers take arguments as a list and not as a string""
|
2015-11-18 15:16:42 -08:00 |
|
Alex Dadgar
|
0e51375285
|
Revert "Make drivers take arguments as a list and not as a string"
|
2015-11-18 13:46:43 -08:00 |
|
Alex Dadgar
|
54ddf4d3c1
|
Rebase
|
2015-11-18 12:29:04 -08:00 |
|
Chris Bednarski
|
d00c700318
|
go fmt
|
2015-11-16 16:23:03 -08:00 |
|
Chris Bednarski
|
9f40143684
|
Merge branch 'master' into f-port-labels
|
2015-11-16 16:02:38 -08:00 |
|
Alex Dadgar
|
82f51601db
|
Track Task State in the client and capture Wait results
|
2015-11-16 15:14:21 -08:00 |
|
Diptanu Choudhury
|
c5102975e3
|
Made the code more DRY
|
2015-11-16 13:10:57 -08:00 |
|
Diptanu Choudhury
|
3b3907e367
|
Fixed the exec driver config
|
2015-11-16 13:10:57 -08:00 |
|
Diptanu Choudhury
|
78a0f82bc5
|
Making the config for drivers public
|
2015-11-16 13:10:57 -08:00 |
|
Diptanu Choudhury
|
4e05b27111
|
Implemented port labeling and driver configs
|
2015-11-16 13:10:57 -08:00 |
|
Alex Dadgar
|
f9fd83c696
|
Merge fix
|
2015-11-05 13:46:02 -08:00 |
|
Clint Shryock
|
145a2e3610
|
refactor drivers to use new getter
|
2015-11-05 08:55:30 -06:00 |
|
Alex Dadgar
|
4259d3a43c
|
Move the executor and spawn package into driver
|
2015-11-04 16:53:27 -08:00 |
|
Alex Dadgar
|
2781cbbde1
|
Exec driver only applies on linux as root
|
2015-10-28 17:22:04 -07:00 |
|
Clint Shryock
|
343daeb1ea
|
drivers: Add/Use go-getter to fetch remote binaries
Updates Qemu, Java drivers to use go-getter to fetch binaries
Adds remote artifact support for Exec, Raw Exec drivers
|
2015-10-26 09:40:06 -05:00 |
|
Alex Dadgar
|
a4a440da8e
|
ParseAndReplace args at the executor level
|
2015-09-27 17:37:24 -07:00 |
|
Alex Dadgar
|
a45f9f2e71
|
Pull task environments into their own type to be reusable across drivers and executors
|
2015-09-27 17:37:24 -07:00 |
|
Alex Dadgar
|
a7eebcbd5b
|
merge fixes
|
2015-09-27 17:37:24 -07:00 |
|
Alex Dadgar
|
3cea4288b9
|
Merge qemu test
|
2015-09-25 16:49:14 -07:00 |
|
Chris Bednarski
|
e2c324d098
|
Merge branch 'master' into f-port-configs
|
2015-09-23 11:57:12 -07:00 |
|
Chris Bednarski
|
27376dc548
|
Added environment variables to Java
|
2015-09-22 22:36:10 -07:00 |
|
Chris Bednarski
|
3e90379f05
|
Pass dynamic ports to the exec driver via environment variables
|
2015-09-22 22:33:29 -07:00 |
|
Alex Dadgar
|
dd2f16123f
|
Fix qemu check and add debug lines when a driver is disabled
|
2015-09-22 17:36:44 -07:00 |
|
Alex Dadgar
|
dd0a76a9d7
|
Disable exec/java/qemu when non-root on non-windows OSes
|
2015-09-22 16:32:05 -07:00 |
|
Alex Dadgar
|
0e3f21b34f
|
Linux executor with cgroup isolation support
|
2015-09-21 09:08:57 -07:00 |
|
Clint Shryock
|
067e65bf12
|
exec/linux: move Limit to after Start
|
2015-09-21 09:08:57 -07:00 |
|
Chris Bednarski
|
4cefbc3c22
|
Rename exec package to executor so it works better with goimports; fixes for Java driver
|
2015-09-15 14:03:03 -07:00 |
|
Chris Bednarski
|
6a7b82f7ba
|
Update Java driver to use Executor
|
2015-09-15 13:45:48 -07:00 |
|
Chris Bednarski
|
9db88f6013
|
Updated exec driver to use nomad/client/exec
|
2015-09-15 13:11:56 -07:00 |
|
Chris Bednarski
|
0281debee4
|
Merge branch 'master' into f-driver-config
Conflicts:
client/driver/driver.go
|
2015-09-09 18:19:19 -07:00 |
|