Commit graph

5088 commits

Author SHA1 Message Date
Sean Chittenden f0ab957711 Merge pull request #2563 from hashicorp/f-sockaddr-0.7
F sockaddr 0.7
2016-12-02 22:38:32 +11:00
Sean Chittenden 73d8efa908
Update Windows support. 2016-12-02 18:05:18 +11:00
James Phillips 0e189fd204 Merge pull request #2564 from mzupan/fix-query-doc
Doc Fix: The Near key is out of place
2016-12-01 22:50:22 -08:00
Mike Zupan 492d39fbb3 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
Sean Chittenden 98afed5da3
Fix compilation on Windows. 2016-12-02 17:04:28 +11:00
Sean Chittenden 1ca285221a
Run all known addresses through go-sockaddr/template.
The following is now possible:

```
$ consul agent -dev -client="{{GetPrivateIP}}" -bind='{{GetInterfaceIP "en0"}}'
```
2016-12-02 16:35:38 +11:00
Sean Chittenden 4104e9e53a
Import github.com/hashicorp/go-sockaddr 2016-12-02 15:14:44 +11:00
Kyle Havlovitz 26a26a489d Add retry with backoff to initial bootstrap checks (#2561) 2016-12-01 17:05:02 -05:00
Kyle Havlovitz 3649c18ef0 Fix race issue in monitor endpoint test 2016-12-01 13:40:00 -05:00
James Phillips 33b29ccfd7 Merge pull request #2556 from williamlord/master
Update snapshot.html.markdown for spelling mistake
2016-12-01 07:44:06 -08:00
James Phillips f2d233c5f0 Update CHANGELOG.md 2016-12-01 07:43:10 -08:00
James Phillips 08c648f976 Merge pull request #2531 from alicebob/txntypes
fix KVOp types
2016-12-01 07:41:10 -08:00
Seth Vargo a3cd42bd68
Use a random port instead of idx in testutil
The testutil server uses an atomic incrementer to generate unique port
numbers. This works great until tests are run in parallel, _across
packages_. Because each package starts at the same "offset" idx, they
collide.

One way to overcome this is to run each packages' test in isolation, but
that makes the test suite much longer as it does not maximize
parallelization. Alternatively, instead of having "predictable" ports,
we can let the OS choose a random open port automatically.

This still has a (albeit smaller) race condition in that the OS could
return an open port twice, before the server has a chance to actually
start and occupy said port. In practice, I have not been able to hit
this race condition, so it either doesn't happen or it happens far less
frequently that the existing implementation.

I'm not sure how I feel about the panic, but this is just test code, so
I'm including to say it's okay?
2016-12-01 17:24:26 +02:00
William Lord 67a84e0e20 Update snapshot.html.markdown 2016-12-01 10:11:35 +00:00
James Phillips 55d7859a50 Update CHANGELOG.md 2016-11-30 21:47:33 -08:00
James Phillips dc37498327 Merge pull request #2533 from mckennajones/bug2526
Fix for KV put command
2016-11-30 21:46:04 -08:00
James Phillips 7880b314ce Update CHANGELOG.md 2016-11-30 21:44:01 -08:00
James Phillips bd5adea5ba 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 7d67346f42
Changes Consul version number for new Circonus options. 2016-11-30 21:35:54 -08:00
James Phillips 83dbad4aec Update CHANGELOG.md 2016-11-30 21:11:42 -08:00
James Phillips bc561532e6 Merge pull request #2551 from hashicorp/jbs-2541
Remove Deregister from UI for #2541
2016-11-30 21:09:13 -08:00
Kyle Havlovitz 926acb69d4 Update CHANGELOG.md 2016-11-30 13:40:09 -05:00
Kyle Havlovitz dd05afb32e Add reload/leave http endpoints (#2516) 2016-11-30 13:29:42 -05:00
mckennajones 33d97a9b9a ignore sigpipe signals to fix journalctl issue #2404 2016-11-30 09:42:10 -08:00
James Phillips 8a0163fd4a Merge pull request #2552 from hashicorp/jbs-2540
Update compatibility table for #2540
2016-11-30 08:29:50 -08:00
Brian Shumate b59ca6bd4d
Update compatibility table for #2540 2016-11-30 11:17:52 -05:00
Brian Shumate eee78bef83
Remove Deregister from UI for #2541
- Remove Deregister button
- Remove Deregister functionality
2016-11-30 11:07:04 -05:00
James Phillips f41d1c1cb5 Merge pull request #2547 from hashicorp/sethvargo/return_type
Return the correct type
2016-11-29 23:07:56 -08:00
mckennajones a99f840653 Unit test for kv_put with negative values 2016-11-29 22:29:31 -08:00
Seth Vargo 9f652c2690
Return the correct type 2016-11-29 21:17:00 -05:00
James Phillips b95bbd7cbe Update CHANGELOG.md 2016-11-29 18:01:43 -08:00
Seth Vargo 90f80056dd Merge pull request #2544 from hashicorp/sethvargo/best_status
Add an API method for determining the best status
2016-11-29 19:07:52 -05:00
James Phillips 2ceb4e8763 Update CHANGELOG.md 2016-11-29 16:01:23 -08:00
James Phillips d97eb758c6 Merge pull request #2530 from coffeehc/master
adapt to server's checker field TLSSkipVerify type
2016-11-29 16:00:21 -08:00
Seth Vargo 2542c92b59
Do not log 2016-11-29 18:55:34 -05:00
Seth Vargo 1c55429a38
Add an API method for determining the best status
Given a list of HealthChecks, this determines the "best" status for the
collective group. This is useful for nodes and services, which may have
multiple checks associated with them.
2016-11-29 18:41:46 -05:00
James Phillips ee16675eda Merge pull request #2532 from jamtur01/docspass
Documentation pass
2016-11-29 15:15:04 -08:00
James Phillips f4f96c180d Update dns.html.markdown 2016-11-29 15:01:38 -08:00
James Phillips b31ed2dcbd Merge pull request #2538 from tolitius/clojure-client
[website]: Clojure client to SDK section
2016-11-29 14:59:44 -08:00
James Phillips 89981b147b Merge pull request #2543 from hashicorp/f-bench
Gets benchmarks running again and does a rough pass for 0.7.1.
2016-11-29 13:13:14 -08:00
James Phillips 2e84030e38
Gets benchmarks running again and does a rough pass for 0.7.1. 2016-11-29 13:02:26 -08:00
anatoly 62921541ec [website]: Clojure client to SDK
in the "Download Consul Tools" list
2016-11-29 02:12:14 -05:00
Kyle Havlovitz 06411e0560 Update CHANGELOG.md 2016-11-28 18:43:50 -05:00
Kyle Havlovitz 475408633a Add QueryOptions to api package's monitor 2016-11-28 18:36:26 -05:00
Kyle Havlovitz ccab51b07c Add logWriter to agent Create() method 2016-11-28 18:36:26 -05:00
Kyle Havlovitz d91854f3b0 Add monitor http endpoint 2016-11-28 18:36:26 -05:00
mckennajones 3b582db61d Simple check to differentiate between stdin flag or value that contains
a -
2016-11-27 12:55:14 -08:00
James Turnbull b7566cd0e8 Fix to watch command docs 2016-11-25 13:34:08 -05:00
James Turnbull edd5739e90 Final dc pass 2016-11-25 13:29:55 -05:00
James Turnbull 25566a292b Removed two space after period exceptions 2016-11-25 13:25:09 -05:00