Commit graph

1869 commits

Author SHA1 Message Date
Diptanu Choudhury edcd677df6 Re-using toDuration while figuring out staggertime 2015-10-30 16:49:08 -07:00
Chris Bednarski a67a78a2d9 Use the same network fingerprinter for *nix and windows 2015-10-30 16:48:02 -07:00
Diptanu Choudhury 99c24e5243 Sending restart policies to the Nomad API 2015-10-30 16:32:05 -07:00
Diptanu Choudhury c883f9496a Added support for parsing restart blocks 2015-10-30 15:51:39 -07:00
Ryan Uber e1b0bd4b8d website: clean up HTTP docs, add blocking queries 2015-10-30 14:38:51 -07:00
Ryan Uber b54309282f nomad/state: subscribe/unsubscribe all watch items while holding the lock 2015-10-30 08:46:03 -07:00
Ryan Uber d21c49dedd nomad: cleanup and more tests 2015-10-30 08:27:47 -07:00
Ryan Uber 1322b844ca nomad/state: add watch trigger tests 2015-10-29 21:42:41 -07:00
Ryan Uber ff37110deb nomad: more tests 2015-10-29 19:14:21 -07:00
Alex Dadgar 141e3c69d8 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 c0d37ce58c Setting the default network interface for dev mode only in Linux and Darwin 2015-10-29 17:03:54 -07:00
Diptanu Choudhury cae9b40877 Merge pull request #356 from hashicorp/network-fingerprint-refactor
Network fingerprint refactor
2015-10-29 16:59:54 -07:00
Alex Dadgar 93e1b49278 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 01e0be4cc6 Add comment explaining the qemu-img command on windows 2015-10-29 16:57:02 -07:00
Ryan Uber 55cb559eae nomad: support blocking queries on eval-specific allocations 2015-10-29 16:20:57 -07:00
Diptanu Choudhury b506c224d6 Merge branch 'master' into network-fingerprint-refactor 2015-10-29 16:20:20 -07:00
Diptanu Choudhury e55bbe5f2c Refactored code 2015-10-29 16:16:10 -07:00
Ryan Uber 1469d0e7c4 nomad: support blocking queries for single evals 2015-10-29 16:12:25 -07:00
Ryan Uber e1ecd11f63 nomad: support blocking queries on single allocations 2015-10-29 16:04:53 -07:00
Diptanu Choudhury 17d430e46c Renamed BasicNetworkInterfaceDetector to DefaultNetworkInterfaceDetector 2015-10-29 15:55:49 -07:00
Ryan Uber 09c74acc36 nomad: support blocking queries on single nodes 2015-10-29 15:48:44 -07:00
Alex Dadgar f2bbc0dd6b Merge pull request #362 from gregory-m/node-gc-conf
Configure Node GC Threshold
2015-10-29 15:45:57 -07:00
Alex Dadgar 72fea7d2b5 Comments 2015-10-29 15:39:26 -07:00
Ryan Uber a0e54d6f62 nomad: support blocking queries on job allocations 2015-10-29 15:32:05 -07:00
Alex Dadgar ec2367baec Cleanup exec_linux, force cgroups, check for systemd and update the Open() api 2015-10-29 15:26:35 -07:00
Diptanu Choudhury 1360f8c6fa Fixed a debug message 2015-10-29 15:17:40 -07:00
Diptanu Choudhury d31f567484 Fixed style of a debug log 2015-10-29 15:15:44 -07:00
Diptanu Choudhury 08302d43ee 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 c8c3ded1d7 nomad: support blocking queries on single jobs 2015-10-29 15:01:29 -07:00
Ryan Uber 6b7ca19a76 nomad: export watcher to share between rpc and state store 2015-10-29 14:47:39 -07:00
Diptanu Choudhury e76465bfd7 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 f5f01e6cd2 nomad: add triggering for more types of events 2015-10-29 13:52:15 -07:00
Seth Vargo 5e5543bed2 Merge pull request #363 from hashicorp/sethvargo/releases
Trailing slash
2015-10-29 16:25:58 -04:00
Ryan Uber 526c1c959b nomad: move state watcher into its own file, add tests 2015-10-29 13:21:25 -07:00
Seth Vargo 1041cc74c5 Trailing slash 2015-10-29 16:16:07 -04:00
Ryan Uber eaeec03e1e nomad: deduplicate watch items with a helper 2015-10-29 12:09:09 -07:00
Ryan Uber a4ee8929e3 nomad: unify watcher inputs for reusability 2015-10-29 11:59:15 -07:00
Diptanu Choudhury b048919b63 Added some coments 2015-10-29 11:05:58 -07:00
Diptanu Choudhury 6400273cf8 Added tests for testing detecting default device 2015-10-29 11:01:15 -07:00
Gregory Man 03cfaa0e78 node_gc_threshold documentation. 2015-10-29 19:26:18 +02:00
Gregory Man 8f178b54d3 Added node_gc_threshold configuration option
Close #333
2015-10-29 15:58:21 +02:00
Gregory Man af4e123a89 Fix local interface name on OS X 2015-10-29 14:30:26 +02:00
Seth Vargo ac28fccf15 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 b710725c5f should be use -> should be used 2015-10-28 22:09:00 -06:00
Seth Vargo b2150359bb Merge pull request #357 from charlieok/patch-1
Gracefully termination -> Graceful termination
2015-10-29 00:06:45 -04:00
Charlie O'Keefe bebb3ceac2 Gracefully termination -> Graceful termination 2015-10-28 22:03:59 -06:00
Ryan Uber 692e4e371a nomad: support full table watches for allocations 2015-10-28 19:25:39 -07:00
Ryan Uber 6b76a3fc62 nomad: fix node test output 2015-10-28 18:35:48 -07:00
Ryan Uber 4e70d52e29 nomad: support blocking queries on eval list 2015-10-28 18:34:56 -07:00
Ryan Uber 07b6597353 nomad/state: move methods so we can sanely find them 2015-10-28 18:11:55 -07:00