Commit Graph

6715 Commits

Author SHA1 Message Date
James Phillips d4d25a69a2
Puts the tree in 1.0.0-beta1 release mode. 2017-09-27 16:20:48 -07:00
James Phillips 50a8aa3c1c Update CHANGELOG.md 2017-09-27 16:16:49 -07:00
James Phillips e912127e75 Update CHANGELOG.md 2017-09-27 16:11:40 -07:00
James Phillips 9c34f1d4fc Update CHANGELOG.md 2017-09-27 16:10:58 -07:00
James Phillips d65f36fcda Update CHANGELOG.md 2017-09-27 16:09:40 -07:00
James Phillips e11cbb7ea4 Update CHANGELOG.md 2017-09-27 16:09:20 -07:00
James Phillips 7408b0faa2 Update CHANGELOG.md 2017-09-27 16:09:03 -07:00
James Phillips 1ae5355dda Update CHANGELOG.md 2017-09-27 16:08:22 -07:00
James Phillips 38b2d76d39 Update options.html.md 2017-09-27 15:55:46 -07:00
James Phillips a784be5214 Update CHANGELOG.md 2017-09-27 15:48:24 -07:00
James Phillips b8db92d1b7 Update CHANGELOG.md 2017-09-27 15:47:52 -07:00
James Phillips 145d9564de Update CHANGELOG.md 2017-09-27 15:40:48 -07:00
James Phillips 5fa5f6ef01 Update options.html.md 2017-09-27 15:40:00 -07:00
James Phillips a35f3ae439 Update CHANGELOG.md 2017-09-27 15:38:52 -07:00
James Phillips 61cb8db25c Update CHANGELOG.md 2017-09-27 15:35:35 -07:00
James Phillips 7deed7162f Cleans up some docs for the 1.0 release. (#3508)
* Cleans up information about file extensions, now that they are required.

* Removes references to deprecated configuration options.

* Adds docs for multiple bind address support.
2017-09-27 15:30:30 -07:00
Frank Schröder 07dea89f31 fail early when advertise addr is set to ANY (#3507) 2017-09-27 13:57:55 -07:00
Frank Schröder 9a67556bb5 only detect advertise address if derived value is any (#3506)
* only detect advertise address if derived value is any

* determine detect function only when advertise addr is any
2017-09-27 12:59:47 -07:00
James Phillips 98850322c0
Adds a comment about Datacenter and NodeName being stable interfaces
in the runtime config strucutre.
2017-09-27 11:59:22 -07:00
Frank Schröder 21118cafeb Recursive sanitize (#3505)
* vendor: add github.com/sergi/go-diff/diffmatchpatch for diff'ing test output

* config: refactor Sanitize to recursively clean runtime config and format complex fields

* Removes an extra int cast.

* Adds a top-level check test case for sanitization.
2017-09-27 11:47:40 -07:00
Alex Dadgar 26dfd4cf16 Fix mispelled words 2017-09-27 11:20:01 -07:00
James Phillips 0190c4a081
Gets rid of flaky clause in stats fetcher unit test.
Given how the rutine is coded we can still get data so this wasn't
a reliable thing to check.
2017-09-26 20:53:06 -07:00
James Phillips 7dd2070ae5 Update CHANGELOG.md 2017-09-26 20:50:38 -07:00
preetapan 4d9fc638b4 Issue 3452 (#3500)
* Make sure that id and address are set in member created during reaping of catalog nodes that have been removed from serf

* Get address from node table in the state store rather than from service address

* Fix incorrect lookup by checkname instead of node name

* Make sure that serverlookup is called with the right address format, added unit test.

* Address code review comments

* Tweaks style stuff.
2017-09-26 20:49:41 -07:00
James Phillips a8f228c2ae Adds a "required" note for the port in the network segments configuration. 2017-09-26 17:57:34 -07:00
James Phillips 8aabf59d07 Update CHANGELOG.md 2017-09-26 17:52:47 -07:00
Frank Schröder e84c2b2edd Metrics service prefix (#3498)
* metrics: replace statsite_prefix with service_prefix

The metrics prefix isn't statsite specific and is in fact used
for all metrics providers. Since we are deprecating fields
anyway we should fix this one as well.

Fixes #3293

* Updates docs and sorts telemetry section.

* Renames to "metrics_prefix" to disambiguate with Consul services.

* Updates the change log.
2017-09-26 17:49:55 -07:00
James Phillips 0975031678 Merge pull request #3503 from hashicorp/porter-ci
Makes porter clean up if a porter instance died.
2017-09-26 16:30:27 -07:00
James Phillips d0e099e54c
Makes porter take over if an existing instance died. 2017-09-26 16:25:18 -07:00
James Phillips 961945e80d Update CHANGELOG.md 2017-09-26 15:24:36 -07:00
James Phillips d5d0b7fd74 Merge pull request #3502 from hashicorp/update-boltdb
Updates BoltDB to 1.3.1.
2017-09-26 15:23:26 -07:00
James Phillips 780b19c54f
Updates BoltDB to 1.3.1. 2017-09-26 14:53:01 -07:00
James Phillips 49058fee11 Merge pull request #3501 from hashicorp/snapshot-test-hang
Cleans up some edge cases in TestSnapshot_Forward_Leader.
2017-09-26 14:08:33 -07:00
James Phillips 5fa2322e0b
Cleans up some edge cases in TestSnapshot_Forward_Leader.
These could cause the tests to hang.
2017-09-26 14:07:28 -07:00
Kyle Havlovitz 9030bda940 Update CHANGELOG.md 2017-09-26 13:49:07 -07:00
Kyle Havlovitz bfa70a10ca Fix watch error when http & https are disabled (#3493)
Remove an error in watch reloading that happens when http and https
are both disabled, and use an https address for running watches if
no http addresses are present.

Fixes #3425.
2017-09-26 13:47:27 -07:00
Preetha Appan eb42fbdccf Update CHANGELOG.md 2017-09-26 11:59:11 -05:00
preetapan 1442e9399c Merge pull request #3499 from hashicorp/issue_3449
Move Raft protocol version for list peers end point to server side, f…
2017-09-26 11:57:11 -05:00
Preetha Appan 3c4a108769 Move Raft protocol version for list peers end point to server side, fix unit tests. This fixes #3449 2017-09-26 09:35:39 -05:00
Frank Schroeder 99246d38a7
Revert monkey patch since it is not clear whether this is an issue at all. 2017-09-26 13:42:32 +02:00
Frank Schroeder 56e6439be9
fix data race
Since state.Checks() returns a shallow copy
its elements must not be modified. Copying
the elements in the handler does not guarantee
consistency since that list is guarded by a different
lock. Therefore, the only solution is to have state.Checks()
return a deep copy.
2017-09-26 13:42:10 +02:00
Frank Schroeder 2567a94a81
serf: monkey patch https://github.com/hashicorp/serf/pull/486 2017-09-26 13:40:26 +02:00
Frank Schroeder 48ebc241bb
Monkey patch mitchellh/mapstructure with code from https://github.com/mitchellh/mapstructure/pull/101 2017-09-26 12:42:49 +02:00
Frank Schroeder 3011c828c9
Replace monkey patch with code from https://github.com/hashicorp/hcl/pull/213 2017-09-26 12:42:03 +02:00
Frank Schroeder 7bd85792b2 config: do not clobber multiple check and service definitions
This patch ensures that multiple files with single 'check' or 'service'
definitions result in the combination of them.
2017-09-26 10:24:18 +02:00
James Phillips 9b8e14307f Merge pull request #3496 from hashicorp/ui-rename
Renames `enable_ui` to `ui` to keep compatibility with existing configs.
2017-09-26 00:07:26 -07:00
James Phillips a75a779469
Renames `enable_ui` to `ui` to keep compatibility with existing configs. 2017-09-26 00:05:55 -07:00
James Phillips 1b88c30cd6 Update CHANGELOG.md 2017-09-25 23:45:23 -07:00
James Phillips 14066d8fec Update CHANGELOG.md 2017-09-25 23:44:42 -07:00
James Phillips f053a3102a Update CHANGELOG.md 2017-09-25 23:44:11 -07:00