Commit Graph

3163 Commits

Author SHA1 Message Date
Ryan Uber
284c2e2f2b nomad: cleanup and more tests 2015-10-30 08:27:47 -07:00
Ryan Uber
ae4156d2b3 nomad/state: add watch trigger tests 2015-10-29 21:42:41 -07:00
Ryan Uber
6fb8a2d3e2 nomad: more tests 2015-10-29 19:14:21 -07:00
Alex Dadgar
ae2ab45164 Merge pull request #365 from hashicorp/dev-config-network-interface
Setting the default network interface for dev mode only in Linux and Darwin
2015-10-29 17:28:16 -07:00
Diptanu Choudhury
b514b2145c Setting the default network interface for dev mode only in Linux and Darwin 2015-10-29 17:03:54 -07:00
Diptanu Choudhury
0f787a331d Merge pull request #356 from hashicorp/network-fingerprint-refactor
Network fingerprint refactor
2015-10-29 16:59:54 -07:00
Alex Dadgar
f9497a5b73 Merge pull request #352 from hashicorp/f-qemu-windows
Get Qemu to fingerprint and test properly on both windows and linux
2015-10-29 16:57:29 -07:00
Alex Dadgar
1d06f44603 Add comment explaining the qemu-img command on windows 2015-10-29 16:57:02 -07:00
Ryan Uber
a27e8bbe51 nomad: support blocking queries on eval-specific allocations 2015-10-29 16:20:57 -07:00
Diptanu Choudhury
5b7a7f00e5 Merge branch 'master' into network-fingerprint-refactor 2015-10-29 16:20:20 -07:00
Diptanu Choudhury
a2bdd2ae0c Refactored code 2015-10-29 16:16:10 -07:00
Ryan Uber
1e4320e033 nomad: support blocking queries for single evals 2015-10-29 16:12:25 -07:00
Ryan Uber
ff6e1fea49 nomad: support blocking queries on single allocations 2015-10-29 16:04:53 -07:00
Diptanu Choudhury
804d88d7f0 Renamed BasicNetworkInterfaceDetector to DefaultNetworkInterfaceDetector 2015-10-29 15:55:49 -07:00
Ryan Uber
89a0af6306 nomad: support blocking queries on single nodes 2015-10-29 15:48:44 -07:00
Alex Dadgar
56f5e53382 Merge pull request #362 from gregory-m/node-gc-conf
Configure Node GC Threshold
2015-10-29 15:45:57 -07:00
Alex Dadgar
035e5ba80f Comments 2015-10-29 15:39:26 -07:00
Ryan Uber
de495bfc3c nomad: support blocking queries on job allocations 2015-10-29 15:32:05 -07:00
Alex Dadgar
82529305f3 Cleanup exec_linux, force cgroups, check for systemd and update the Open() api 2015-10-29 15:26:35 -07:00
Diptanu Choudhury
06ac210eec Fixed a debug message 2015-10-29 15:17:40 -07:00
Diptanu Choudhury
d684b8e0e7 Fixed style of a debug log 2015-10-29 15:15:44 -07:00
Diptanu Choudhury
e85ec5c2e2 Added a test to ensure we are not selecting devices which are not marked as UP or loopback and have no IP addresses 2015-10-29 15:14:13 -07:00
Ryan Uber
cd5bdd7c08 nomad: support blocking queries on single jobs 2015-10-29 15:01:29 -07:00
Ryan Uber
573e9dfb9a nomad: export watcher to share between rpc and state store 2015-10-29 14:47:39 -07:00
Diptanu Choudhury
bbea682632 Merge pull request #361 from gregory-m/lo-iface-name-fix
Fix local interface name on OS X
2015-10-29 13:56:19 -07:00
Ryan Uber
d9a77e0257 nomad: add triggering for more types of events 2015-10-29 13:52:15 -07:00
Seth Vargo
6a7e874cc1 Merge pull request #363 from hashicorp/sethvargo/releases
Trailing slash
2015-10-29 16:25:58 -04:00
Ryan Uber
31abf97e06 nomad: move state watcher into its own file, add tests 2015-10-29 13:21:25 -07:00
Seth Vargo
a2d7903cb9 Trailing slash 2015-10-29 16:16:07 -04:00
Ryan Uber
d9e593a0ae nomad: deduplicate watch items with a helper 2015-10-29 12:09:09 -07:00
Ryan Uber
2558ab3f31 nomad: unify watcher inputs for reusability 2015-10-29 11:59:15 -07:00
Diptanu Choudhury
24b1a8eb3e Added some coments 2015-10-29 11:05:58 -07:00
Diptanu Choudhury
617edcdddd Added tests for testing detecting default device 2015-10-29 11:01:15 -07:00
Gregory Man
3c84b20d85 node_gc_threshold documentation. 2015-10-29 19:26:18 +02:00
Gregory Man
21879e22e0 Added node_gc_threshold configuration option
Close #333
2015-10-29 15:58:21 +02:00
Gregory Man
efada3bd28 Fix local interface name on OS X 2015-10-29 14:30:26 +02:00
Seth Vargo
7dd7e6ac46 Merge pull request #358 from charlieok/patch-1
should be use -> should be used
2015-10-29 00:32:54 -04:00
Charlie O'Keefe
fb7f1e9497 should be use -> should be used 2015-10-28 22:09:00 -06:00
Seth Vargo
1bd5d1909d Merge pull request #357 from charlieok/patch-1
Gracefully termination -> Graceful termination
2015-10-29 00:06:45 -04:00
Charlie O'Keefe
d8a104ff1f Gracefully termination -> Graceful termination 2015-10-28 22:03:59 -06:00
Ryan Uber
b162c259d2 nomad: support full table watches for allocations 2015-10-28 19:25:39 -07:00
Ryan Uber
b9fb025200 nomad: fix node test output 2015-10-28 18:35:48 -07:00
Ryan Uber
e23f547f23 nomad: support blocking queries on eval list 2015-10-28 18:34:56 -07:00
Ryan Uber
c74a5b8c0a nomad/state: move methods so we can sanely find them 2015-10-28 18:11:55 -07:00
Alex Dadgar
ecdc1c92b6 Exec driver only applies on linux as root 2015-10-28 17:22:04 -07:00
Alex Dadgar
dc7cbcc3f0 Refactor spawn-daemon so it can be used by all OSes and make it write exit code to a file 2015-10-28 16:23:33 -07:00
Diptanu Choudhury
764a6bdf1d Introduced an interface to detect network devices so that we can mock it for tests 2015-10-28 15:58:40 -07:00
Diptanu Choudhury
e61c4ad130 Refactored the findInterfaces method to make it more clear 2015-10-28 15:48:08 -07:00
Diptanu Choudhury
e470eb230d Some coding style changes 2015-10-28 15:03:11 -07:00
Diptanu Choudhury
65b47b824a We don't want lo and PPP in production 2015-10-28 14:44:46 -07:00