Commit Graph

1801 Commits

Author SHA1 Message Date
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
Alex Dadgar 2781cbbde1 Exec driver only applies on linux as root 2015-10-28 17:22:04 -07:00
Alex Dadgar 5b1d6ed985 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 b78c00f255 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 f0e445d8f5 Refactored the findInterfaces method to make it more clear 2015-10-28 15:48:08 -07:00
Diptanu Choudhury a3d79ec589 Some coding style changes 2015-10-28 15:03:11 -07:00
Diptanu Choudhury 9b86b2313f We don't want lo and PPP in production 2015-10-28 14:44:46 -07:00
Diptanu Choudhury df5efd1e24 Added more information to log 2015-10-28 14:41:13 -07:00
Diptanu Choudhury 58bf6047a7 Adding more information to errors 2015-10-28 14:32:13 -07:00
Alex Dadgar b2d26d1838 Merge pull request #355 from steve-jansen/docs-agent-config-atlas
Update agent config docs on Atlas integration
2015-10-28 14:30:56 -07:00
Steve Jansen 13b02ea305 Update agent config docs on Atlas integration
Provide a pointer to https://github.com/hashicorp/nomad/issues/183 regarding Nomad/Atlas integration
2015-10-28 17:05:27 -04:00
Diptanu Choudhury 2464789b73 Added more comments 2015-10-28 14:03:33 -07:00
Chris Bednarski 3076b911d8 Merge pull request #350 from hashicorp/b-vagrantfile
Update the vagrant file
2015-10-28 13:53:28 -07:00
Chris Bednarski 201e9a0ff3 Double the ram, double the fun 2015-10-28 13:53:04 -07:00
Diptanu Choudhury 915be5e86c Selecting the ipv4 address if there are ipv4 and ipv6 addresses configured for an interface 2015-10-28 13:38:28 -07:00
Ryan Uber 1fdbd54611 nomad: job watches return correct response, add tests 2015-10-28 12:43:00 -07:00
Ryan Uber faab2495ee nomad: test all node watch triggers 2015-10-28 12:29:06 -07:00
Ryan Uber 2c4735fbcf nomad: support blocking queries on nodes 2015-10-28 11:25:35 -07:00
Ryan Uber 04dcd3f440 nomad: use a generic full-table watcher 2015-10-28 11:15:54 -07:00