Alex Dadgar
c55b7ce4d6
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
90a3c20017
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
d306da846c
changelog and feedback
2017-09-14 14:08:58 -07:00
Alex Dadgar
07ed83fdd5
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
2102bc3968
Merge pull request #3209 from dezmodue/patch-1
...
Adding missing <
2017-09-14 10:53:26 -07:00
Alex Dadgar
fa2dd57071
Merge pull request #3205 from hashicorp/f-deployment-acl
...
Deployment.GetDeployment ACL enforcement
2017-09-14 10:50:17 -07:00
Alex Dadgar
1e644393aa
review feeback
2017-09-14 10:50:04 -07:00
Alex Dadgar
9b997d2670
fix multierror merge
2017-09-13 21:48:52 -07:00
Alex Dadgar
5502f46951
changelog
2017-09-13 15:46:41 -07:00
Alex Dadgar
0de4df881f
Merge pull request #3203 from hashicorp/b-search-hyphens
...
Fix UUID search with hyphens
2017-09-13 15:45:22 -07:00
Chelsea Komlo
a8adee10c0
Merge pull request #3171 from hashicorp/f-prometheus-metrics
...
Prometheus metrics
2017-09-13 17:02:32 -04:00
Chelsea Holland Komlo
4ccb73ac67
vendor go-metrics
2017-09-13 19:31:26 +00:00
Chelsea Holland Komlo
2939751811
vendor gzip libarary
2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo
c014cb014f
fix bug to return prometheus sink
2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo
fcc3071e52
fixups from code review
2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo
faabf61c6d
updated documentation
2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo
f5975dceb7
refactoring prometheus endpoint
2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo
1da4027758
vendor necessary libraries for prometheus metrics
2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo
e0f9cd4a0f
add documentation for prometheus config option
2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo
035fab0c8d
enabling prometheus metrics should be a config option
2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo
d8e9f2fef7
add endpoint for prometheus
2017-09-13 19:21:21 +00:00
Alex Dadgar
109504f4bc
Merge pull request #3192 from hashicorp/f-acl-cli
...
Add ACL Bootstrap CLI
2017-09-13 11:46:15 -07:00
Alex Dadgar
4b947222a8
Deployment.GetDeployment ACL enforcement
2017-09-13 11:44:23 -07:00
Alex Dadgar
484e481e74
vendor go-plugin file
2017-09-13 11:44:09 -07:00
Alex Dadgar
903e5e873c
changelog
2017-09-13 11:43:13 -07:00
Alex Dadgar
54e04b5c0e
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
eff318a564
Merge pull request #3204 from hashicorp/f-sync-acl
...
sync acls
2017-09-13 11:39:22 -07:00
Alex Dadgar
a2363e7583
sync acls
2017-09-13 11:38:29 -07:00
Alex Dadgar
af60377aad
remove f-acl
2017-09-13 11:13:04 -07:00
Alex Dadgar
fb67f76b7b
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
cac3181f09
bump version
2017-09-13 09:54:55 -07:00
Simone Sciarrati
54a41c4279
Adding missing <
...
Missing < for the TaskGroup
2017-09-13 11:40:37 +02:00
Alex Dadgar
e3dbcdcb44
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
4e47589c2d
Moved '.' into paragraph
2017-09-12 17:20:54 -04:00
Michael Lange
88c6decce3
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
8898a3799a
Update the ACL guide description
...
Now it's about ACLs instead of outage recovery.
2017-09-12 10:33:17 -07:00
Michael Schurter
42cdb6a9e4
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
4150721cc9
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
566f2ee061
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
d4be9b22d4
bump getting started vagrant
2017-09-11 16:46:54 -07:00
Alex Dadgar
f0847f3642
changelog
2017-09-11 16:10:12 -07:00
Alex Dadgar
5aa8f1a82e
pass in uid to codecgen
2017-09-11 15:40:27 -07:00
Chelsea Komlo
536d38454b
Merge pull request #3191 from hashicorp/b-tagged-metrics-panic
...
Fix panic in emitting tagged allocation metrics
2017-09-11 14:28:50 -04:00
Chelsea Holland Komlo
efa61e80f2
vendor blake2b to allow for building on 386 architecture
2017-09-11 18:10:34 +00:00
Armon Dadgar
fa6579098b
website: update the bootstrap reset guide
2017-09-11 10:53:01 -07:00
Armon Dadgar
9344f58b27
website: document bootstrap CLI and update ACL guide
2017-09-11 10:47:39 -07:00
Armon Dadgar
2cacddeff5
command: Add ACL bootstrap command
2017-09-11 10:47:39 -07:00
Armon Dadgar
d4aed839d2
Merge pull request #3185 from hashicorp/f-acl-reset
...
Add ability to reset ACL bootstrap process
2017-09-11 10:47:17 -07:00
Armon Dadgar
3d5ecaafff
Address @dadgar feedback
2017-09-11 10:30:59 -07:00
Alex Dadgar
19a11f15d5
Merge pull request #3177 from hashicorp/f-cli-hidden
...
Hide non-user commands from autocomplete output
2017-09-11 10:02:08 -07:00