James Phillips
a6987c1812
Adds missing tls_skip_verify option to HTTP check example.
2017-06-24 15:37:52 -07:00
James Phillips
6e1ee02689
Update options.html.md
2017-06-24 15:28:23 -07:00
James Phillips
380c8b957d
Changes host-based node IDs from opt-out to opt-in. ( #3187 )
2017-06-24 09:36:53 -07:00
wojtkiewicz
1e0fd27a74
agent: add allowStale option for HTTP API ( #3142 )
...
This patch adds an "allowStale" option to the HTTP API
configuration which allows stale reads to provide linear
read scalability.
Fixes #3142
2017-06-22 10:31:13 +02:00
wojtkiewicz
37785028be
agent: add "http_config"
...
This patch adds an "http_config" object to the config file
and moves the "http_api_response_headers" option there.
"http_api_response_headers" is now deprecated in favor of
"http_config.response_headers"
2017-06-22 10:31:11 +02:00
Frank Schröder
31a310f551
agent: notify systemd after JoinLAN ( #2121 )
...
This patch adds support for notifying systemd via the
NOTIFY_SOCKET by sending 'READY=1' to the socket after
a successful JoinLAN.
Fixes #2121
2017-06-21 06:43:55 +02:00
Kyle Havlovitz
5473255f98
Update encryption.html.md
2017-06-16 12:54:25 -07:00
Kyle Havlovitz
5d99ee80ca
Add an option to disable keyring file ( #3145 )
...
Also disables keyring file in dev mode.
2017-06-15 15:24:04 -07:00
James Phillips
bc3b68ba80
Fixes version reference in encryption docs.
2017-06-07 21:31:48 -07:00
Frank Schröder
825f72f5ef
agent: support custom header and method for http checks ( #3106 )
...
This patch adds support for custom headers and
method for HTTP checks.
Fixes #2474
Fixes #2657
Fixes #3106
2017-06-07 01:11:56 +02:00
Kyle Havlovitz
62f72f104c
Add settings for upshifting to encrypted gossip ( #3079 )
2017-05-30 08:51:37 -07:00
Michael Leow
deb206b7d7
agent: add RetryJoin support for Azure
...
Pull #2978 from leowmjw/develop
Resolves #2978
2017-05-24 10:15:38 +02:00
Frank Schroeder
df91388b7b
website: rename *.markdown to *.md
2017-05-17 20:25:45 +02:00
Kyle Havlovitz
5bab68b9bb
Add a path for transitioning to TLS on an existing cluster ( #3001 )
...
Fixes #1705
2017-05-10 14:25:48 -07:00
Brian Shumate
e90804304a
DOCS: minor clarification to address #2950
2017-05-05 11:51:46 -04:00
Kyle Havlovitz
cd56a5ebdd
Add separate option for verifying incoming HTTPS traffic ( #2974 )
...
* Add separate option for verifying incoming HTTPS traffic
2017-04-28 16:15:55 -07:00
rcgenova
8fbf731781
Merge pull request #2964 from hashicorp/d-remove-atlas-references
...
Remove references to the deprecated Consul/Atlas integration
2017-04-27 08:32:09 -07:00
Kyle Havlovitz
b70e419aeb
Add TLS cipher suite options and CA path support ( #2963 )
...
This patch adds options to configure the available
TLS cipher suites and adds support for a path
for multiple CA certificates.
Fixes #2959
2017-04-27 01:29:39 -07:00
Rob Genova
49f23fc068
Remove references to the deprecated Consul/Atlas integration
2017-04-26 22:24:24 +00:00
mckennajones
d4058b1576
Updating documentation regarding webui flags
2017-04-17 17:29:14 -07:00
James Phillips
ef6a42ade2
Merge pull request #2910 from hashicorp/jbs-2867
...
Docs: update bootstrapping and config, fixes #2867
2017-04-13 12:26:27 -07:00
Brian Shumate
626d5264a8
Docs: update bootstrapping and config, fixes #2867
...
- Add various join options to bootstrapping guide
- Add note about Atlas deprecation to bootstrapping guide
- Add notes about -retry-join and retry_join to -join option
- Add notes about -retry-join and retry_join to start_join option
2017-04-13 13:03:26 -04:00
James Phillips
fa04c24978
Adds a new -disable-host-node-id option to help when testing with containers.
...
Fixes #2877 .
2017-04-12 22:07:18 -07:00
Cihat Genc
1acdafcb47
Fix wrong option name in options.html.markdown
2017-04-11 14:58:15 +02:00
James Phillips
93ddd46ffa
Removed RPC link from the sidebar.
2017-04-05 11:51:52 -07:00
James Phillips
9c3e643d4f
Does a complete rework of the ACL guide.
2017-04-05 10:36:19 -07:00
James Phillips
5ab7ea6f53
Deprecates the ACLs internals doc in favor of a guide.
2017-04-04 18:56:42 -07:00
Seth Vargo
7779c5942c
Link to new api
2017-04-04 12:52:00 -04:00
Seth Vargo
99c3592064
Update API docs
2017-04-04 12:33:35 -04:00
James Phillips
fea3c62399
Merge pull request #2862 from wjimenez5271/wjimenez5271-docs
...
clarify when acl_default_policy takes effect
2017-03-31 08:49:23 -07:00
Brian Shumate
6f17af8453
docs: Configuration precedence clarification, fixes #1203
2017-03-30 14:13:50 -04:00
James Phillips
86870ae51d
Merge pull request #2854 from hashicorp/remote-exec
...
Changes `disable_remote_exec` default to true so remote exec is opt-in.
2017-03-30 10:29:09 -07:00
Kyle Havlovitz
da9c825592
Add CLI/API endpoints for removing peer by ID
2017-03-30 10:13:32 -07:00
James Phillips
7e2dcb61bf
Changes `disable_remote_exec` default to true so remote exec is opt-in.
2017-03-30 09:43:32 -07:00
James Phillips
11ee9a9e72
Disables agent-level enforcement on Consul agents unless acl_datacenter is set.
2017-03-29 12:24:42 -07:00
Kyle Havlovitz
e081b39014
Merge pull request #2840 from hashicorp/f-advanced-autopilot-guide
...
Add section on advanced autopilot features to the guide
2017-03-28 12:06:51 -07:00
Kyle Havlovitz
038b07ea1c
Add section on advanced autopilot features to the guide
2017-03-28 11:56:21 -07:00
James Phillips
0b0eba8e97
Adds network area CLI documentation.
2017-03-28 10:31:56 -07:00
James Phillips
1296e40ad5
Adds basic operator area HTTP documentation.
2017-03-28 01:09:20 -07:00
James Phillips
f8a4a873cf
Breaks the operator HTTP doc into sections.
2017-03-27 23:28:08 -07:00
VEBER Arnaud
86607b32d1
docs(agent/options): remove atlas_endpoint dup
2017-03-25 13:25:54 +01:00
James Phillips
fae78dcd0a
Adds node metadata to the reload list.
2017-03-24 10:29:39 -07:00
James Phillips
f0b89edb0c
Adds a note about the deprecated RPC ports.
2017-03-24 10:23:45 -07:00
James Phillips
d428bc63c1
Modifies server reconcile path to not use the server's token for internal operations.
2017-03-23 13:34:30 -07:00
Kyle Havlovitz
390f41d8d5
Add advanced autopilot features
2017-03-22 15:25:16 -07:00
James Phillips
472f1bd63e
Adds router into RPC paths with work in progress on coordinates.
2017-03-16 16:42:18 -07:00
Kyle Havlovitz
09e2663d10
Merge pull request #2802 from hashicorp/f-autopilot-improvements
...
Fix an issue with changing server ID when re-joining
2017-03-15 20:26:16 -07:00
Kyle Havlovitz
5353221666
Reorganized cluster health check loop and logic
2017-03-15 18:27:17 -07:00
Kyle Havlovitz
51b11cd344
Fix an issue with changing server IDs and add a few UX enhancements around autopilot features
2017-03-15 16:09:55 -07:00
Nic Jackson
217bb02a43
Updated documentation to add information that bootstrap overrides server mode
2017-03-14 17:56:33 -07:00
Kyle Havlovitz
c936fe38da
Add autopilot guide to the docs
2017-03-10 14:55:18 -08:00
Kyle Havlovitz
e119240fdf
Merge pull request #2788 from hashicorp/f-autopilot-2
...
Autopilot server health monitoring
2017-03-10 12:29:45 -08:00
Kyle Havlovitz
9b4497de09
Cleaned up and reorganized some autopilot-related code
2017-03-09 18:21:40 -08:00
James Phillips
22986fbfe8
Adds back the RPC page with a deprecation notice.
...
Fixes #2794 .
2017-03-09 11:09:11 -08:00
James Phillips
bdffcbfbe8
Fixes a typo in the snapshot docs.
2017-03-08 19:49:07 -08:00
Kyle Havlovitz
fb259e3d04
Merge branch 'master' into f-autopilot-2
2017-03-06 16:02:19 -08:00
Kyle Havlovitz
2eefe3ca5b
Add autopilot server health tracking
...
This adds two goroutines to perform autopilot tasks on the leader - one
to monitor the health of servers and another to periodically clean up
dead servers with a limit on removal count. Also adds a new http endpoint,
`/v1/operator/autopilot/health`, for querying this information through an
operator RPC endpoint.
2017-03-06 16:00:10 -08:00
Sean Chittenden
a791de3ecf
Revert "Change `ClientAddr` to default to `BindAddr` when not present."
2017-03-06 13:32:43 -08:00
Sean Chittenden
df50950600
Note the default value prior to 0.8 for `-client` was `127.0.0.1`.
2017-03-06 12:26:35 -08:00
Sean Chittenden
beae5c6bba
Change `ClientAddr` to default to `BindAddr` when not present.
...
With this change, it is now possible to only specify the `-bind` or
`bind_addr` attributes and get a functioning consul agent.
2017-03-04 20:52:52 -08:00
James Phillips
ed2e700ab9
Moves raft_protocol config out into its own top-level item.
2017-03-04 09:20:23 -08:00
James Phillips
3103f7f673
Merge pull request #2690 from zeroae/f-simple-rfc2782
...
RFC 2782 support with optional .service tag
2017-03-02 14:49:36 -08:00
Kyle Havlovitz
ab6c49ab4c
Merge pull request #2771 from hashicorp/f-autopilot
...
Autopilot dead server cleanup, config, and raft version compatibility
2017-02-28 15:04:16 -08:00
Kyle Havlovitz
92c8b9c3a0
Rename DeadServerCleanup and make wording adjustments
2017-02-28 14:45:21 -08:00
Kyle Havlovitz
9221aed856
Remove the RPC client interface and update docs
2017-02-28 13:41:09 -08:00
Kyle Havlovitz
5429e8ce66
Add cli docs and minor test/comment tweaks
2017-02-24 16:55:44 -08:00
Kyle Havlovitz
1c24c5d8d6
Add docs and api client methods for autopilot config
2017-02-23 21:00:15 -08:00
Kyle Havlovitz
0023454ccc
Add config section to docs for autopilot
2017-02-22 13:11:01 -08:00
Ellery Addington-White
47ee5edefc
Adds missing double quote
2017-02-16 13:38:55 -08:00
James Phillips
7e52e95c47
Adds clarifying note about the wakeup jitter.
...
Closes #2727 .
2017-02-09 20:28:38 -08:00
James Phillips
242cef5ac8
Removes broken WriteRequest ACL reference for catalog endpoints.
...
Fixes #1034 .
2017-02-07 19:02:18 -08:00
Andrey Upadyshev
1ec69ba1d2
Fix `acquire` parameter nesting
2017-02-03 00:20:35 +01:00
Kyle Havlovitz
5d888f5303
Added -relay-factor param to keyring operations
2017-02-01 21:53:29 -05:00
Kyle Havlovitz
a533e255ab
Merge pull request #2699 from hashicorp/f-tls-min-version
...
Add TLSMinVersion to config options
2017-02-01 16:31:53 -05:00
Kyle Havlovitz
07ba3ddb6e
Add TLSMinVersion to config options
2017-02-01 16:20:33 -05:00
James Phillips
9ef05bd759
Merge pull request #2692 from Toady00/patch-1
...
Specify PUT for agent maintenance endpoint
2017-02-01 06:58:20 -08:00
James Phillips
5f5680cfda
Merge pull request #2666 from hashicorp/sethvargo-patch-1
...
Say which ec2 perms to use
2017-02-01 06:57:07 -08:00
Brandon Dennis
7f9649b6af
Specify PUT for agent maintenance endpoint
...
Through most of the documentation if the method isn't specified it should be a `GET` request, but here it should be a `PUT`.
2017-01-31 16:00:27 -05:00
Patrick Sodré
c135c08fb2
Simple RFC 2782 support with optional .service tag
...
Add support for SRV queries of names matching:
_<service>._<protocol>.[.service][.datacenter]<.domain>
2017-01-30 19:46:02 -05:00
Andrey Upadyshev
f6c6a9ff3e
Fix missing query parameters formatting in HTTP API documentation
2017-01-25 14:34:56 +01:00
Kyle Havlovitz
a55968f009
Merge branch 'master' into f-prepared-query-nodemeta
2017-01-23 20:17:48 -05:00
Kyle Havlovitz
3f3d7f9891
Add tests for node meta in prepared queries and update docs
2017-01-23 19:17:30 -05:00
Seth Vargo
748e308ac4
Say which ec2 perms to use
2017-01-20 17:13:28 -05:00
James Phillips
432540f918
Fixes a paste-o in the docs.
2017-01-18 16:02:04 -08:00
James Phillips
6ca0173907
Adds catalog support for node IDs.
2017-01-18 14:26:42 -08:00
James Phillips
bd605e330c
Adds basic support for node IDs.
2017-01-17 22:47:59 -08:00
Mikhail Zholobov
7753627b52
website: Fix nesting for "raft_multiplier" option
2017-01-17 14:59:18 +02:00
Kyle Havlovitz
9e696220a8
Add support for multiple metadata filters to remaining endpoints
...
Enabled multiple meta filters for /v1/catalog/nodes and /v1/catalog/services
2017-01-13 20:49:13 -05:00
Kyle Havlovitz
5acd69b4fc
Add node metadata filtering to remaining health/catalog endpoints
2017-01-13 20:08:43 -05:00
Kyle Havlovitz
5ddea8a5df
Merge branch 'master' into f-gce-discovery
2017-01-11 22:57:07 -05:00
Kyle Havlovitz
dbc72eaac0
Condense gce discovery logging a bit
2017-01-11 22:37:22 -05:00
Kyle Havlovitz
23ce10f889
Merge pull request #2643 from hashicorp/f-node-metadata
...
Node metadata
2017-01-11 20:29:24 -05:00
Kyle Havlovitz
87c0283bb1
Update client api and docs for node metadata
2017-01-11 19:28:58 -05:00
Kyle Havlovitz
d44f3ea5d4
Update website docs for node metadata
2017-01-11 17:52:31 -05:00
Brian Shumate
1eaeb13a9c
DOCS: update environment variables
...
- Move environment variables to section of CLI page
- Remove environment variables page
- Remove environment variables nagivation menu entry
2017-01-09 12:02:06 -05:00
Brian Shumate
f5e76a7125
DOCS: update environment variables page
...
- Relocate Environment Variables page to Agent section
- Correct front matter newlines issue
2017-01-06 09:42:49 -05:00
James Phillips
6c2462e309
Merge pull request #2611 from amiryal/patch-1
...
Correct heading level in encryption documentation
2017-01-05 12:13:13 -08:00
Ruslan Sennov
8e86ebd9db
update `/v1/agent/service/register` endpoint doc
2016-12-26 23:32:20 +03:00
Amir Yalon
2932648c05
Correct heading level in encryption documentation
...
The ‘RPC Encryption’ heading is semantically at the same level as ‘Gossip Encryption’.
2016-12-22 10:51:20 +02:00
James Phillips
03a4b09c1d
Fixes a typo in the agent options docs.
2016-12-14 21:03:16 -08:00
James Phillips
a67d308175
Merge pull request #2594 from hashicorp/acl-complete
...
Adds complete ACL support for /v1/agent endpoints.
2016-12-14 20:49:00 -08:00
Kyle Havlovitz
7f5f1fed81
Add a notice about deprecation of atlas features
2016-12-14 15:13:51 -05:00
James Phillips
ca7a243b70
Adds ACL management support to the agent.
2016-12-14 07:07:41 -08:00
James Phillips
0139bbb963
Adds support for a new "acl_agent_token" which is used for internal
...
catalog operations.
2016-12-12 14:52:27 -08:00
Chris Marchesi
6500d1afaa
command/agent: Google Compute Engine host discovery
...
This commit adds several command-line and config options that facilitate
host discovery through Google Compute Engine (GCE), much like the
recently added EC2 host discovery options. This should assist with
bootstrapping and joining servers within GCE when non-static addresses
are used, such as when using managed instance groups.
Documentation has also been added. It should be noted that if running
from within a GCE instance, the only option that should be necessary is
-retry-join-gce-tag-value.
2016-12-06 17:46:40 -08:00
James Phillips
8ae9e17dff
Adds an opt-in for new ACL policies and features coming in Consul 0.8.
2016-12-06 11:06:14 -08:00
James Phillips
fba22f997e
Fixes broken link in options doc.
2016-12-05 18:53:51 -08:00
Mike Zupan
fc352d7a62
Needs to be moved
...
This took 2 hours from my life. The near has to be inside a service and not in the main block.
2016-12-01 22:47:02 -08:00
William Lord
4d1f56a287
Update snapshot.html.markdown
2016-12-01 10:11:35 +00:00
James Phillips
c07bdb173b
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
859dbfd72a
Changes Consul version number for new Circonus options.
2016-11-30 21:35:54 -08:00
Kyle Havlovitz
bd69c6d871
Add reload/leave http endpoints ( #2516 )
2016-11-30 13:29:42 -05:00
James Phillips
2dea48193c
Merge pull request #2532 from jamtur01/docspass
...
Documentation pass
2016-11-29 15:15:04 -08:00
James Phillips
214fbbbad2
Update dns.html.markdown
2016-11-29 15:01:38 -08:00
Kyle Havlovitz
124f907063
Add monitor http endpoint
2016-11-28 18:36:26 -05:00
James Turnbull
db13340633
Final dc pass
2016-11-25 13:29:55 -05:00
James Turnbull
8a145d50a3
Removed two space after period exceptions
2016-11-25 13:25:09 -05:00
James Turnbull
edeb7e405a
Another catch
2016-11-25 13:14:09 -05:00
James Turnbull
90a83d1329
And a handful more
2016-11-25 12:39:08 -05:00
James Turnbull
9e5184fca3
More consistency
2016-11-25 12:34:07 -05:00
James Turnbull
23a4a96ad3
Documentation pass
...
I was reviewing some docs and found a few issues.
1. Fixed some spelling mistakes.
2. Re-formatted some paragraphs.
3. Changed some potentially loaded language.
4. Fixed some grammar issues.
5. Tried to consistently use syntax-highlighting.
6. Fixed post-period spacing.
7. Fixed some formatting issues and inconsistency.
8. All "notes" are either proper notes or re-written.
2016-11-25 12:02:32 -05:00
Kyle Havlovitz
dcdadd012f
Fix keyring doc method wording
2016-11-22 20:10:43 -05:00
Kyle Havlovitz
6bd65c668b
Combine keyring endpoints into one
2016-11-22 20:10:43 -05:00
Kyle Havlovitz
31453c7dbd
Add version specific note to keyring http docs
2016-11-22 20:10:43 -05:00
Kyle Havlovitz
345e2366eb
Add keyring api website doc sections
2016-11-22 20:10:43 -05:00
James Phillips
4ed6770cfa
Makes addresses blank in service definition.
2016-11-22 08:29:29 -08:00
James Phillips
ea58d6795d
Tweaks title of snapshot link.
2016-11-21 09:02:19 -08:00
Brian Shumate
940232890e
tweaks
2016-11-18 10:53:59 -05:00
Brian Shumate
3871c4810e
Attempt to describe entire response (for #2393 )
...
Describe fields returned by /v1/catalog/service/<service>
2016-11-18 10:33:37 -05:00
Cameron Stokes
74cfcd3014
~ docs: Typo in agent options page.
2016-11-16 07:58:24 -08:00
Benjamin Farley
58fa50e06d
Small change to how operator docs read
2016-11-16 09:01:51 +00:00
Brian Shumate
df51fde7b0
Docs: Web UI config updates ( #2411 )
...
* Updates around Web UI directory configuration
* consistent terms
2016-11-12 13:08:15 -08:00
Brian Shumate
486fa06eec
Updated broken Extended Key Usage link ( #2500 )
2016-11-10 08:09:39 -08:00
Sumit Gupta
2f97f65ed9
Remove Extra > ( #2499 )
2016-11-10 08:09:17 -08:00
James Phillips
16f8e04bfe
Revert "Updates Circonus metrics library and adds support for display name and tags."
...
This reverts commit bd490ec937
from #2491 .
2016-11-09 16:21:02 -08:00
matt maier
bd490ec937
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
James Phillips
08448015b1
Adds version info to docs for new Circonus options.
2016-11-09 13:26:20 -08:00
matt maier
91a8b43d5a
Update Circonus integration expose Check Display Name and Check Tags configuration options.
2016-11-09 15:33:37 -05:00
Kyle Havlovitz
8e621eb9c8
Set MaxStale default to 10 years and add a stale counter ( #2481 )
...
Default MaxStale to 10 years and add a counter at `consul.dns.stale_queries` that tracks when an agent serves a query that's stale by at least 5 seconds. Previously, MaxStale defaulted to 5 seconds and DNS would become unavailable after a short period of time with no leader. This new default allows DNS requests to still be served in the event of a long outage.
Fixes #2460 .
2016-11-08 14:45:12 -05:00
Cameron Stokes
e6e35d9013
Clarify -retry-join docs. ( #2469 )
2016-11-03 14:22:46 -07:00
Kyle McCullough
73b281a27c
Add setting to skip ssl certificate verification for HTTP checks ( #1984 )
...
* http check: add setting to skip ssl certificate verification
* update http check documentation
* fix typo in documentation
* Add TLSSkipVerify to agent api
2016-11-03 13:17:30 -07:00
James Phillips
233a3a101b
Supports WAN and LAN Serf Bind Addresses. ( #2468 )
...
* * adding cli config and config file support for specifying the serf wan and lan bind addresses
* updating documentation for serf wan and lan options
Fixes #2007
* Cleans up some small things from #2380 .
* Uses the bind default for the agent test for Serf WAN and LAN.
2016-11-03 12:58:58 -07:00
Kyle Havlovitz
1de39d23d1
Small tweaks to docs and syntax
2016-11-03 13:04:42 -04:00
Kyle Havlovitz
f3efab5f84
Add support for ECS task roles as an auth mechanism
2016-11-02 18:48:15 -04:00
Kyle Havlovitz
d4d6e2b482
Move EC2 discovery logic into retryJoin for robustness
2016-11-02 14:35:37 -04:00
Kyle Havlovitz
3be132863f
Enable snapshots in dev mode ( #2453 )
2016-10-31 14:39:47 -04:00
James Phillips
c01a3871c9
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
James Phillips
104b12040a
Merge pull request #2383 from hashicorp/jbs-1462
...
Clarify retry_join addresses for #1462
2016-10-20 11:40:03 -07:00
Brian Shumate
17dfb0b196
Reworded and applied to -retry-join also
2016-10-20 14:14:55 -04:00
James Phillips
b073ec72f3
Adds a note about child process reaping going away.
2016-10-06 21:38:29 -07:00