James Phillips
7ec036fea4
Updates vendor.json for latest vendorfmt changes.
2017-09-05 15:45:16 -07:00
James Phillips
bc9780baad
Adds simple rate limiting for client agent RPC calls to Consul servers. ( #3440 )
...
* Added rate limiting for agent RPC calls.
* Initializes the rate limiter based on the config.
* Adds the rate limiter into the snapshot RPC path.
* Adds unit tests for the RPC rate limiter.
* Groups the RPC limit parameters under "limits" in the config.
* Adds some documentation about the RPC limiter.
* Sends a 429 response when the rate limiter kicks in.
* Adds docs for new telemetry.
* Makes snapshot telemetry look like RPC telemetry and cleans up comments.
2017-09-01 15:02:50 -07:00
Preetha Appan
aadaae1d2d
Updating vendor directory for raft address provider interface changes
2017-08-30 09:57:48 -05:00
Preetha Appan
2514523920
Update raft library for windows snapshot fsync fixes. This fixes #3409
2017-08-24 16:44:05 -05:00
Frank Schroeder
509e667f94
vendor: upgrade github.com/hashicorp/go-discover
...
Pull in improved debug logging for AWS
2017-08-23 21:23:34 +02:00
Preetha Appan
040f8ae775
Update serf to pick up fixes for fsyncing snapshots and panic when coordinates are disabled
2017-08-17 16:35:06 -05:00
Preetha Appan
40d6e1fbc7
Update memberlist for a deadlock fix
2017-08-15 18:07:28 -05:00
Kyle Havlovitz
4daba5ddd5
vendor: update github.com/armon/go-metrics
2017-08-08 18:29:27 -07:00
Kyle Havlovitz
8c2e422074
Merge pull request #3369 from hashicorp/metrics-enhancements
...
Add support for labels/filters from go-metrics
2017-08-08 13:55:30 -07:00
Kyle Havlovitz
6fed5dc490
vendor: update github.com/armon/go-metrics
2017-08-08 12:33:47 -07:00
Kyle Havlovitz
abcf13e3f4
vendor: update go-metrics
2017-08-08 01:19:30 -07:00
James Phillips
7fd45a6b67
Propagates a better error message from memberlist.
...
Fixes #3312 .
2017-08-07 16:35:57 -07:00
Preetha Appan
5d15481d8a
Pick up raft library change that fsyncs snapshot files correctly
2017-08-04 10:36:41 -05:00
Frank Schroeder
5f6b74d4ee
vendor: update hashicorp/go-discover to pull in hashicorp/go-discover#7
2017-08-03 21:00:37 +02:00
Frank Schroeder
68e8f3d0f7
agent: use github.com/hashicorp/go-discover
...
Replace the provider specific node discovery code
with go-discover to support AWS, Azure and GCE.
Fixes #3282
2017-08-01 11:41:43 +02:00
Frank Schroeder
5ddcdd41c2
vendor: add go-discover
2017-08-01 11:41:43 +02:00
Frank Schroeder
d1c27705f3
vendor: drop unused deps for old discover code
2017-08-01 11:41:43 +02:00
Preetha Appan
7f47cc15c0
Govendor update go-memdb and go-immutable-radix to pick up changes for DeletePrefix
2017-07-25 17:28:43 -05:00
Frank Schroeder
1c6e1fe5d9
agent: add dependencies for docker on windows
2017-07-19 12:03:59 +02:00
Frank Schröder
5e960599a8
vendor: do not report appengine packages as missing ( #3299 )
2017-07-18 21:50:22 -07:00
Frank Schroeder
280f00e33f
vendor: remove unused dependencies from vendor.json
2017-07-19 05:25:08 +02:00
Frank Schroeder
d423eb5d68
build: add missing dependency for solaris/amd64
2017-07-19 05:19:17 +02:00
Frank Schroeder
b4e5c0647b
agent: replace docker check
...
This patch replaces the Docker client which is used
for health checks with a simplified version tailored
for that purpose.
See #3254
See #3257
Fixes #3270
2017-07-18 20:24:38 +02:00
Frank Schroeder
25aaf35522
vendor: drop unused dependencies
2017-07-18 20:24:21 +02:00
Frank Schroeder
94a09b4434
build: use vendorfmt to make vendor.json more merge friendly
2017-07-18 09:15:25 +02:00
James Phillips
203ff04e67
Performs surgery on Docker deps so we can build on Solaris and Windows. ( #3288 )
2017-07-17 15:34:26 -07:00
James Phillips
c82d84a1dd
Updates memberlist to pick up Lifeguard research findings. ( #3287 )
...
See https://www.hashicorp.com/blog/making-gossip-more-robust-with-lifeguard/ .
2017-07-17 12:54:17 -07:00
Frank Schroeder
3562048572
vendor: drop unused dependencies
2017-07-15 14:35:20 -07:00
Frank Schroeder
d5d49b9b94
vendor: github.com/Sirupsen -> github.com/sirupsen
2017-07-14 13:07:44 -07:00
Frank Schroeder
ac46399ab5
vendor: update github.com/fsouza/go-dockerclient
...
Update go-dockerclient and dependant dependencies
to add fix for go-dockerclient#622.
Fixes #3254
2017-07-14 13:07:44 -07:00
Preetha Appan
891558cd09
Update raft library to pick up cleanup of temporary snapshot files
2017-07-11 08:22:57 -05:00
Frank Schroeder
0dd729616e
vendor: update golang.org/x/sys/unix
...
Update golang.org/x/sys/unix to add s390 platform files
Fixes #3240
2017-07-07 13:38:44 +02:00
Frank Schroeder
4843839cf5
Pull in vendor updates
2017-07-07 09:22:34 +02:00
James Phillips
f7df065c39
memberlist: Monkey patch memberlist to fix port 0 behavior.
...
https://github.com/hashicorp/memberlist/pull/128
2017-07-07 09:22:34 +02:00
Frank Schroeder
4322b7217c
serf: monkey patch data race in github.com/hashicorp/serf
...
https://github.com/hashicorp/serf/pull/476
This should be replaced when the patch is merged upstream
and the library is upgraded.
2017-07-07 09:22:34 +02:00
Preetha Appan
bb0e0bdff9
Update serf to pull in disk space failure recovery changes
2017-07-06 08:58:42 -05:00
James Phillips
4d0aa9b82a
Bumps Raft library. ( #3201 )
...
This picks up the fix for https://github.com/hashicorp/raft/issues/212 ,
which can cause out-of-date followers to get stuck in a loop trying to
sync because they don't discard old snapshot data.
There's some incidental reordering of the vendor.json since the last
update to that file was merged by hand.
2017-06-27 18:41:00 -07:00
James Phillips
59621dbccc
Revert "discover: move instance discover code into separate package ( #3144 )" ( #3180 )
...
This reverts commit 26bfb2d00a30bf30ebdd85ba2e1e19f37355853f.
2017-06-23 01:38:55 -07:00
James Phillips
728971afdb
Fixes broken HTTP header and method for health checks. ( #3178 )
...
* Fixes broken HTTP header and method for health checks.
* Adds a fuzz utility and test to make sure copy is complete.
2017-06-23 01:15:48 -07:00
Kyle Havlovitz
e875cc30fa
vendor: update github.com/hashicorp/memberlist ( #3176 )
2017-06-22 14:44:46 -07:00
Frank Schroeder
43c42b12ae
vendor: update github.com/hashicorp/go-discover
2017-06-22 12:46:23 +02:00
Frank Schroeder
3023f6d641
add missing packages
...
Moving the discover package dependencies out removed
some packages we need.
2017-06-21 11:02:32 +02:00
Frank Schröder
4bdff5fff4
discover: move instance discover code into separate package ( #3144 )
...
This patch moves the code that discovers instances from metadata
information to github.com/hashicorp/go-discover with
sub-packages for each provider.
2017-06-21 10:40:38 +02:00
Kyle Havlovitz
5e45aec642
Add an option to disable keyring file ( #3145 )
...
Also disables keyring file in dev mode.
2017-06-15 15:24:04 -07:00
Frank Schroeder
4783af5733
vendor: Update github.com/shirou/gopsutil
...
Pull in fix for data race on host.BootTime.
2017-06-02 07:51:08 +02:00
Frank Schroeder
0a2b982616
vendor: upgrade github.com/armon/go-metrics
...
Pull in changes to fix race condition for concurrent tests.
2017-06-01 23:52:26 +02:00
Frank Schroeder
b66eb6b6ac
vendor: upgrade github.com/go-ole/go-ole
...
This replaces the monkey patch for github.com/go-ole/go-ole/pull/144
See #3097
2017-06-01 16:05:24 +02:00
Frank Schroeder
1d30241784
vendor: monkey patch github.com/go-ole/go-ole support for s390x
...
Remove this once https://github.com/go-ole/go-ole/pull/144 gets
merged.
Fixes #3097
2017-06-01 15:31:29 +02:00
Frank Schroeder
9ea307a90d
Revert "vendor: monkey patch github.com/go-ole/go-ole support for s390x"
...
This reverts commit 50fe2148a81a2d91c7b6f75246f16b452d811e0f.
2017-06-01 15:31:02 +02:00
Frank Schroeder
047b35bd92
vendor: monkey patch github.com/go-ole/go-ole support for s390x
...
Remove this once https://github.com/go-ole/go-ole/pull/144 gets
merged.
2017-06-01 15:29:47 +02:00
Frank Schroeder
c38fbff292
vendor: patch github.com/mitchellh/cli until help output is fixed
...
We need to init the flagset that cli uses to generate the help
outside of the Run method since Run isn't called anymore for
printing help.
2017-05-31 00:29:29 +02:00
Frank Schroeder
ee094a5bc6
vendor: fix data race in github.com/armon/go-metrics/start.go
...
96 -> 42 data races
2017-05-31 00:29:25 +02:00
Frank Schroeder
bd0d4a79b2
vendor: update github.com/mitchellh/cli
...
This pulls in the patch that fixes the nil panic and the
data race in MockUi.
2017-05-31 00:29:25 +02:00
Kyle Havlovitz
e196576c07
Add settings for upshifting to encrypted gossip ( #3079 )
2017-05-30 08:51:37 -07:00
James Phillips
3cce06fd38
Pulls in Serf logger fix.
2017-05-25 22:02:09 -07:00
James Phillips
0a8a78833e
Updates Serf to pick up small fixes and coordinate NaN/Inf defenses.
2017-05-25 16:16:37 -07:00
Michael Leow
37e159df63
vendor: add github.com/Azure/azure-sdk-for-go
2017-05-24 10:15:38 +02:00
Michael Leow
447413bf99
vendor: add github.com/Azure/go-autorest/autorest/to
2017-05-24 10:15:38 +02:00
Michael Leow
bdaf9d6ba9
vendor: add github.com/Azure/go-autorest/autorest/validation
2017-05-24 10:15:37 +02:00
Michael Leow
b6d6582acc
vendor: add github.com/Azure/go-autorest/autorest/azure
2017-05-24 10:15:37 +02:00
Michael Leow
f2ff7510f3
vendor: add github.com/Azure/go-autorest/autorest/date
2017-05-24 10:15:37 +02:00
Michael Leow
ea6dea1dff
vendor: add github.com/Azure/go-autorest/autorest
2017-05-24 10:15:37 +02:00
Michael Leow
6a3524deb4
vendor: add github.com/dgijalva/jwt-go
2017-05-24 10:15:37 +02:00
Sean Chittenden
6037c3c016
Update hashicorp/go-sockaddr to the latest version.
...
* Adds plural IP helpers (e.g. `GetPrivateIPs`, `GetPublicIPs`)
hashicorp/go-sockaddr#11
* Adds subnet math hashicorp/go-sockaddr#8
* Fixes helper functions for dual-homed hosts hashicorp/go-sockaddr#10 )
2017-05-23 16:47:17 -07:00
Frank Schroeder
39aeb5e520
vendor: remove github.com/hashicorp/scada-client
2017-05-22 11:07:46 +02:00
Frank Schroeder
e13f3446ac
agent: drop atlas/scada code
2017-05-10 23:06:36 +02:00
Sean Chittenden
ec200c7133
Add the minimal fix to restore being able to compile on Illumos.
...
This brings in the necessary fix to satisfy #2989 without dragging along
additional vendor updates reverted in #3019 .
2017-05-09 08:41:44 -07:00
James Phillips
63f61063bf
Revert "Fix the build on Illumos."
2017-05-08 20:42:12 -07:00
James Phillips
e17e514249
Updates vendored Raft library.
...
This pulls in https://github.com/hashicorp/raft/pull/207 to get
support for the new-style peers.json recovery file.
2017-05-04 13:27:33 -07:00
Sean Chittenden
f4b7feef79
Fix the build on Illumos.
...
Update `github.com/docker/docker/pkg/system`.
2017-04-28 17:13:20 -07:00
Frank Schroeder
a53485bc6d
vendor: add github.com/pascaldekloe/goe/verify
2017-04-28 15:00:08 -07:00
Kyle Havlovitz
8119cea849
Vendor the go-rootcerts lib for the client tls options
2017-04-14 13:46:19 -07:00
Seth Vargo
bd8de2bdb8
Add pkg/errors
2017-03-23 18:41:20 -04:00
Kyle Havlovitz
37ea20cb44
Add advanced autopilot features
2017-03-22 15:25:16 -07:00
James Phillips
21e2307248
Updates memberlist to get NACK penalty improvements.
2017-03-17 15:28:12 -07:00
James Phillips
8b39dc9dd5
Updates memberlist to get new transport interface.
2017-03-16 16:57:28 -07:00
Kyle Havlovitz
9c7bba7903
Tweak last_contact health logic for leader
2017-03-15 19:57:54 -07:00
James Phillips
30859ff731
Updates AWS Go SDK.
...
Needed as part of Go 1.8 transition; see https://aws.amazon.com/blogs/developer/aws-sdk-for-go-update-needed-for-go-1-8/ .
2017-02-16 23:55:59 -08:00
James Phillips
d9f4d4949b
Updates hashicorp/go-immutable-radix to pick up leaf panic fixes.
...
This fixes #2724 by properly tracking leaf updates during very large
delete transactions.
2017-02-13 16:47:49 -08:00
Jeff Mitchell
726590367f
Update unix dial functions to use DialContext with new go-cleanhttp
2017-02-10 21:11:21 -05:00
James Phillips
a5028e833e
Revert "Updates go-cleanhttp to get better tuning for newer Go versions."
2017-02-10 17:12:56 -08:00
James Phillips
5221c4086c
Updates go-cleanhttp to get better tuning for newer Go versions.
2017-02-10 16:39:19 -08:00
James Phillips
8bcf1a74a9
Updates memberlist and Serf (and adds new dependencies).
...
This gets a number of improvements:
* Fixed a missing case where gossip would stop flowing to dead nodes for a short while.
* Uses the go-sockaddr library to look for private IP addresses, which prefers non-loopback
private addresses over loopback ones when trying to automatically determine the advertise address.
* Properly seeds Go's random number generator using the seed library.
* Serf snapshots no longer have the executable bit set on thie file.
2017-02-08 13:56:07 -08:00
Sean Chittenden
405aa17d0e
Update `vendor/vendor.json` to reflect `shiriou/gopsutil#313` being merged.
2017-02-07 22:39:05 -08:00
Kyle Havlovitz
2a2c3bbbda
Merge pull request #2717 from hashicorp/f-cli-rework
...
Begin centralizing command-line parsing
2017-02-07 21:15:06 -05:00
Sean Chittenden
954168fe0c
Update `shirou/gopsutil/313` to pull in lowercased `HostID`s.
2017-02-06 16:27:56 -08:00
Kyle Havlovitz
53b9fa02ee
vendor: Add golang-text dependency
2017-02-06 13:52:43 -05:00
James Phillips
2df8b492c4
Updates Serf library to get relay fixes.
...
https://github.com/hashicorp/serf/pull/447
2017-02-06 08:57:36 -08:00
Sean Chittenden
07b92c52e8
Update github.com/shiriou/gopsutil's `vendor.json` entries.
...
Direct to `master` commit now that
https://github.com/shirou/gopsutil/pull/312 has been merged.
2017-02-03 22:31:51 -08:00
Sean Chittenden
4c6c18a709
Chase an upstream `go fmt` that has been long overdue.
2017-02-03 22:31:11 -08:00
Sean Chittenden
eab1cd3a2e
Remove _test.go files from shirou/gopsutil
2017-02-03 22:29:02 -08:00
Sean Chittenden
6a787ec6f7
Add durable HostID generation for Windows.
...
https://github.com/shirou/gopsutil/pull/312
2017-02-02 16:11:54 -08:00
Kyle Havlovitz
21ce56e6f3
Update serf deps
2017-02-01 20:57:37 -05:00
Sean Chittenden
48037c516d
Add missing shirou/gopsutils vendor dependencies and files that were reverted
2017-02-01 10:26:00 -08:00
Sean Chittenden
b9ea658cce
Merge branch 'master' into f-gopsutil
2017-02-01 08:44:30 -08:00
Sean Chittenden
968a8e8257
Reintroduce the necessary vendor bits for per-node IDs
...
* `shirou/gopsutil`
* `shirou/w32`
2017-02-01 08:36:24 -08:00
James Phillips
d1824ce361
Revert "Adds gopsutil in the loop when trying to make the node ID."
2017-01-31 19:13:49 -08:00
James Phillips
ee8d373d6a
Adds gopsutil to vendored deps.
2017-01-31 08:51:25 -08:00
James Phillips
b4272f31ad
Updates go-immutable-radix and go-memdb to get fine-grained watches.
2017-01-25 09:58:22 -08:00
Sean Chittenden
c82cc25b09
Update `hashicorp/go-sockaddr` to account for `tun(4)` interfaces.
2017-01-17 12:37:56 -08:00