Commit Graph

1631 Commits

Author SHA1 Message Date
Alex Dadgar
2c97235054 Fix task runner test 2016-08-11 13:16:17 -07:00
Kenjiro Nakayama
50ca5c7f71 Update after the review 2016-08-11 10:53:33 +09:00
Kenjiro Nakayama
fbb2d5cd5d Return error when client failed to collect host stats 2016-08-11 09:38:28 +09:00
Diptanu Choudhury
6811e084f4 Merge pull request #1518 from pubnub/feature/chroot-map-rebase
Add config field to specify chroot mapping for exec driver
2016-08-10 17:00:03 -07:00
Diptanu Choudhury
724a2a2111 Fixed some error messages 2016-08-10 15:17:32 -07:00
Diptanu Choudhury
d7612debe4 Merge pull request #1533 from nak3/fix-error-in-client
tiny: Return fmt.Errorf instead of duplicated error messages
2016-08-10 15:13:47 -07:00
Kenjiro Nakayama
fec9204dcc Update debug option from string to bool 2016-08-09 16:51:00 +09:00
Kenjiro Nakayama
c942f1d0be Add debug option to rkt task config 2016-08-09 09:01:05 +09:00
Kenjiro Nakayama
a02267ac75 Update after review 2016-08-09 08:57:26 +09:00
Kenjiro Nakayama
59c05eb64b tiny: Return fmt.Errorf instead of duplicated error messages 2016-08-09 08:57:26 +09:00
Jay Oster
bd0363b6a6 Fix Linux executor isolation test
- Properly expects the hard-coded mounts (alloc, dev, and proc) and hardcoded local directories (local and tmp)
- Also verifies that etc contains only the requested paths
2016-08-08 14:04:09 -07:00
Diptanu Choudhury
a950781203 Merge pull request #1532 from nak3/fix-fingerprint-cpu-log
tiny: Fix duplicated error message in CPU fingerprint
2016-08-08 13:44:49 -04:00
Diptanu Choudhury
09a199bdbb Merge pull request #1534 from nak3/fix-intask_runner
tiny: print task name and error message for SaveState error
2016-08-08 13:37:25 -04:00
Kenjiro Nakayama
32ce8939c7 tiny: print task name and error message for the SaveState error in task_runner 2016-08-07 13:33:58 +09:00
Kenjiro Nakayama
5e4dbd0ff3 tiny: Fix duplicated error message in CPU fingerprint 2016-08-07 12:49:40 +09:00
Kenjiro Nakayama
dd269abeb5 Update GetArtifact by removing unused logger 2016-08-06 23:37:32 +09:00
Diptanu Choudhury
f948c3732a Merge pull request #1477 from nak3/add-syslog_server-test
Add Syslog server start shutdown test
2016-08-05 12:01:24 -07:00
Alex Dadgar
9da215ed22 changelog + use driver config 2016-08-05 10:55:20 -07:00
Alex Dadgar
3c33c54957 Merge pull request #1493 from nak3/rkt-fix1
Pass command and trust_prefix to the validation of rkt task configuration
2016-08-05 10:52:02 -07:00
Alex Dadgar
a8cf9241f7 changelog 2016-08-05 10:47:44 -07:00
Kenjiro Nakayama
be177a0a3e Add Syslog server start shutdown test 2016-08-06 02:01:33 +09:00
Michal Wieczorek
d5ae1cb93e Set windows containers default network mode to 'nat' 2016-08-05 06:01:26 +02:00
Jay Oster
593669ada2 Address review comments
- Simplify map length check in Linux Executor
- Added a `chroot_env` test for config parser
- Moved `ChrootEnv` field from ExecutorCommand to ExecutorContext
- Added a test for `chroot_env` functionality
2016-08-04 15:33:06 -07:00
Diptanu Choudhury
ece625166f Merge pull request #1501 from hashicorp/f-stats-opt-in
Allow operators to opt into publishing node and alloc metrics
2016-08-04 13:33:56 -07:00
Diptanu Choudhury
0b02b7ad5d Merge pull request #1475 from mwieczorek/windows-hostIp-portBindings
Empty host ip for windows containers port bindings
2016-08-04 13:30:43 -07:00
Alex Dadgar
ed08b5f5b8 Merge pull request #1519 from vrenjith/master
Remove docker volumes while removing container
2016-08-04 12:54:00 -07:00
Jay Oster
09f2fc9f8f Add chroot_env to Java driver (which uses the exec driver internally) 2016-08-04 11:15:35 -07:00
Kenjiro Nakayama
c2a38d6773 Add TestRktTaskValidate 2016-08-04 23:15:13 +09:00
Kenjiro Nakayama
6b72f2cbc1 Add TestRktTrustPrefix 2016-08-04 17:26:10 +09:00
Kenjiro Nakayama
4b68106f54 Pass command and trust_prefix to the validation of rkt task configuration 2016-08-04 17:24:56 +09:00
vrenjith
52c6201f4a Update docker.go
Remove container volumes
2016-08-04 11:43:50 +05:30
vrenjith
b686be0c9b Update checks_test.go
Remove docker volumes while exiting container
2016-08-04 11:42:47 +05:30
Jay Oster
1876fc2b10 Add config field to specify chroot mapping for exec driver
- Same format as used by the internal chroot mapping
- Map: source_path -> dest_path
- Example HCL:

