Commit Graph

1771 Commits

Author SHA1 Message Date
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
Diptanu Choudhury fffb0ed5ae Exctracted a method to detect network interface 2015-10-28 11:11:13 -07:00
Alex Dadgar 9f7dcc4ced Use same binary as Fingerprint in the QemuCompatible function 2015-10-28 10:28:53 -07:00
Alex Dadgar d11a7782a9 Merge pull request #351 from hashicorp/f-clean-constraints
Remove weight and hard/soft fields from constraint
2015-10-28 10:14:06 -07:00
Diptanu Choudhury 7a15cf0e45 Fix merge conflicts 2015-10-28 08:54:29 -07:00
Diptanu Choudhury a87519f71a Merge pull request #353 from nak3/assign-ip
Assign IP address when network device is specified
2015-10-28 07:46:56 -07:00
Kenjiro Nakayama a79ae3c546 Assign IP when network device is specified 2015-10-28 21:19:06 +09:00
Mitchell Hashimoto 0e5a3c273b style change, no logic change 2015-10-27 19:39:19 -07:00
Ryan Uber 2e20f9e89a nomad: allow blocking on empty data views 2015-10-27 17:58:04 -07:00
Ryan Uber ee44b43f33 nomad: initial pass at blocking queries for jobs 2015-10-27 17:58:04 -07:00
Alex Dadgar a5a1e45f4b Get Qemu to fingerprint and test properly on both windows and linux 2015-10-27 15:27:11 -07:00
Alex Dadgar 3cdbfc010f Remove weight and hard/soft fields from constraint 2015-10-27 14:31:14 -07:00
Diptanu Choudhury 809f360743 Using the Go stdlib APIs to detect IP Address of a device 2015-10-27 14:14:25 -07:00
Chris Bednarski e5ed989d4d Merge branch 'master' into b-vagrantfile 2015-10-27 12:53:25 -07:00
Diptanu Choudhury ca99960cc1 Merge pull request #334 from nak3/set-default-net-interface
Set default network interface rather than eth0
2015-10-27 11:30:03 -07:00
Kenjiro Nakayama e688dc3826 Set default network interface rather than eth0 for non-dev mode, and use loopback device for dev mode by default 2015-10-28 02:03:48 +09:00
Alex Dadgar c7f904ff31 Merge pull request #321 from hashicorp/f-unique-constraint
Add "distinctHost" constraint
2015-10-26 14:18:57 -07:00
Alex Dadgar 1784387e1d Rename Dynamic -> ProposedAllocConstraintIterator 2015-10-26 14:12:54 -07:00
Alex Dadgar a9135b92b2 Cleanup DynamicConstraintIterator 2015-10-26 14:01:32 -07:00
Seth Vargo 598cc66a75 Merge pull request #340 from hashicorp/sethvargo/releases
Use releases for releases
2015-10-26 16:55:38 -04:00
Seth Vargo a9fe07dea6 Merge pull request #345 from charlieok/patch-1
have a the string -> have the string
2015-10-26 16:51:42 -04:00
Charlie O'Keefe 80a6f03c53 have a the string -> have the string 2015-10-26 14:51:17 -06:00
Alex Dadgar fd9c2baf02 Constants for constraints and renaming to use undescore instead of camel 2015-10-26 13:47:56 -07:00
Seth Vargo cecd4d8d6f Merge pull request #344 from charlieok/patch-1
deregistraion -> deregistration
2015-10-26 16:20:38 -04:00
Charlie O'Keefe c28ded1084 deregistraion -> deregistration 2015-10-26 14:20:10 -06:00
Seth Vargo 2322c69c5b Merge pull request #343 from charlieok/patch-1
an option job ID -> an optional job ID
2015-10-26 16:00:28 -04:00
Charlie O'Keefe 3f361edff2 an option job ID -> an optional job ID 2015-10-26 13:59:47 -06:00
Seth Vargo d938c6525c Merge pull request #341 from achanda/gofmt
Run gofmt
2015-10-26 15:25:32 -04:00
Abhishek Chanda 70293e9bc8 Run gofmt 2015-10-26 19:24:37 +00:00
Armon Dadgar 25b2e3ca58 Merge pull request #327 from hashicorp/b-check-env-var-updates
Check for environment variable updates for tasks
2015-10-26 11:55:52 -07:00
Alex Dadgar bb40d48f8e Merge pull request #330 from kikitux/master
list Getting in depth in same order as menu
2015-10-26 11:29:22 -07:00