Commit Graph

8274 Commits

Author SHA1 Message Date
Alex Dadgar
b6ed801ce0 fix test 2017-08-21 14:07:54 -07:00
Alex Dadgar
1f54b68223 Placing allocs counts towards placement limit
This PR makes placing new allocations count towards the limit. We do not
restrict how many new placements are made by the limit but we still
count towards the limit. This has the nice affect that if you have a
group with count = 5 and max_parallel = 1 but only 3 allocs exist for it
and a change is made, you will create 2 more at the new version but not
destroy one, taking you down to two running as you would have
previously.

Fixes https://github.com/hashicorp/nomad/issues/3053
2017-08-21 12:41:19 -07:00
Rob Genova
76f01880bd Merge pull request #3059 from hashicorp/d-minor-doc-updates-2
Minor doc updates
2017-08-21 11:20:26 -07:00
Alex Dadgar
d5982d5584 Merge pull request #3041 from hashicorp/b-3036-update-gopsutil
Update gopsutil to stop calling SetEnv
2017-08-21 10:42:04 -07:00
Alex Dadgar
7342fe55f8 fix hook 2017-08-20 20:45:00 -07:00
Rob Genova
6cc533b573 add bold formatting 2017-08-19 00:14:13 +00:00
Rob Genova
c6f869b04b reword for clarity; note that data is not replicated between regions 2017-08-19 00:13:26 +00:00
Rob Genova
1c4dc061f8 Merge pull request #3058 from hashicorp/d-minor-doc-updates
Minor documentation tweaks
2017-08-18 16:35:52 -07:00
Rob Genova
de36bd7f42 Reword long-ish sentence. 2017-08-18 23:18:20 +00:00
Rob Genova
0774bba4fd Clarify that it is not required to set a Vault token on the clients. 2017-08-18 23:17:20 +00:00
Rob Genova
5640284730 Make it explicit that data is not replicated between regions. 2017-08-18 23:16:39 +00:00
Michael Schurter
0a4ea47de4 Merge pull request #3031 from hashicorp/f-2924-consul-headers
Add Header and Method support for HTTP checks
2017-08-18 13:35:08 -07:00
Michael Schurter
948d869cfd Merge mistake made go fmt fail 2017-08-18 13:19:44 -07:00
Alex Dadgar
879eb315ea build acl branch 2017-08-17 17:29:33 -07:00
Michael Schurter
ad940977fa Merge pull request #3021 from clinta/docker-mount2
Expose docker mount options
2017-08-17 16:57:09 -07:00
Michael Schurter
cb17d47f40 Update to latest upstream gopsutil 2017-08-17 16:52:53 -07:00
Michael Schurter
a6bf5b6098 Document check header and method 2017-08-17 16:49:14 -07:00
Michael Schurter
9757867396 Add check header and method changelog entry 2017-08-17 16:49:14 -07:00
Michael Schurter
172c40a90e Put header diff in its own function 2017-08-17 16:49:14 -07:00
Michael Schurter
42041e5666 Test check header error conditions 2017-08-17 16:49:14 -07:00
Michael Schurter
f41475e9dd Error should tell user exactly what type to use 2017-08-17 16:49:14 -07:00
Michael Schurter
5192cdd8d2 Initializing embedded structs is weird 2017-08-17 16:49:14 -07:00
Michael Schurter
bf9f096107 Add diff support for ServiceCheck.Header 2017-08-17 16:49:14 -07:00
Michael Schurter
e0ea41e774 Test createCheckReg 2017-08-17 16:49:14 -07:00
Michael Schurter
7627c1705b Update and test service/check interpolation 2017-08-17 16:49:14 -07:00
Michael Schurter
99724b3858 Add missing consul/testutil/retry pkg 2017-08-17 16:44:21 -07:00
Michael Schurter
45a8617442 Add jobspec test for check method/header 2017-08-17 16:44:21 -07:00
Michael Schurter
c7e5ef7562 Update Consul to v0.9.2 for Header and Method 2017-08-17 16:44:21 -07:00
Michael Schurter
947516405a Add Header and Method support for HTTP checks 2017-08-17 16:44:21 -07:00
Michael Schurter
9d4b98f126 Fix broken link 2017-08-17 16:39:19 -07:00
Michael Schurter
ecefbf0a23 Add shutdown delay changelog entry 2017-08-17 14:39:42 -07:00
Michael Schurter
f143501c31 Merge pull request #3043 from hashicorp/f-2441-shutdown-delay
Add optional shutdown delay to tasks
2017-08-17 14:37:48 -07:00
Michael Schurter
fbe85b5964 Lower ShutdownDelay for non-Travis testing 2017-08-17 14:23:42 -07:00
Alex Dadgar
880c303d1c changelog 2017-08-17 14:13:25 -07:00
Alex Dadgar
7750c6b99c Merge pull request #3051 from hashicorp/b-batcher
Fix race creating EvalFuture
2017-08-17 14:12:51 -07:00
Michael Schurter
08d9c4b067 Fix ShutdownDelay diff test 2017-08-17 14:05:51 -07:00
Michael Schurter
b4480cdcff Lower shutdown delay in test 2017-08-17 13:57:22 -07:00
Alex Dadgar
6f1506cb21 Fix race creating EvalFuture
This PR fixes https://github.com/hashicorp/nomad/issues/3044
2017-08-17 13:23:58 -07:00
Michael Schurter
32d782deb1 Add ShutdownDelay to JSON Job docs 2017-08-17 11:30:29 -07:00
Michael Schurter
ecf0d20af7 Make shutdown delay log DEBUG, not INFO 2017-08-17 11:28:33 -07:00
Alex Dadgar
15e25f1812 Merge pull request #3048 from hashicorp/f-pre-push
Add a shared git hooks directory
2017-08-17 11:02:35 -07:00
Alex Dadgar
25d1d2e80e Add a shared git hooks directory
This PR adds a place to share git hooks.
2017-08-17 10:55:53 -07:00
Michael Schurter
48c4a03cbf Merge pull request #3045 from slobo/patch-1
Spelling fix: stana -> stanza
2017-08-17 09:24:11 -07:00
Clint Armstrong
1378f03052 restrict mount to volume type 2017-08-17 09:52:13 -04:00
Slobodan Mišković
c653ead493 Spelling fix: stana -> stanza 2017-08-16 23:32:41 -07:00
Michael Schurter
beae45bad5 Add optional shutdown delay to tasks
Fixes #2441

Defaults to 0 (no delay) for backward compat and because this feature
should be opt-in.
2017-08-16 17:59:46 -07:00
Alex Dadgar
ac81f4aa0f bump version 2017-08-16 16:45:54 -07:00
Alex Dadgar
2bae6f2520 Merge pull request #3042 from hashicorp/f-version
Add version package
2017-08-16 16:32:31 -07:00
Michael Schurter
25b0e64df5 Add #3041 to changelog 2017-08-16 16:27:32 -07:00
Alex Dadgar
7b7ef952f5 Fix tests 2017-08-16 16:26:52 -07:00