Commit Graph

4817 Commits

Author SHA1 Message Date
James Phillips 379eb5ecd0
Tweaks recovery based on interface changes. 2016-08-08 19:19:18 -07:00
James Phillips 1b633e66c5
Moves to a safer design where we don't ingest the initial peers.json file. 2016-08-08 19:19:18 -07:00
James Phillips aa4e9daf12
Touches up Raft integration after latest changes. 2016-08-08 19:19:18 -07:00
James Phillips 014649abb1
Formats log messages to be consistent. 2016-08-08 19:19:18 -07:00
James Phillips eabf67a431
Adds more comments about the raftSafeFn. 2016-08-08 19:19:18 -07:00
James Phillips e3a01d9b7f
Clarifies a comment about no-op peer operations. 2016-08-08 19:19:18 -07:00
James Phillips 87c15d414d
Adds back "safing" the configuration when a server leaves. 2016-08-08 19:19:18 -07:00
James Phillips b32578ccab
Integrates Consul with new version of Raft library. 2016-08-08 19:19:17 -07:00
James Phillips cc1f709333
Vendors first stage branch of the v2 Raft library. 2016-08-08 19:19:17 -07:00
James Phillips 52e11b9803 Update CHANGELOG.md 2016-08-08 19:03:20 -07:00
James Phillips 9803c03461 Merge pull request #2253 from hashicorp/b-intent-queue
Updates Serf to pick up intent queue fix.
2016-08-08 19:00:12 -07:00
James Phillips 8ec559a235
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 f46957ad2e Merge pull request #2252 from hashicorp/f-govendor
Switches over to govendor.
2016-08-08 18:54:59 -07:00
James Phillips 4882d94c7a
Switches over to govendor. 2016-08-08 18:53:35 -07:00
James Phillips 3a21d4b48d Merge pull request #2251 from hashicorp/b-tomography-js-error
Fixes JS exception when there are no coordinates present.
2016-08-08 17:39:09 -07:00
James Phillips f23786cd5a
Fixes JS exception when there are no coordinates present. 2016-08-08 17:38:22 -07:00
James Phillips 161c7b993c Merge pull request #2249 from hashicorp/sethvargo/link
Update links to serf
2016-08-08 09:50:34 -07:00
Seth Vargo c77436ce9b
Update links to serf 2016-08-08 12:44:27 -04:00
atomicpirate 5a77daac60 Minor fix: "lookup up" -> "looking up" 2016-08-05 10:18:13 -04:00
James Phillips c499c4e7d3
Updates documentation for ACL replication. 2016-08-05 00:23:28 -07:00
James Phillips d29af2ddc7
Adds an ACL replication status endpoint. 2016-08-04 23:30:16 -07:00
James Phillips 734cc0b3d5
Increases the ACL cache size to 10k. 2016-08-04 18:03:07 -07:00
James Phillips c54269882b
Adds a full integrated test for ACL replication. 2016-08-04 17:59:08 -07:00
James Phillips 0a9060bb84
Adds remaining core replication tests. 2016-08-04 16:33:40 -07:00
James Phillips f44bc7e97a
Removes a TODO comment.
Decided we don't need to log anything about the token here. If the
token is not valid then the client will get an error about that, so
anything that can happen here is related to talking to the server in
the ACL datacenter, so not specific to the token.
2016-08-04 07:46:59 -07:00
James Phillips 4d738728d7 Update upgrade-specific.html.markdown 2016-08-04 06:39:50 -07:00
Johanan Lieberman 649326c776 Fix string concatenation in consul.tf
Since Terraform 0.7 doesn't support the concat() function for string
concatenation, a replacement for concat() needs to be used when
joining strings.
2016-08-04 13:12:56 +00:00
James Phillips 096d5ff3bb
Adds tests for the ACL reconcile algorithm. 2016-08-03 21:24:09 -07:00
James Phillips e831727923
Activates fallback to replicated ACLs. 2016-08-03 21:24:09 -07:00
James Phillips 18b817b575
Hides the acl_replication_token from JSON output, like in /v1/agent/self. 2016-08-03 21:24:09 -07:00
James Phillips d336bdd7b0
Adds basic ACL replication plumbing. 2016-08-03 21:24:04 -07:00
Tim Kersten 24272b27a3 Update upgrading.html.markdown
The change fixes a minor bug in the document that says consul supports back to version 0 when the example output says version 1, and makes the document less ambiguous by having a different "current" protocol and earliest supported protocol.
2016-08-03 21:11:02 +01:00
Cameron Davison d138752249
atomic write service state and checks files, fixes #1221 2016-08-03 10:34:12 -05:00
Hasyimi Bahrudin 105cea9bae Add api environment variables as constants for consistency 2016-08-03 14:40:31 +08:00
Hasyimi Bahrudin bb6bb19aad Remove redundant hardcoded environment variables
The following hardcoded environment variables are removed:

* CONSUL_RPC_ADDR
* CONSUL_HTTP_ADDR
2016-08-03 14:40:26 +08:00
rob dux 376a0cbf6f update ca tutorial to one more recent and relevant 2016-08-02 21:24:02 -05:00
James Phillips 6a30762965 Update CHANGELOG.md 2016-08-02 14:03:45 -07:00
James Phillips c2cbbdec3e Merge pull request #2233 from hashicorp/token-in-header
Use header to send Consul token rather than query param.
2016-08-02 14:01:27 -07:00
Jeff Mitchell f1a67836d8 Use header to send Consul token rather than query param. 2016-08-02 16:54:59 -04:00
James Phillips 59d9623ea5 Merge pull request #2229 from hashicorp/sethvargo/archdiag
Update arch diagram
2016-08-02 07:21:56 -07:00
Seth Vargo 31d427f925
Update arch diagram 2016-08-02 13:13:43 +05:30
James Phillips d65bd65ee5 Merge pull request #2228 from burdandrei/patch-1
Added missing comma
2016-08-01 10:01:48 -07:00
Andrei Burd 094d7cb9e0 Added missing comma 2016-08-01 18:46:43 +03:00
Abhinav Dahiya 7c6c3b38bc Fixes #1775; Removes 'unknown' state
Signed-off-by: Abhinav Dahiya <abhinavdtu2012@gmail.com>
2016-07-30 19:33:14 +05:30
James Phillips 6af6baf02c Merge pull request #2225 from hashicorp/f-stats-note
Adds a cautionary note about the stats in the self API.
2016-07-29 13:45:42 -07:00
James Phillips 85bd2a5459 Adds a cautionary note about the stats in the self API. 2016-07-29 13:45:25 -07:00
James Phillips 1bf15d4355 Merge pull request #2224 from hashicorp/jbs-faq-ports
Network ports
2016-07-29 11:46:39 -07:00
Brian Shumate c41ace5f60 Updated FAQ entry 2016-07-29 14:43:51 -04:00
Brian Shumate d36ca4cabc Network ports.
- Added a table of protocols an ports used by Consul to FAQ.
2016-07-29 13:42:30 -04:00
James Phillips 9a353ddd60 Puts tree back in dev mode. 2016-07-26 17:03:47 -07:00