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 |
|
Alex Dadgar
|
289a9766f3
|
Update package import name
|
2015-09-22 18:48:42 -07:00 |
|
Alex Dadgar
|
3c12f4bd20
|
Fix qemu check and add debug lines when a driver is disabled
|
2015-09-22 17:36:44 -07:00 |
|
Alex Dadgar
|
33381f0fb8
|
Update Qemu Fingerprint check
|
2015-09-22 17:12:52 -07:00 |
|
Alex Dadgar
|
891d8b8f47
|
Guard tests
|
2015-09-22 17:10:03 -07:00 |
|
Alex Dadgar
|
06de892626
|
Update exec_linux to assume it is running as root
|
2015-09-22 16:44:11 -07:00 |
|
Alex Dadgar
|
b43e262923
|
Disable exec/java/qemu when non-root on non-windows OSes
|
2015-09-22 16:32:05 -07:00 |
|
Chris Bednarski
|
cbc153c12f
|
Added named ports
|
2015-09-22 13:59:16 -07:00 |
|
Armon Dadgar
|
71a7d4304a
|
client: persist the node ID
|
2015-09-22 10:31:47 -07:00 |
|
Alex Dadgar
|
08f790f5ec
|
Fixed function comment
|
2015-09-21 09:08:57 -07:00 |
|
Alex Dadgar
|
fcdf5afa03
|
Tests skip based on cgroups, not root
|
2015-09-21 09:08:57 -07:00 |
|
Alex Dadgar
|
c88f93ca71
|
Update UniversalExecutor to have string identifiers
|
2015-09-21 09:08:57 -07:00 |
|
Alex Dadgar
|
5ac6c3b73d
|
Linux executor with cgroup isolation support
|
2015-09-21 09:08:57 -07:00 |
|
Clint Shryock
|
e434d938af
|
executor/linux: Add UUID for the name, return error on failure to apply
|
2015-09-21 09:08:57 -07:00 |
|
Clint Shryock
|
f65406009f
|
exec/linux: move Limit to after Start
|
2015-09-21 09:08:57 -07:00 |
|
Clint Shryock
|
15e64312b7
|
spike on adding cgroups
|
2015-09-21 09:08:57 -07:00 |
|
Armon Dadgar
|
d13f03175f
|
Merge branch 'f-docs'
|
2015-09-20 19:25:25 -07:00 |
|
Armon Dadgar
|
d4982d16d7
|
client: optimize initial heartbeat time
|
2015-09-20 17:02:12 -07:00 |
|
Chris Bednarski
|
3a8df12199
|
Windows does not support exec.Cmd.SysProcAttr.Credential call; this causes cross-compiltion to fail so it's behind a build flag now
|
2015-09-18 18:59:42 -07:00 |
|
Chris Bednarski
|
cdd065cb07
|
Support running Linux exec as a non-root user
|
2015-09-15 20:17:23 -07:00 |
|
Chris Bednarski
|
85744b0661
|
Merge branch 'master' into f-executor
|
2015-09-15 19:03:52 -07:00 |
|
Chris Bednarski
|
06a0bd0bf7
|
Overhaul the executor code so we use build flags instead of dynamic loading
|
2015-09-15 18:54:55 -07:00 |
|
Chris Bednarski
|
c8516f3e9c
|
Changed Default executor to use a factory
|
2015-09-15 16:40:40 -07:00 |
|
Chris Bednarski
|
a5512c22e9
|
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
|
5eb3354678
|
Update Java driver to use Executor
|
2015-09-15 13:45:48 -07:00 |
|
Chris Bednarski
|
b3ef6930b8
|
Updated exec driver to use nomad/client/exec
|
2015-09-15 13:11:56 -07:00 |
|
Chris Bednarski
|
2bcf7105e8
|
Use Linux on Linux
|
2015-09-14 19:38:21 -07:00 |
|
Chris Bednarski
|
b38112af29
|
Run as nobody if no user is specified
|
2015-09-14 19:04:29 -07:00 |
|
Chris Bednarski
|
80eef5362e
|
Send signal 0 to check whether the process is alive
|
2015-09-14 16:16:56 -07:00 |
|
Chris Bednarski
|
d4c57c67a2
|
Implemented Linux driver with RunAs functionality -- added errors to RunAs and Limit
|
2015-09-14 15:57:21 -07:00 |
|
Armon Dadgar
|
c9d17611bf
|
nomad: rename region1 to global. Fixes #41
|
2015-09-13 18:18:40 -07:00 |
|
Armon Dadgar
|
bb22cf7ebe
|
client: Use Alloc.TaskResouces to override Task.Resources
|
2015-09-13 17:35:56 -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
|
f4d489af6e
|
Update the interface, add UniversalExecutor, add stub for LinuxExecutor
|
2015-09-11 17:12:48 -07:00 |
|
Chris Bednarski
|
c9994c3e59
|
Added stub / spec for executor interface
|
2015-09-11 12:35:03 -07:00 |
|
Chris Bednarski
|
3c1bb50da3
|
Change error to err to be consistent with other usage
|
2015-09-11 10:26:33 -07:00 |
|
Chris Bednarski
|
3862b0adb4
|
Fix typos
|
2015-09-10 11:35:03 -07:00 |
|
Chris Bednarski
|
0e7ebb7447
|
Change panic to a more helpful message
|
2015-09-09 19:04:06 -07:00 |
|
Chris Bednarski
|
6445e14755
|
Merge branch 'f-driver-config' into f-docker-resource-constraints
|
2015-09-09 18:47:35 -07:00 |
|
Chris Bednarski
|
4b74613d9d
|
Relax Qemu version regexp to accomodate build identifier in the version command
|
2015-09-09 18:39:40 -07:00 |
|
Chris Bednarski
|
0e00b5fbf7
|
Updated Qemu and tests to use DriverContext
|
2015-09-09 18:38:52 -07:00 |
|
Chris Bednarski
|
7b517d83fa
|
Merge branch 'master' into f-driver-config
Conflicts:
client/driver/driver.go
|
2015-09-09 18:19:19 -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
|
e227e15c1e
|
Merge pull request #24 from hashicorp/qemu-driver
Basic Qemu driver implementation
|
2015-09-09 17:43:13 -07:00 |
|
Chris Bednarski
|
44f04313e2
|
Add logger to the dockerHandle created by Open()
|
2015-09-09 13:43:28 -07:00 |
|