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
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
5ddcdd41c2
vendor: add go-discover
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
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
Preetha Appan
891558cd09
Update raft library to pick up cleanup of temporary snapshot files
2017-07-11 08:22:57 -05: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
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 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
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
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
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
Kyle Havlovitz
8119cea849
Vendor the go-rootcerts lib for the client tls options
2017-04-14 13:46:19 -07: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
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
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
Kyle Havlovitz
21ce56e6f3
Update serf deps
2017-02-01 20:57:37 -05: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
Kyle Havlovitz
12da452136
vendor: Update go-memdb dependency
2017-01-09 11:23:09 -08:00
Kyle Havlovitz
d5a675e02d
Update memberlist vendor deps
2016-12-13 18:53:40 -05:00
Kyle Havlovitz
3a771c8994
Update memberlist vendor deps
2016-12-05 17:27:52 -05:00
Sean Chittenden
cf02ce2033
Small vendor update for go-sockaddr: now able to filter by CIDR.
2016-12-03 01:21:34 +11:00
Sean Chittenden
73d8efa908
Update Windows support.
2016-12-02 18:05:18 +11:00
Sean Chittenden
98afed5da3
Fix compilation on Windows.
2016-12-02 17:04:28 +11:00
Sean Chittenden
4104e9e53a
Import github.com/hashicorp/go-sockaddr
2016-12-02 15:14:44 +11:00
James Phillips
bd5adea5ba
Merge pull request #2555 from hashicorp/pr-2497-slackpad
...
Updates Circonus library and adds support for custom display name and tags.
2016-11-30 21:42:01 -08:00
James Phillips
b2b883239f
Cleans up go-msgpack vendoring.
2016-11-14 17:37:05 -08:00
Kyle Havlovitz
55bae4a4c1
Update raft deps to fix snapshot races in -dev mode ( #2498 )
2016-11-09 17:10:03 -08:00
James Phillips
60d0c66be0
Revert "Updates Circonus metrics library and adds support for display name and tags."
...
This reverts commit bd490ec937a5859ba43b07d9103b3cb8f037e9e5 from #2491 .
2016-11-09 16:21:02 -08:00
matt maier
c7f98fe988
Updates Circonus metrics library and adds support for display name and tags.
...
* Update circonus-gometrics
`vendor circonus-labs/circonus-gometrics`
`vendor circonus-labs/circonus-gometrics/api`
`vendor circonus-labs/circonus-gometrics/checkmgr`
`vendor circonus-labs/circonusllhist`
`vendor hashicorp/go-retryablehttp`
* Update Circonus integration expose Check Display Name and Check Tags configuration options.
* Adds version info to docs for new Circonus options.
2016-11-09 13:26:43 -08:00
matt maier
febd734bd1
Update circonus-gometrics
...
`vendor circonus-labs/circonus-gometrics`
`vendor circonus-labs/circonus-gometrics/api`
`vendor circonus-labs/circonus-gometrics/checkmgr`
`vendor circonus-labs/circonusllhist`
`vendor hashicorp/go-retryablehttp`
2016-11-09 15:30:07 -05:00
Kyle Havlovitz
c6f461aa25
Enable snapshots in dev mode ( #2453 )
2016-10-31 14:39:47 -04:00
James Phillips
bc29610124
Adds support for snapshots and restores. ( #2396 )
...
* Updates Raft library to get new snapshot/restore API.
* Basic backup and restore working, but need some cleanup.
* Breaks out a snapshot module and adds a SHA256 integrity check.
* Adds snapshot ACL and fills in some missing comments.
* Require a consistent read for snapshots.
* Make sure snapshot works if ACLs aren't enabled.
* Adds a bit of package documentation.
* Returns an empty response from restore to avoid EOF errors.
* Adds API client support for snapshots.
* Makes internal file names match on-disk file snapshots.
* Adds DC and token coverage for snapshot API test.
* Adds missing documentation.
* Adds a unit test for the snapshot client endpoint.
* Moves the connection pool out of the client for easier testing.
* Fixes an incidental issue in the prepared query unit test.
I realized I had two servers in bootstrap mode so this wasn't a good setup.
* Adds a half close to the TCP stream and fixes panic on error.
* Adds client and endpoint tests for snapshots.
* Moves the pool back into the snapshot RPC client.
* Adds a TLS test and fixes half-closes for TLS connections.
* Tweaks some comments.
* Adds a low-level snapshot test.
This is independent of Consul so we can pull this out into a library
later if we want to.
* Cleans up snapshot and archive and completes archive tests.
* Sends a clear error for snapshot operations in dev mode.
Snapshots require the Raft snapshots to be readable, which isn't supported
in dev mode. Send a clear error instead of a deep-down Raft one.
* Adds docs for the snapshot endpoint.
* Adds a stale mode and index feedback for snapshot saves.
This gives folks a way to extract data even if the cluster has no
leader.
* Changes the internal format of a snapshot from zip to tgz.
* Pulls in Raft fix to cancel inflight before a restore.
* Pulls in new Raft restore interface.
* Adds metadata to snapshot saves and a verify function.
* Adds basic save and restore snapshot CLI commands.
* Gets rid of tarball extensions and adds restore message.
* Fixes an incidental bad link in the KV docs.
* Adds documentation for the snapshot CLI commands.
* Scuttle any request body when a snapshot is saved.
* Fixes archive unit test error message check.
* Allows for nil output writers in snapshot RPC handlers.
* Renames hash list Decode to DecodeAndVerify.
* Closes the client connection for snapshot ops.
* Lowers timeout for restore ops.
* Updates Raft vendor to get new Restore signature and integrates with Consul.
* Bounces the leader's internal state when we do a restore.
2016-10-25 19:20:24 -07:00
Adam Wolfe Gordon
fa08665ad2
vendor: Remove go-reap
...
go-reap is no longer used since we no longer reap child processes.
2016-10-04 09:41:29 -06:00
R.B. Boyer
291a468c87
Validate gossip encryption key before made persistent in local.keyring
2016-08-12 11:42:45 -07:00
James Phillips
6a208e0797
Updates hashicorp/yamux.
2016-08-09 17:24:41 -07:00
James Phillips
1f46758761
Updates hashicorp/scada-client.
2016-08-09 17:24:40 -07:00
James Phillips
7caa29363d
Updates hashicorp/memberlist.
2016-08-09 17:24:40 -07:00
James Phillips
4412a7e9fa
Updates hashicorp/logutils.
2016-08-09 17:24:40 -07:00
James Phillips
eceb58fff5
Updates hashicorp/go-uuid.
2016-08-09 17:24:40 -07:00
James Phillips
2e931733d0
Updates hashicorp/go-syslog.
2016-08-09 17:24:40 -07:00
James Phillips
4515a1d90b
Updates hashicorp/go-retryablehttp.
2016-08-09 17:24:39 -07:00
James Phillips
e53f348a9c
Updates hashicorp/go-reap.
2016-08-09 17:24:39 -07:00
James Phillips
d1d5c14c83
Updates hashicorp/go-cleanhttp.
2016-08-09 17:24:39 -07:00
James Phillips
f431598fb6
Updates hashicorp/go-immutable-radix and hashicorp/go-memdb.
2016-08-09 17:24:39 -07:00
James Phillips
99ab3390c2
Updates hashicorp/hcl and hashicorp/hil.
...
This required a small mod to core Consul code to cope with an interface
change.
2016-08-09 17:24:13 -07:00
James Phillips
8d03a2c948
Removes some unused vendored dependencies.
2016-08-09 16:50:34 -07:00
James Phillips
f1b47817f2
Updates hashicorp/golang-lru.
2016-08-09 16:26:59 -07:00
James Phillips
7f2346bb0f
Vendors first stage branch of the v2 Raft library.
2016-08-08 19:19:17 -07:00
James Phillips
954c32e6ee
Updates Serf to pick up intent queue fix.
...
This fixes #1062 by storing intents per-node instead of in a small, fixed-
size circular buffer.
2016-08-08 18:58:44 -07:00
James Phillips
044512c6de
Updates armon/go-metrics and adds Circonus vendored libraries.
2016-07-19 16:54:21 -07:00
James Phillips
bf9e334dde
Updates go-immutable-radix to pull in caching fix.
2016-06-08 19:08:31 -07:00
James Phillips
7e75c894b0
Updates serf to get health score in stats.
2016-06-08 17:20:12 -07:00
James Phillips
1776316053
Updates to latest Serf/memberlist to get lifeguard and TCP joins over DNS.
2016-06-07 14:30:47 -07:00
James Phillips
6ee216eace
Pulls in latest Serf to get flap metric.
2016-06-07 09:22:41 -07:00
Jeff Mitchell
e061d89fe9
Use upstream high-level SCADA provider
2016-06-01 18:25:39 -04:00
Sean Chittenden
32c24b5447
Update Serf to include `serf.NumNodes()`
2016-03-23 22:10:50 -07:00
James Phillips
06087633f0
Adds in basic query template lookups and vendors newly-updated memdb as well as improved iradix tree.
2016-03-07 10:45:39 -08:00
James Phillips
ee43212da4
Updates vendored dependencies.
...
This removes some unused dependencies that I know we plan to re-add later,
but this makes for a clean `godep save` for now.
2016-03-07 10:45:39 -08:00
James Phillips
f4aab86081
Updates memberlist to get goroutine leak fix for TCP pings.
2016-03-07 10:41:54 -08:00
Mat Schaffer
fa2ba64654
Metric name typo
2016-02-25 11:20:53 +09:00
Jeff Mitchell
1dfacd8a1e
Update go-cleanhttp
2016-02-17 17:03:57 -05:00
Sean Chittenden
333ff22e9a
Manage dependencies via Godep
...
Embrace the future and use Go 1.6's vendor support via Godep.
Go 1.5 users should `export GO15VENDOREXPERIMENT=1`
2016-02-12 16:50:37 -08:00