Commit Graph

7798 Commits

Author SHA1 Message Date
Kyle Havlovitz 74b0c58831
Fix vet error 2017-12-18 18:04:42 -08:00
Kyle Havlovitz dfc165a47b
Move autopilot initializing to oss file 2017-12-18 18:02:44 -08:00
Kyle Havlovitz 044c38aa7b
Move autopilot setup to a separate file 2017-12-18 16:55:51 -08:00
Kyle Havlovitz 9e1ba6fb4e
Make some final tweaks to autopilot package 2017-12-18 12:26:47 -08:00
Kyle Havlovitz 6b58df5898
Merge pull request #3737 from hashicorp/autopilot-refactor
Move autopilot to a standalone package
2017-12-15 14:09:40 -08:00
James Phillips b7e99f2b0f
Puts the tree in 1.0.3 dev mode. 2017-12-15 08:10:37 -08:00
James Phillips 2bf59782bb
Bumps website version to 1.0.2. 2017-12-15 07:31:58 -08:00
James Phillips 8af8fcc58a
Release v1.0.2 2017-12-15 05:53:15 -08:00
James Phillips 0cbdb68983
Puts the tree into 1.0.2 release mode. 2017-12-15 05:49:40 -08:00
James Phillips 14ef4f602e
Update CHANGELOG.md 2017-12-14 23:08:35 -08:00
James Phillips 0541d33ec4
Update CHANGELOG.md 2017-12-14 19:18:59 -08:00
James Phillips 2f6ed7cef3
Updates the change log. 2017-12-14 17:55:10 -08:00
James Phillips 262cbbd9ca
Merge pull request #3728 from weiwei04/fix_globalRPC_goroutine_leak
fix globalRPC goroutine leak
2017-12-14 17:54:19 -08:00
James Phillips 9e629dcbaa
Updates the change log. 2017-12-14 17:52:58 -08:00
James Phillips 7cc034dc13
Merge pull request #3646 from posener/update-complete
vendor: update complete version to v1.1
2017-12-14 17:51:33 -08:00
James Phillips c26f64f841
Merge pull request #3740 from yfouquet/issue_3709
Update documentation for "serf_lan_bind" and "serf_wan_bind"
2017-12-14 17:49:38 -08:00
James Phillips 1af157d8ca
Merge pull request #3749 from tjcelaya/rpc-warning-datacenter-guide
Clarify RPC listen address usage in Basic WAN guide
2017-12-14 17:46:09 -08:00
James Phillips 6357205a3b
Updates the change log. 2017-12-14 17:30:03 -08:00
James Phillips 33b9a55cdd
Merge pull request #3750 from hashicorp/kv-get-base64
Adds -base64 support to kv get command.
2017-12-14 17:28:45 -08:00
James Phillips 6cfb74d5bd
Adds -base64 support to kv get command.
Fixes #3736
2017-12-14 17:28:04 -08:00
James Phillips 0598af91f4
Updates the change log. 2017-12-14 14:03:29 -08:00
James Phillips 518ab954bc
Merge pull request #3642 from yfouquet/master
[Fix] Service tags not added to health checks
2017-12-14 13:59:39 -08:00
James Phillips a06f29998d
Updates the change log. 2017-12-14 13:56:26 -08:00
James Phillips d6dda140fe
Merge pull request #3747 from hashicorp/session-checks
Works around mapstructure behavior to enable sessions with no checks.
2017-12-14 13:54:57 -08:00
Tomas Celaya e4325df8ad Include a warning about the interaction between `translate_wan_addrs` and `bind_addr` in the Basic WAN guide. 2017-12-14 13:12:04 -08:00
James Phillips b09b846caa
Tightens up the API test verification. 2017-12-14 09:07:57 -08:00
James Phillips 47cd775b3d
Works around mapstructure behavior to enable sessions with no checks.
Fixes #3732
2017-12-14 09:07:56 -08:00
James Phillips 6e93640520
Updates the change log. 2017-12-13 20:56:31 -08:00
James Phillips 3dc3ba8d37
Merge pull request #3746 from hashicorp/node-meta-merge
Changes maps to merge vs. overwrite when processing configs.
2017-12-13 20:55:03 -08:00
Kyle Havlovitz 798aca92c5
Expose IsPotentialVoter for advanced autopilot logic 2017-12-13 17:53:51 -08:00
James Phillips 68c94a5047
Changes maps to merge vs. overwrite when processing configs.
Fixes #3716
2017-12-13 16:06:01 -08:00
James Phillips b87e108633
Updates the change log. 2017-12-13 14:16:09 -08:00
James Phillips f95c117aad
Merge pull request #3745 from hashicorp/restore-timeout
Removes timeout when restoring snapshots.
2017-12-13 14:14:52 -08:00
James Phillips 0f959b4fae
Removes timeout when restoring snapshots.
Fixes #3326

