Commit Graph

676 Commits

Author SHA1 Message Date
James Phillips 4092d1e906
Updates the change log. 2017-10-31 15:07:47 -07:00
James Phillips d1ead2c48d
Updates the change log. 2017-10-31 13:21:25 -07:00
Frank Schroeder 610f3c86a0
Update CHANGELOG.md 2017-10-26 19:59:57 +02:00
Frank Schroeder d1923a20a7
Update CHANGELOG.md 2017-10-26 19:58:38 +02:00
James Phillips a3f6e16573 Update CHANGELOG.md 2017-10-23 22:54:37 -07:00
James Phillips 7fdd016bd6 Update CHANGELOG.md 2017-10-23 22:53:29 -07:00
James Phillips 9580f75ee9 Update CHANGELOG.md 2017-10-23 08:58:49 -07:00
Frank Schroeder b8501a999b
Update CHANGELOG.md 2017-10-23 16:44:32 +02:00
James Phillips fb465707df Update CHANGELOG.md 2017-10-21 20:03:58 -07:00
preetapan 6d34bc3e7d Update CHANGELOG.md 2017-10-21 21:30:04 -05:00
preetapan f1ec6191ae Update CHANGELOG.md 2017-10-21 21:28:58 -05:00
preetapan 41343cddaf Update CHANGELOG.md 2017-10-21 21:08:34 -05:00
preetapan e03fce5bcd Update CHANGELOG.md 2017-10-21 21:07:30 -05:00
James Phillips e8e4e5f867
Updates the change log. 2017-10-20 16:51:43 -07:00
Preetha Appan c6c5cd5b48 Update CHANGELOG.md 2017-10-20 10:18:19 -05:00
Preetha Appan 77cd2e7e6e Update CHANGELOG.md 2017-10-19 12:59:12 -05:00
James Phillips cafd20d3f0
Updates the change log. 2017-10-18 11:32:53 -07:00
James Phillips 73481c6474
Puts the tree in 1.0 final release mode. 2017-10-16 09:16:52 -07:00
James Phillips f25c66dfd9 Fixes an XSS issue with unescaped node names. (#3578)
* Fixes an XSS issue with node names in the tomography graph.

* Updates built-in static web assets.

* Updates the change log.
2017-10-16 09:12:36 -07:00
James Phillips 204e6bac18
Adds a 1.0 section to the upgrade guide and cleans up the change log. 2017-10-13 16:46:36 -07:00
James Phillips 323b74d727
Updates the change log. 2017-10-11 11:59:35 -07:00
James Phillips aaf6b17a4d
Updates the change log. 2017-10-11 07:45:42 -07:00
Frank Schröder 94f58199b1 agent: add option to discard health output (#3562)
* agent: add option to discard health output

In high volatile environments consul will have checks with "noisy"
output which changes every time even though the status does not change.
Since the output is stored in the raft log every health check update
unblocks a blocking call on health checks since the raft index has
changed even though the status of the health checks may not have changed
at all. By discarding the output of the health checks the users can
choose a different tradeoff. Less visibility on why a check failed in
exchange for a reduced change rate on the raft log.

* agent: discard output also when adding a check

* agent: add test for discard check output

* agent: update docs

* go vet

* Adds discard_check_output to reloadable config table.

* Updates the change log.
2017-10-10 17:04:52 -07:00
preetapan 77c972f594 Fixes agent error handling when check definition is invalid. Distingu… (#3560)
* Fixes agent error handling when check definition is invalid. Distinguishes between empty checks vs invalid checks

* Made CheckTypes return Checks from service definition struct rather than a new copy, and other changes from code review. This also errors when json payload contains empty structs

* Simplify and improve validate method, and make sure that CheckTypes always returns a new copy of validated check definitions

* Tweaks some small style things and error messages.

* Updates the change log.
2017-10-10 16:54:06 -07:00
James Phillips f71eabdd0f
Updates the change log. 2017-10-10 15:24:10 -07:00
James Phillips 8a52684466
Updates the change log. 2017-10-06 14:17:21 -07:00
Preetha Appan 25caa39615 Updating CHANGELOG.md 2017-10-06 16:10:35 -05:00
James Phillips 305578faa7
Updates the change log. 2017-10-06 11:36:03 -07:00
James Phillips ea19a6eeeb
Updates the change log. 2017-10-06 07:57:22 -07:00
James Phillips 8e19eb32fb
Updates the change log. 2017-10-05 09:30:56 -07:00
Frank Schroeder 9d81676f22
Update CHANGELOG.md 2017-10-05 18:14:26 +02:00
James Phillips 732c27201e
Updates the change log. 2017-10-04 22:59:22 -07:00
James Phillips 3675b35235 Update CHANGELOG.md 2017-10-04 19:48:34 -07:00
James Phillips 658473dc5b
Updates the change log. 2017-10-04 19:47:44 -07:00
Kyle Havlovitz 8c03bb4ee8 Update CHANGELOG.md 2017-10-04 17:48:30 -07:00
James Phillips f72cc6ba72 Update CHANGELOG.md 2017-10-04 16:51:49 -07:00
James Phillips 8860e0d451 Update CHANGELOG.md 2017-10-04 16:51:11 -07:00
Frank Schröder 9e11da5a31 Make GH-xxxx issue numbers clickable. (#3533) 2017-10-04 11:57:03 -07:00
Frank Schroeder 9ada4b16d0
Revert "Test using issue numbers in CHANGELOG"
This reverts commit 3d069781ff.
2017-10-04 20:32:58 +02:00
Frank Schröder 3d069781ff Test using issue numbers in CHANGELOG 2017-10-04 20:29:14 +02:00
Frank Schroeder bbd5bad83b
Revert "Test using github links in CHANGELOG"
This reverts commit e72ff5dd43.
2017-10-04 20:23:10 +02:00
Frank Schröder e72ff5dd43 Test using github links in CHANGELOG 2017-10-04 20:21:59 +02:00
James Phillips 59aee5a55d Update CHANGELOG.md 2017-10-04 10:48:30 -07:00
Frank Schroeder 69a02f22a1
Update CHANGELOG.md 2017-10-04 19:20:56 +02:00
James Phillips 53144d02a5 Update CHANGELOG.md 2017-10-04 09:55:15 -07:00
Preetha Appan 7cf7b45188 Update CHANGELOG.md 2017-10-04 10:46:36 -05:00
James Phillips f8da72a8b5 Update CHANGELOG.md 2017-09-29 12:00:56 -07:00
Frank Schroeder 8c1ed2cdf2
Update CHANGELOG.md 2017-09-29 20:56:01 +02:00
preetapan aba66da7d6 Update CHANGELOG,md 2017-09-28 21:26:31 -05:00
Preetha Appan 24a5812a4f Update CHANGELOG.md with operator API endpoints whose http verb enforcement behavior change with 1.0 2017-09-28 21:15:15 -05:00
James Phillips a2997e2823 Update CHANGELOG.md 2017-09-28 15:40:07 -07:00
Frank Schroeder 4862275525
Update CHANGELOG.md 2017-09-28 12:49:37 +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 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 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 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 7dd2070ae5 Update CHANGELOG.md 2017-09-26 20:50:38 -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 961945e80d Update CHANGELOG.md 2017-09-26 15:24:36 -07:00
Kyle Havlovitz 9030bda940 Update CHANGELOG.md 2017-09-26 13:49:07 -07:00
Preetha Appan eb42fbdccf Update CHANGELOG.md 2017-09-26 11:59:11 -05: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
James Phillips fd1bc151eb Update CHANGELOG.md 2017-09-25 23:12:20 -07:00
James Phillips 2d87f651cb Update CHANGELOG.md 2017-09-25 23:12:03 -07:00
Frank Schröder 1e461110e6 agent: consolidate handling of 405 Method Not Allowed (#3405)
* agent: consolidate http method not allowed checks

This patch uses the error handling of the http handlers to handle HTTP
method not allowed errors across all available endpoints. It also adds a
test for testing whether the endpoints respond with the correct status
code.

* agent: do not panic on metrics tests

* agent: drop other tests for MethodNotAllowed

* agent: align /agent/join with reality

/agent/join uses PUT instead of GET as documented.

* agent: align /agent/check/{fail,warn,pass} with reality

/agent/check/{fail,warn,pass} uses PUT instead of GET as documented.

* fix some tests

* Drop more tests for method not allowed

* Align TestAgent_RegisterService_InvalidAddress with reality

* Changes API client join to use PUT instead of GET.

* Fixes agent endpoint verbs and removes obsolete tests.

* Updates the change log.
2017-09-25 23:11:19 -07:00
James Phillips 45646ac3f4 Bumps default Raft protocol to version 3. (#3477)
* Changes default Raft protocol to 3.

* Changes numPeers() to report only voters.

This should have been there before, but it's more obvious that this
is incorrect now that we default the Raft protocol to 3, which puts
new servers in a read-only state while Autopilot waits for them to
become healthy.

* Fixes TestLeader_RollRaftServer.

* Fixes TestOperator_RaftRemovePeerByAddress.

* Fixes TestServer_*.

Relaxed the check for a given number of voter peers and instead do
a thorough check that all servers see each other in their Raft
configurations.

* Fixes TestACL_*.

These now just check for Raft replication to be set up, and don't
care about the number of voter peers.

* Fixes TestOperator_Raft_ListPeers.

* Fixes TestAutopilot_CleanupDeadServerPeriodic.

* Fixes TestCatalog_ListNodes_ConsistentRead_Fail.

* Fixes TestLeader_ChangeServerID and adjusts the conn pool to throw away
sockets when it sees io.EOF.

* Changes version to 1.0.0 in the options doc.

* Makes metrics test more deterministic with autopilot metrics possible.
2017-09-25 15:27:04 -07:00
James Phillips 8bc8c25cfb
Tweaks some versions around 1.0.0. 2017-09-25 13:47:45 -07:00
Frank Schroeder caed0ca3c7
Update CHANGELOG 2017-09-25 03:19:05 +02:00
James Phillips cc710aed39
Puts tree in 0.9.4 dev mode. 2017-09-08 11:13:20 -07:00
James Phillips 4c2e13e0df
Puts the tree in 0.9.3 release mode. 2017-09-08 09:34:55 -07:00
James Phillips 2f11c0deaf Update CHANGELOG.md 2017-09-06 22:40:03 -07:00
preetapan c283dc4202 Fixed typo in CHANGELOG.md 2017-09-06 17:12:36 -05:00
James Phillips 79bae51e27 Update CHANGELOG.md 2017-09-06 13:39:33 -07:00
James Phillips 39b3d03f19 Update CHANGELOG.md 2017-09-06 07:38:16 -07:00
James Phillips a0fca3dae7 Update CHANGELOG.md 2017-09-01 15:18:14 -07:00
James Phillips bd1f1fbbbb Update CHANGELOG.md 2017-09-01 15:17:35 -07:00
Kyle Havlovitz 5b2edf4a4d Update CHANGELOG.md 2017-09-01 12:44:08 -07:00
James Phillips f41a3fe6c0 Update CHANGELOG.md 2017-09-01 11:12:43 -07:00
James Phillips 827b670048 Update CHANGELOG.md 2017-09-01 11:10:08 -07:00
Preetha Appan 2386214655 Wire server provider for raft layer only on protocol version 3 and above, and update changelog 2017-08-30 14:36:47 -05:00
James Phillips 58b79d43b7
Updates the change log. 2017-08-29 15:33:48 -07:00
James Phillips cc2f734a0c Update CHANGELOG.md 2017-08-25 00:14:44 -07:00
Preetha Appan 5ca1c12005 Updating CHANGELOG 2017-08-24 16:50:22 -05:00
James Phillips 2277e69bac Update CHANGELOG.md 2017-08-23 14:37:39 -07:00
Frank Schroeder d155fc3cc1
Update CHANGELOG.md 2017-08-23 22:40:43 +02:00
James Phillips 91dfa3d31d Update CHANGELOG.md 2017-08-21 15:31:40 -07:00
James Phillips c060635b82 Update CHANGELOG.md 2017-08-21 15:31:24 -07:00
Preetha Appan 642fcd4611 Update CHANGELOG.md 2017-08-18 11:22:35 -05:00
Preetha Appan b51645739f Update CHANGELOG.md 2017-08-16 09:39:10 -05:00
James Phillips f51d56c80c
Switches to using a read lock for the agent's RPC dispatcher.
This prevents RPC calls from getting serialized in this spot.

Fixes #3376
2017-08-09 18:51:55 -07:00
James Phillips 6194dcf36f
Puts tree in 0.9.3 dev mode. 2017-08-09 18:33:57 -07:00
James Phillips 0e82e08168 Update CHANGELOG.md 2017-08-09 16:19:36 -07:00
James Phillips d07946949d Update CHANGELOG.md 2017-08-09 15:30:52 -07:00
James Phillips d441381430
Puts tree into 0.9.2 dev mode. 2017-08-08 23:22:19 -07:00
James Phillips 90b955d65f
Puts the tree into 0.9.1 release mode. 2017-08-08 21:53:28 -07:00
James Phillips 942a54181c Update CHANGELOG.md 2017-08-08 16:28:03 -07:00
Kyle Havlovitz 34de0b9292 Update CHANGELOG.md 2017-08-08 14:01:51 -07:00
Kyle Havlovitz d489370ddf Update CHANGELOG.md 2017-08-08 14:01:33 -07:00
Preetha Appan 33ed4fa000 Update CHANGELOG.md 2017-08-08 09:54:45 -05:00
James Phillips eb8b2f5778 Update CHANGELOG.md 2017-08-07 16:37:56 -07:00
Preetha Appan 29a336eb45 Updated CHANGELOG.md 2017-08-04 10:44:36 -05:00
James Phillips 64f0a85564 Update CHANGELOG.md 2017-08-03 18:37:27 -07:00
James Phillips 296c87638b Update CHANGELOG.md 2017-08-03 18:37:12 -07:00
James Phillips 3845397880 Update CHANGELOG.md 2017-08-03 18:37:02 -07:00
James Phillips b2d2292684 Update CHANGELOG.md 2017-08-03 18:33:18 -07:00
James Phillips 4d4547be69 Update CHANGELOG.md 2017-08-03 18:32:40 -07:00
James Phillips 8f8ac4124a Update CHANGELOG.md 2017-08-03 15:44:17 -07:00
Frank Schroeder f465aa4b4f
Update CHANGELOG.md 2017-08-03 21:36:48 +02:00
James Phillips db30ff82b0 Update CHANGELOG.md 2017-08-02 17:09:01 -07:00
Miguel Prokop 6852dec3f2 agent: Fix script quoting on windows (#1875)
This patch fixes the quoting for executing scripts on windows
and splits the platform dependent code.

Fixes #1875
2017-08-02 17:01:21 +02:00
James Phillips cd43a91b86 Adds missing Oxford comma :-) 2017-08-01 08:00:56 -07:00
Frank Schroeder c17690e80b
Update CHANGELOG.md 2017-08-01 11:47:54 +02:00
Preetha Appan a9a2a300ca Update CHANGELOG.md 2017-07-31 17:45:30 -05:00
James Phillips ca50cc30c5 s/nodes/keys/ 2017-07-28 16:42:15 -07:00
Preetha Appan a86e87d8ed Updated CHANGELOG.md to include GH#3322, and moved recursive delete fix to the improvements section. 2017-07-28 18:01:11 -05:00
James Phillips 07ae7bc2e1 Update CHANGELOG.md 2017-07-26 22:49:22 -07:00
James Phillips 3fc1b8fa47 Update CHANGELOG.md 2017-07-26 22:10:27 -07:00
James Phillips ab4d51df25 Update CHANGELOG.md 2017-07-26 15:42:30 -07:00
James Phillips 4e8fd78957 Update CHANGELOG.md 2017-07-26 11:12:04 -07:00
James Phillips d62438da74 Update CHANGELOG.md 2017-07-26 11:07:41 -07:00
Preetha Appan a4487b2742 Update CHANGELOG.md 2017-07-26 09:42:28 -05:00
Preetha Appan c26fd66edd Clean up temporary files on write errors, and ignore any temporary service files on load with a warning. This fixes #3207 2017-07-24 12:42:51 -05:00
James Phillips 9c459377e9
Puts the tree in 0.9.1 dev mode. 2017-07-19 20:57:10 -07:00
James Phillips 859ac937a8
Puts the tree in 0.9.0 release mode. 2017-07-19 19:55:49 -07:00
James Phillips f34b9bd7e1 Update CHANGELOG.md 2017-07-19 17:14:38 -07:00
James Phillips 9a8a531f18 Update CHANGELOG.md 2017-07-19 15:29:56 -07:00
Preetha Appan 58c1227dc8 Update CHANGELOG.md 2017-07-18 18:42:29 -05:00
James Phillips 265f38876b Update CHANGELOG.md 2017-07-18 15:15:16 -07:00
Kyle Havlovitz a406bc70cf Update CHANGELOG.md 2017-07-18 15:02:15 -07:00
Frank Schroeder fe51640263
Update CHANGELOG.md 2017-07-18 21:02:14 +02:00
Frank Schroeder 6c053d5139
Update CHANGELOG.md 2017-07-18 20:26:49 +02:00
Frank Schroeder 87cc0b31ee
Update CHANGELOG.md 2017-07-18 09:12:47 +02:00
James Phillips 4e7dc2bb09 Update CHANGELOG.md 2017-07-17 22:15:19 -07:00
James Phillips acb85b0e28 Update CHANGELOG.md 2017-07-17 12:55:52 -07:00
James Phillips e9c733eefb Update CHANGELOG.md 2017-07-17 12:50:53 -07:00
James Phillips e3aff86759 Update CHANGELOG.md 2017-07-17 12:50:33 -07:00
James Phillips 164262ec40 Update CHANGELOG.md 2017-07-17 12:05:22 -07:00