Commit Graph

3163 Commits

Author SHA1 Message Date
Armon Dadgar
924bf123a1 scheduler: binpacker makes network offers 2015-09-13 14:31:32 -07:00
Armon Dadgar
5db6f9b8ba scheduler: expose AddReserved, add test 2015-09-13 14:31:01 -07:00
Armon Dadgar
dba4ec3e3a nomad: adding copy helpers 2015-09-13 14:30:45 -07:00
Ryan Uber
c5ab72acc2 api: run all tests in parallel 2015-09-13 12:17:08 -07:00
Ryan Uber
bbb31d7ce7 client: always create alloc dir if it is non-empty 2015-09-13 12:14:12 -07:00
Armon Dadgar
793521d1fe scheduler: adding helper library for network assignments 2015-09-12 19:34:46 -07:00
Armon Dadgar
8903b8c9a6 nomad: add device name for network 2015-09-12 19:13:00 -07:00
Armon Dadgar
dc8d1af0e8 nomad: removing public field of network 2015-09-12 17:32:08 -07:00
Armon Dadgar
c6b4bd3fa3 nomad: aggregate by blank network constraints 2015-09-12 17:04:09 -07:00
Armon Dadgar
d5739d7a6d nomad: Support adding NetworkResource by CIDR/IP 2015-09-12 16:33:41 -07:00
Armon Dadgar
4dc1506e66 nomad: handle network usage superset by CIDR/IP 2015-09-12 16:29:45 -07:00
Armon Dadgar
d7c31029f6 nomad: Adding per-task resources block 2015-09-12 16:22:18 -07:00
Armon Dadgar
a34f3261d2 nomad: removing unused job type 2015-09-12 16:22:09 -07:00
Armon Dadgar
63928dfed4 nomad: adding IP to NetworkResource 2015-09-12 16:21:57 -07:00
Armon Dadgar
bf3981a397 scheduler: refactor shared logic 2015-09-12 14:44:40 -07:00
Ryan Uber
5529aab866 client: skip init in dev mode 2015-09-12 13:16:27 -07:00
Ryan Uber
f7f32f3c35 api: remove unneeded test 2015-09-12 11:49:32 -07:00
Ryan Uber
5b7073b294 client: init the alloc dir 2015-09-12 11:47:44 -07:00
Ryan Uber
9dc59deadf agent: remove unreachable code 2015-09-11 21:28:35 -07:00
Ryan Uber
3c6c6a6cd9 api: fix nodes tests 2015-09-11 21:28:21 -07:00
Ryan Uber
29f3fc3005 testutil: enable dev mode using a config flag.
This flag is not normally supported in Nomad, but we really need
to use it for testing to lower the timing values for registration
retries et. al. Instead of just enabling it on all tests, we
provide a bool flag in the config, which just makes the test
server pass the extra CLI arg when true.
2015-09-11 21:25:46 -07:00
Ryan Uber
8e32daec1d testutil: re-enable dev mode for short timing values 2015-09-11 20:50:08 -07:00
Ryan Uber
0d897daba7 api: correct status leader test 2015-09-11 20:35:13 -07:00
Ryan Uber
e4c29dc579 client: alloc dirs tolerate missing directories 2015-09-11 20:32:55 -07:00
Ryan Uber
0d291a82a9 Merge pull request #39 from hashicorp/f-more-api
Fill missing API endpoint methods
2015-09-11 17:44:25 -07:00
Ryan Uber
562d214054 Merge pull request #33 from hashicorp/f-network
Network config
2015-09-11 17:43:32 -07:00
Chris Bednarski
74c304f646 Merge pull request #38 from hashicorp/website
website
2015-09-11 17:41:01 -07:00
Ryan Uber
ea24468e0e api: use strconv 2015-09-11 17:20:33 -07:00
Chris Bednarski
f4d489af6e Update the interface, add UniversalExecutor, add stub for LinuxExecutor 2015-09-11 17:12:48 -07:00
Ryan Uber
2ba01d2dd9 api: add status endpoint 2015-09-11 17:02:56 -07:00
captainill
c3d4185f32 website 2015-09-11 17:01:02 -07:00
Ryan Uber
2a5c563bd6 api: add nodes endpoints 2015-09-11 16:51:18 -07:00
Clint Shryock
0928feeb9e Base Vagrantfile 2015-09-11 16:58:16 -05:00
Chris Bednarski
c9994c3e59 Added stub / spec for executor interface 2015-09-11 12:35:03 -07:00
Chris Bednarski
9bce091f0b Merge pull request #35 from hashicorp/b-serfv4
Change serf version to 4 so the entire test suite doesn't fail
2015-09-11 12:34:21 -07:00
Ryan Uber
9d4e52ddc2 agent: add default bind addr and port numbers 2015-09-11 12:19:05 -07:00
Ryan Uber
aa40658344 agent: split out server config parser, add tests 2015-09-11 12:06:42 -07:00
Armon Dadgar
40b84e3023 scheduler: recompute scan limit on SetNodes 2015-09-11 12:03:41 -07:00
Armon Dadgar
23b6a44f82 scheduler: Adding SetLimit to LimitIterator 2015-09-11 12:01:22 -07:00
Ryan Uber
c300682e97 agent: allow specifying advertise addrs in ip:port format 2015-09-11 11:27:14 -07:00
Chris Bednarski
d1635f91e2 Remove todo because there is no serf version 5 2015-09-11 11:22:36 -07:00
Chris Bednarski
ac4faf45e0 Merge pull request #34 from hashicorp/f-server-logging
Added logging to server startup so we can see where it fails
2015-09-11 11:20:20 -07:00
Ryan Uber
276165344d agent: test listener from config 2015-09-11 11:10:55 -07:00
Chris Bednarski
3c1bb50da3 Change error to err to be consistent with other usage 2015-09-11 10:26:33 -07:00
Chris Bednarski
14863761b5 Change debug to info 2015-09-11 10:24:52 -07:00
Chris Bednarski
70ff251770 Change to use the logger instance defined earlier 2015-09-11 10:23:53 -07:00
Chris Bednarski
c948240806 Change serf version to 4 so the entire test suite doesn't fail 2015-09-11 10:21:15 -07:00
Chris Bednarski
d68750bd1c Added logging to server startup so we can see where it fails 2015-09-11 10:20:36 -07:00
Ryan Uber
5dbf4ad02e Merge pull request #31 from hashicorp/f-client
API client package
2015-09-10 19:21:56 -07:00
Ryan Uber
61b5f0413e agent: adjust tests 2015-09-10 19:04:06 -07:00