Originally I started out making this configurable, but realized it wasn't
worth the complexity. If you are restoring a snapshot, you really need to
wait until it's done, or something bad happens like losing leadership, which
will already trigger an error. Rather than have operators have to tune this
to cover whatever their snapshot size is, we just make it block here. There's
also already a bocking barrier right after the restore that hasn't been a
problem.
2017-12-13 14:10:54 -08:00
Kyle Havlovitz a4ac148077
Merge branch 'master' into autopilot-refactor 2017-12-13 11:54:32 -08:00
James Phillips b4265aeef1
Updates the change log. 2017-12-13 11:26:09 -08:00
James Phillips a63bd99a34
Merge pull request #3743 from hashicorp/autopilot-config
Copies the autopilot settings from the runtime config.
2017-12-13 11:24:46 -08:00
Kyle Havlovitz 6c985132de
A few last autopilot adjustments 2017-12-13 11:19:17 -08:00
Kyle Havlovitz 77d92bf15c
More autopilot reorganizing 2017-12-13 10:57:37 -08:00
James Phillips 984de6e2e0
Adds TODOs referencing #3744. 2017-12-13 10:52:06 -08:00
James Phillips 63011dd393
Copies the autopilot settings from the runtime config.
Fixes #3730
2017-12-13 10:32:05 -08:00
Kyle Havlovitz f347c8a531
More refactoring to make autopilot consul-agnostic 2017-12-12 17:46:28 -08:00
Yoann Fouquet b7ca510142 Update documentation for "serf_lan_bind" and "serf_wan_bind"
These was spotted in issue #3709.
These two configuration elements were renamed "serf_lan" and "serf_wan" in commit 12216583a1
Update documentation to fit the new code.
Note that flags "-serf-lan-bind" and "-serf-wan-bind" were not renamed.
2017-12-12 13:55:19 +01:00
Yoann Fouquet 6f5aecad76 Adjust documentation for service tags of checks
Add some missing ServiceTags.
Replace null ServiceTags by empty list (ServiceTags cannot be null).
2017-12-12 13:39:37 +01:00
Yoann Fouquet f4f7db0059 [Fix] Service tags not added to health checks
Since commit 9685bdcd0ba4b4b3adb04f9c1dd67d637ca7894e, service tags are added to the health checks.
Otherwise, when adding a service, tags are not added to its check.

In updateSyncState, we compare the checks of the local agent with the checks of the catalog.
It appears that the service tags are different (missing in one case), and so the check is synchronized.
That increase the ModifyIndex periodically when nothing changes.

Fixed it by adding serviceTags to the check.

Note that the issue appeared in version 0.8.2.
Looks related to #3259.
2017-12-12 13:39:37 +01:00
Kyle Havlovitz 8546a1d3c6
Move autopilot to a standalone package 2017-12-11 16:45:33 -08:00
James Phillips d91cb28c46
Merge pull request #3735 from youngjl1/master
Name correction in documentation
2017-12-11 15:26:36 -08:00
youngjl1 f32613892f
Name correction in documentation 2017-12-10 10:26:02 -05:00
James Phillips 32b64575d1
Moves Serf helper into lib to fix import cycle in consul-enterprise. 2017-12-07 16:57:58 -08:00
James Phillips e432477bcc
Updates the change log. 2017-12-07 16:45:21 -08:00