Commit graph

5240 commits

Author SHA1 Message Date
James Phillips 898b26524a
Adds a warning if the context is canceled. 2017-03-20 09:27:28 -07:00
James Phillips 5ee1256137
Converts the stats fetch from serial to parallel and snaps the last index. 2017-03-19 20:48:42 -07:00
James Phillips cfc01419c8
Adds a stats fetcher to make sure we don't block the autopilot loop. 2017-03-17 18:42:28 -07:00
Kyle Havlovitz f50ce2084a
Only count healthy voters for FailureTolerance 2017-03-16 12:19:16 -07:00
Kyle Havlovitz 006c6b93b3 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 9c7bba7903
Tweak last_contact health logic for leader 2017-03-15 19:57:54 -07:00
Kyle Havlovitz bc0494e396
Reorganized cluster health check loop and logic 2017-03-15 18:27:17 -07:00
Kyle Havlovitz bb98e39dd4
Add tests for servers changing address/ID 2017-03-15 16:50:42 -07:00
Kyle Havlovitz c40279e012
Fix an issue with changing server IDs and add a few UX enhancements around autopilot features 2017-03-15 16:09:55 -07:00
James Phillips c769f700f1 Merge pull request #2800 from hashicorp/nicjackson/docs
Updated documentation to add information that bootstrap overrides ser…
2017-03-14 18:22:26 -07:00
Nic Jackson 414ac8bf7b Updated documentation to add information that bootstrap overrides server mode 2017-03-14 17:56:33 -07:00
James Phillips 16b9df180f Update CHANGELOG.md 2017-03-14 17:53:31 -07:00
James Phillips f2ee6d67dc Merge pull request #2798 from hashicorp/f-lower-id
Forces user-supplied node IDs to lower case for consistency.
2017-03-14 17:52:35 -07:00
James Phillips 9b43b31900
Forces user-supplied node IDs to lower case for consistency. 2017-03-13 19:51:56 -07:00
Kyle Havlovitz 99db8f2f2a Update CHANGELOG.md 2017-03-10 15:35:18 -08:00
Kyle Havlovitz 29c4044e08 Merge pull request #2796 from hashicorp/f-autopilot-guide
Add autopilot guide to the docs
2017-03-10 15:32:27 -08:00
Kyle Havlovitz f5050cce58
Adjust autopilot sections based on feedback 2017-03-10 15:22:20 -08:00
Kyle Havlovitz 3c6bece859
Add autopilot guide to the docs 2017-03-10 14:55:18 -08:00
Kyle Havlovitz 1b695818c7 Update CHANGELOG.md 2017-03-10 12:47:58 -08:00
Kyle Havlovitz 4807215fa1 Merge pull request #2788 from hashicorp/f-autopilot-2
Autopilot server health monitoring
2017-03-10 12:29:45 -08:00
Kyle Havlovitz b15d67bfac
Use defers for WaitGroup and Ticker stop 2017-03-10 12:29:03 -08:00
Kyle Havlovitz 8130f9b1c1
Cleaned up and reorganized some autopilot-related code 2017-03-09 18:21:40 -08:00
James Phillips 0cb637927c
Adds back the RPC page with a deprecation notice.
Fixes #2794.
2017-03-09 11:09:11 -08:00
James Phillips cca7f8d125 Update CHANGELOG.md 2017-03-09 09:28:48 -08:00
James Phillips 9ed7b7de72 Merge pull request #2793 from hashicorp/b-dereg-acl
Adds token to deregister request when reconciling.
2017-03-09 09:27:41 -08:00
James Phillips 1e313e339c
Adds token to deregister request when reconciling.
Fixes #2792.
2017-03-09 09:25:42 -08:00
James Phillips 61ea6faf6c Fixes a typo in the snapshot docs. 2017-03-08 19:49:07 -08:00
Jack Pearkes d66b60a397 Merge pull request #2790 from hashicorp/website-add-meganav
Website add meganav
2017-03-08 17:55:04 -08:00
Jack Pearkes a530f43e0f website: middleman-hashicorp bump to 0.3.13 2017-03-08 16:37:58 -08:00
Jason Costello b3970914f8 Small optical adjustment to center Jumbotron logo mark 2017-03-08 16:36:38 -08:00
Jason Costello 6ead80aebb Fix font-scoping 2017-03-08 16:36:38 -08:00
Jason Costello 6fa6fcc865 Update middleman-hashicorp to 0.3.11 2017-03-08 16:36:38 -08:00
Jason Costello bed54f332f Remove 'by hashicorp" 2017-03-08 16:36:30 -08:00
Jason Costello cb2dd2a907 Remove announcement banner 2017-03-08 16:36:30 -08:00
Jason Costello 2de9f8a80b Update middleman-hashicorp 2017-03-08 16:36:30 -08:00
Jason Costello fd05c1826c Add meganav 2017-03-08 16:35:02 -08:00
Jason Costello 6ea7665451 Remove unnecessary font 2017-03-08 16:34:26 -08:00
Kyle Havlovitz a5cbee0e99
Add AutopilotPolicy interface and BasicAutopilot 2017-03-08 12:26:58 -08:00
Seth Vargo 984cddff9a
Update license 2017-03-08 11:40:06 -08:00
Seth Vargo 217441a94a
Update license 2017-03-08 11:37:33 -08:00
Seth Vargo d29694e253
Update middleman-hashicorp 2017-03-08 11:26:11 -08:00
Kyle Havlovitz a7de1e2a3b
Move RaftStats to Status endpoint 2017-03-07 13:58:06 -08:00
Kyle Havlovitz 0606133b75
Merge branch 'master' into f-autopilot-2 2017-03-06 16:02:19 -08:00
Kyle Havlovitz 8bcab6c6d7
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 b06ca7e5c8 Merge pull request #2787 from hashicorp/revert-2786-f-client-addr-fallback
Revert "Change `ClientAddr` to default to `BindAddr` when not present."
2017-03-06 13:33:32 -08:00
Sean Chittenden c6feba6ab7 Revert "Change ClientAddr to default to BindAddr when not present." 2017-03-06 13:32:43 -08:00
Sean Chittenden aa3086c147 Merge pull request #2786 from hashicorp/f-client-addr-fallback
Change `ClientAddr` to default to `BindAddr` when not present.
2017-03-06 12:31:11 -08:00
Sean Chittenden 17ccae59f4
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 e1ced1de30
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 233795704c Moves raft_protocol config out into its own top-level item. 2017-03-04 09:20:23 -08:00