client {
  chroot_env {
    "/etc" = "/etc"
    "/lib" = "/lib"
    "/opt/projects/foo/bin" = "/usr/bin"
  }
}
2016-08-03 17:17:17 -07:00
Mathias Lafeldt
27d787e76c Test configuration of Docker working directory 2016-08-03 16:35:49 +02:00
Mathias Lafeldt
1ad79f8a19 Docker driver: allow to configure working directory 2016-08-03 16:18:15 +02:00
Alex Dadgar
2d66cf0a7c use priviledge of the config 2016-08-02 16:10:15 -07:00
Alex Dadgar
c2a43d5540 remove gating of ipc, user ns and pidmode based on hosts priviledge mode config 2016-08-02 16:02:34 -07:00
Mathias Lafeldt
b0b3e5e1f6 Fix typo: atttempts 2016-08-02 18:11:03 +02:00
Diptanu Choudhury
3593649e18 Allow operators to opt into publishing node and alloc metrics 2016-08-01 19:52:20 -07:00
Kenjiro Nakayama
f48bbe86ae Fix gofmt in restarts_test.go 2016-07-30 21:11:06 +09:00
Cameron Davison
d866002f82 fix setup consul syncer error message 2016-07-28 22:14:52 -05:00
Alex Dadgar
402d69b63b disable swap 2016-07-28 12:17:00 -07:00
Michal Wieczorek
599d6f9153 Empty host ip for windows containers port bindings 2016-07-28 00:00:57 +02:00
Diptanu Choudhury
03c6692f98 Fixed some bugs 2016-07-25 17:26:38 -07:00
Alex Dadgar
cb0ff81419 Merge pull request #1456 from hashicorp/b-system-job
Node Register handles transistioning to ready and creating evals
2016-07-25 12:46:35 -07:00
Alex Dadgar
cc0fec53f1 initial log api impl 2016-07-25 11:16:01 -07:00
Alex Dadgar
590e5e9e9c Merge pull request #1457 from hashicorp/f-kill-event
Add killing event and mark task as not running when killed
2016-07-22 17:33:18 -07:00
Alex Dadgar
b5b2faf532 Merge pull request #1454 from hashicorp/b-blocking-stats
Driver Kill() does not block Stats()
2016-07-22 17:29:52 -07:00
Michal Wieczorek
f60d2aed58 Link speed for windows network fingerprinting - tests 2016-07-22 22:49:03 +02:00
Alex Dadgar
7bb0a2336a Add killing event and mark task as not running when killed 2016-07-21 15:49:54 -07:00