Commit Graph

6688 Commits

Author SHA1 Message Date
Preetha Appan 54bb478372 Update sentinel documentation to remove features that are coming in a future release 2017-09-28 21:00:00 -05:00
Kyle Havlovitz 8b31eef467
Add base command option for hiding generated help for normal args 2017-09-28 18:43:28 -07:00
James Phillips a2997e2823 Update CHANGELOG.md 2017-09-28 15:40:07 -07:00
James Phillips 068d04c417 Merge pull request #3513 from hashicorp/list-peers-error
Returns errors properly from the consul operator raft list-peers comm…
2017-09-28 15:39:00 -07:00
James Phillips be92c6862d
Returns errors properly from the consul operator raft list-peers command. 2017-09-28 15:37:59 -07:00
Frank Schroeder 4862275525
Update CHANGELOG.md 2017-09-28 12:49:37 +02:00
Frank Schroeder 622bc8473b
Merge pull request #3343 from zeroae/f-node-dns-txt-record 2017-09-28 12:45:31 +02:00
Frank Schroeder abe41d231c
Fix tests after config refactor 2017-09-28 12:32:46 +02:00
Patrick Sodré fa67334361
Update docs on RFC1464 vs RFC1035 options 2017-09-28 12:32:46 +02:00
Patrick Sodré 7501331d13
Implement encodeKVasRFC1464 function 2017-09-28 12:32:46 +02:00
Patrick Sodré 2cc6ac542c
Add RFC1464 tests 2017-09-28 12:32:45 +02:00
Patrick Sodré 865f087ec9
Turn encodeKVasRFC1464 into a plain function 2017-09-28 12:32:45 +02:00
Patrick Sodré 12fb0bfd5b
Use verify for NodeLookup CNAME, and TXT tests 2017-09-28 12:32:45 +02:00
Patrick Sodré d5e3b9d843
Refactor formatTxtRecords as encodeKVasRFC1464
- Move the logic of rfc1035 out of the encoding function
  - Left basic version of encodingKV as 'k=v'
2017-09-28 12:32:45 +02:00
Patrick Sodré 655c89ee10
Fix editorial suggestions 2017-09-28 12:32:45 +02:00
Patrick Sodré afb0c92334
Remove redundant check of Node.Meta size 2017-09-28 12:32:45 +02:00
Patrick Sodré 53e812e759
Return Node.Meta info using the DNS interface 2017-09-28 12:32:45 +02:00
Patrick Sodré ab90865865
Add test for NoteLookup ANY request 2017-09-28 12:32:45 +02:00
Patrick Sodré 4c6b8022c2
Add test for querying Node.Meta with DNS TXT
- Lookup TXT records using recursive lookups
  - Expect TXT record equal to value if key starts with rfc1035-
  - Expect TXT record in rfc1464 otherwise, i.e. (k=v)

ref #2709
2017-09-28 12:32:45 +02:00
Patrick Sodré 8e14b527e8
Update docs to include support for TXT records
- Add explanation to the difference between RFC1035
    and RFC1464 queries.
2017-09-28 12:32:42 +02:00
James Phillips a314298f65 Update CHANGELOG.md 2017-09-27 23:40:00 -07:00
James Phillips 0e75354993 Update CHANGELOG.md 2017-09-27 17:56:24 -07:00
James Phillips 82f312d2a6
Release v1.0.0-beta1 2017-09-27 17:11:01 -07:00
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