Alex Dadgar
04d86ffd10
Fix batch handling of complete allocs/node drains
...
This PR fixes:
* An issue in which a node-drain that contains a complete batch alloc
would cause a replacement
* An issue in which allocations with the same name during a scale
down/stop event wouldn't be properly stopped.
* An issue in which batch allocations from previous job versions may not
have been stopped properly.
Fixes https://github.com/hashicorp/nomad/issues/3210
2017-09-14 15:08:57 -07:00
Alex Dadgar
ca07d16510
Changelog
2017-09-14 14:35:53 -07:00
Alex Dadgar
c2d2da1df7
Update CHANGELOG.md
2017-09-14 14:34:02 -07:00
Alex Dadgar
04a04bec52
Merge pull request #3206 from hashicorp/b-eval-index
...
Worker waits til max ModifyIndex across EvalsByJob
2017-09-14 14:29:32 -07:00
Alex Dadgar
eae982d9f2
Changelog
2017-09-14 14:29:02 -07:00
Alex Dadgar
c3cca843b5
Address feedback
2017-09-14 14:28:43 -07:00
Alex Dadgar
4b4e376d7e
Worker waits til max ModifyIndex across EvalsByJob
...
This PR fixes a scheduling race condition in which the plan results from
one invocation of the scheduler were not being considered by the next
since the Worker was not waiting for the correct index.
Fixes https://github.com/hashicorp/nomad/issues/3198
2017-09-14 14:28:43 -07:00
Alex Dadgar
a81ab20f06
Merge pull request #3214 from hashicorp/f-agent-servers
...
Sort /v1/agent/servers output
2017-09-14 14:22:00 -07:00
Alex Dadgar
083aca50f6
changelog
2017-09-14 14:21:41 -07:00
Alex Dadgar
d0a9389a27
use assert
2017-09-14 14:20:22 -07:00
Alex Dadgar
e25dff5a28
Sort /v1/agent/servers output
...
This PR sorts the output of the endpoint since its results are used as
part of Consul checks to avoid the value changing unnecessarily.
Fixes https://github.com/hashicorp/nomad/issues/3211
2017-09-14 14:20:22 -07:00
Alex Dadgar
f9a914b7e2
Merge pull request #3195 from hashicorp/b-node-locking
...
Non-locked accessors to common Node fields
2017-09-14 14:09:35 -07:00
Alex Dadgar
98c47c72d0
changelog and feedback
2017-09-14 14:08:58 -07:00
Alex Dadgar
f23ac5f083
Non-locked accessors to common Node fields
...
This PR removes locking around commonly accessed node attributes that do
not need to be locked. The locking could cause nodes to TTL as the
heartbeat code path was acquiring a lock that could be held for an
excessively long time. An example of this is when Vault is inaccessible,
since the fingerprint is run with a lock held but the Vault
fingerprinter makes the API calls with a large timeout.
Fixes https://github.com/hashicorp/nomad/issues/2689
2017-09-14 14:08:26 -07:00
Alex Dadgar
2a3b65bb66
Merge pull request #3209 from dezmodue/patch-1
...
Adding missing <
2017-09-14 10:53:26 -07:00
Alex Dadgar
58f3a29d07
Merge pull request #3205 from hashicorp/f-deployment-acl
...
Deployment.GetDeployment ACL enforcement
2017-09-14 10:50:17 -07:00
Alex Dadgar
5fc7e11bd5
review feeback
2017-09-14 10:50:04 -07:00
Alex Dadgar
a88ce5439d
fix multierror merge
2017-09-13 21:48:52 -07:00
Alex Dadgar
3777592079
changelog
2017-09-13 15:46:41 -07:00
Alex Dadgar
74d30d4412
Merge pull request #3203 from hashicorp/b-search-hyphens
...
Fix UUID search with hyphens
2017-09-13 15:45:22 -07:00
Chelsea Komlo
81fae05b42
Merge pull request #3171 from hashicorp/f-prometheus-metrics
...
Prometheus metrics
2017-09-13 17:02:32 -04:00
Chelsea Holland Komlo
34ff818cbb
vendor go-metrics
2017-09-13 19:31:26 +00:00
Chelsea Holland Komlo
d11a5da147
vendor gzip libarary
2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo
6cba6549a5
fix bug to return prometheus sink
2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo
6cee0ba838
fixups from code review
2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo
f25cbdb0d1
updated documentation
2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo
03b24df193
refactoring prometheus endpoint
2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo
a099f7c809
vendor necessary libraries for prometheus metrics
2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo
356375687a
add documentation for prometheus config option
2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo
59a891cb27
enabling prometheus metrics should be a config option
2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo
815b23fe06
add endpoint for prometheus
2017-09-13 19:21:21 +00:00
Alex Dadgar
bcb1cde6ad
Merge pull request #3192 from hashicorp/f-acl-cli
...
Add ACL Bootstrap CLI
2017-09-13 11:46:15 -07:00
Alex Dadgar
ad73dbb70d
Deployment.GetDeployment ACL enforcement
2017-09-13 11:44:23 -07:00
Alex Dadgar
efc5cd5b4c
vendor go-plugin file
2017-09-13 11:44:09 -07:00
Alex Dadgar
288f5330a9
changelog
2017-09-13 11:43:13 -07:00
Alex Dadgar
84c187f35c
Merge pull request #3201 from hashicorp/b-periodic-restore
...
Fix restoration of stopped periodic jobs
2017-09-13 11:42:29 -07:00
Alex Dadgar
dc9f3f173b
Merge pull request #3204 from hashicorp/f-sync-acl
...
sync acls
2017-09-13 11:39:22 -07:00
Alex Dadgar
de870afdd5
sync acls
2017-09-13 11:38:29 -07:00
Alex Dadgar
6bb30befd9
remove f-acl
2017-09-13 11:13:04 -07:00
Alex Dadgar
c8f793a569
Fix UUID search with hyphens
...
This PR fixes:
* UUID lookup with hyphens and odd length. The math was wrong. There is
now a test that ranges over all possible values.
* Fixes an unreported issue that could be hit when a job has more than 4
hyphens in it as UUID lookup doesn't allow that.
Fixes https://github.com/hashicorp/nomad/issues/3141
2017-09-13 10:28:42 -07:00
Alex Dadgar
71fdfe2081
bump version
2017-09-13 09:54:55 -07:00
Simone Sciarrati
ec1842be60
Adding missing <
...
Missing < for the TaskGroup
2017-09-13 11:40:37 +02:00
Alex Dadgar
0a078d3dbd
Fix restoration of stopped periodic jobs
...
This PR fixes an issue in which we would add a stopped periodic job to
the periodic launcher.
2017-09-12 14:25:40 -07:00
Charlie Voiselle
ae4a996e0d
Moved '.' into paragraph
2017-09-12 17:20:54 -04:00
Michael Lange
81e1fa3a45
Merge pull request #3199 from hashicorp/d-acls-guide-description
...
Update the ACL guide description
2017-09-12 13:33:20 -07:00
Michael Lange
7b2bbbc3eb
Update the ACL guide description
...
Now it's about ACLs instead of outage recovery.
2017-09-12 10:33:17 -07:00
Michael Schurter
8e5d7aa948
Merge pull request #3196 from hashicorp/b-fix-vagrant-perms
...
Fix permissions of $GOPATH in Vagrantfile
2017-09-12 10:02:19 -07:00
Chelsea Komlo
cd8912bfe4
Merge pull request #3193 from hashicorp/b-blake2b-386-arch
...
Vendor blake2b to allow for building on x386 architecture
2017-09-12 11:16:56 -04:00
Michael Schurter
7e3d975b71
Fix permissions of $GOPATH in Vagrantfile
...
Technically just the true->false is needed. The `chown -R` was a first
attempt that didn't fix the bug, but it's a nice simplification.
2017-09-11 22:38:10 -07:00
Alex Dadgar
693cd7c1e5
bump getting started vagrant
2017-09-11 16:46:54 -07:00