Commit Graph

623 Commits

Author SHA1 Message Date
Frank Schroeder b96d4f5af4
Update CHANGELOG.md 2017-10-26 19:58:38 +02:00
James Phillips cf0336228b Update CHANGELOG.md 2017-10-23 22:54:37 -07:00
James Phillips d82cfc3b81 Update CHANGELOG.md 2017-10-23 22:53:29 -07:00
James Phillips d8bb6074e4 Update CHANGELOG.md 2017-10-23 08:58:49 -07:00
Frank Schroeder 9d733d8860
Update CHANGELOG.md 2017-10-23 16:44:32 +02:00
James Phillips e38d53f3c2 Update CHANGELOG.md 2017-10-21 20:03:58 -07:00
preetapan 164baa853e Update CHANGELOG.md 2017-10-21 21:30:04 -05:00
preetapan 75b02e3baf Update CHANGELOG.md 2017-10-21 21:28:58 -05:00
preetapan 669c109d27 Update CHANGELOG.md 2017-10-21 21:08:34 -05:00
preetapan 3ef628387a Update CHANGELOG.md 2017-10-21 21:07:30 -05:00
James Phillips 1fc174ff8c
Updates the change log. 2017-10-20 16:51:43 -07:00
Preetha Appan 32b23575f0 Update CHANGELOG.md 2017-10-20 10:18:19 -05:00
Preetha Appan bb23d44469 Update CHANGELOG.md 2017-10-19 12:59:12 -05:00
James Phillips e6a4efa67b
Updates the change log. 2017-10-18 11:32:53 -07:00
James Phillips 8a50327a96
Puts the tree in 1.0 final release mode. 2017-10-16 09:16:52 -07:00
James Phillips 39f2359804 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 eb916860ca
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 7ec211dcfd
Updates the change log. 2017-10-11 11:59:35 -07:00
James Phillips 144a938bcc
Updates the change log. 2017-10-11 07:45:42 -07:00
Frank Schröder 9b2e3c2091 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 f6066f8305 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 cf21e0bcf5
Updates the change log. 2017-10-10 15:24:10 -07:00
James Phillips dff7aab526
Updates the change log. 2017-10-06 14:17:21 -07:00
Preetha Appan e677d309f9 Updating CHANGELOG.md 2017-10-06 16:10:35 -05:00
James Phillips 906bd41a5c
Updates the change log. 2017-10-06 11:36:03 -07:00
James Phillips 533ec86a40
Updates the change log. 2017-10-06 07:57:22 -07:00
James Phillips 406bad36bd
Updates the change log. 2017-10-05 09:30:56 -07:00
Frank Schroeder c467efe4b9
Update CHANGELOG.md 2017-10-05 18:14:26 +02:00
James Phillips ca89deb178
Updates the change log. 2017-10-04 22:59:22 -07:00
James Phillips b61ec82b2f Update CHANGELOG.md 2017-10-04 19:48:34 -07:00
James Phillips 03f6cdeefe
Updates the change log. 2017-10-04 19:47:44 -07:00
Kyle Havlovitz d464f3aff5 Update CHANGELOG.md 2017-10-04 17:48:30 -07:00
James Phillips c5a7d2871e Update CHANGELOG.md 2017-10-04 16:51:49 -07:00
James Phillips 459cc7bc6c Update CHANGELOG.md 2017-10-04 16:51:11 -07:00
Frank Schröder 7b2ef00d03 Make GH-xxxx issue numbers clickable. (#3533) 2017-10-04 11:57:03 -07:00
Frank Schroeder 248f6f97ed
Revert "Test using issue numbers in CHANGELOG"
This reverts commit 3d069781ff2a63bb020d93f7089874c317449057.
2017-10-04 20:32:58 +02:00
Frank Schröder f7b8c357f7 Test using issue numbers in CHANGELOG 2017-10-04 20:29:14 +02:00
Frank Schroeder 0e077e7fa1
Revert "Test using github links in CHANGELOG"
This reverts commit e72ff5dd43db1e58ec52d7ac2f7ab5b20f4054ba.
2017-10-04 20:23:10 +02:00
Frank Schröder b767d1aae6 Test using github links in CHANGELOG 2017-10-04 20:21:59 +02:00
James Phillips c9fd08a94c Update CHANGELOG.md 2017-10-04 10:48:30 -07:00
Frank Schroeder f1559c73e4
Update CHANGELOG.md 2017-10-04 19:20:56 +02:00
James Phillips 64adc44583 Update CHANGELOG.md 2017-10-04 09:55:15 -07:00
Preetha Appan 80134b394a Update CHANGELOG.md 2017-10-04 10:46:36 -05:00
James Phillips 0c00d980aa Update CHANGELOG.md 2017-09-29 12:00:56 -07:00
Frank Schroeder 5bd5917d0e
Update CHANGELOG.md 2017-09-29 20:56:01 +02:00
preetapan 34b6fe3eee Update CHANGELOG,md 2017-09-28 21:26:31 -05:00
Preetha Appan de638ed2ba 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 ea52a12990 Update CHANGELOG.md 2017-09-28 15:40:07 -07:00
Frank Schroeder 0735c4db1b
Update CHANGELOG.md 2017-09-28 12:49:37 +02:00
James Phillips b293b261e5 Update CHANGELOG.md 2017-09-27 23:40:00 -07:00
James Phillips d9f085f18d Update CHANGELOG.md 2017-09-27 17:56:24 -07:00
James Phillips c9aed0d0ec Update CHANGELOG.md 2017-09-27 16:16:49 -07:00
James Phillips 086e2cd6b1 Update CHANGELOG.md 2017-09-27 16:11:40 -07:00
James Phillips f245beee13 Update CHANGELOG.md 2017-09-27 16:10:58 -07:00
James Phillips ea68f9bbfa Update CHANGELOG.md 2017-09-27 16:09:40 -07:00
James Phillips 664442cc5d Update CHANGELOG.md 2017-09-27 16:09:20 -07:00
James Phillips 05078a8ab4 Update CHANGELOG.md 2017-09-27 16:09:03 -07:00
James Phillips eea86084ae Update CHANGELOG.md 2017-09-27 16:08:22 -07:00
James Phillips 2ff9885935 Update CHANGELOG.md 2017-09-27 15:48:24 -07:00
James Phillips 8c8a783dfa Update CHANGELOG.md 2017-09-27 15:47:52 -07:00
James Phillips 2b8496e340 Update CHANGELOG.md 2017-09-27 15:40:48 -07:00
James Phillips 92ff57537c Update CHANGELOG.md 2017-09-27 15:38:52 -07:00
James Phillips d8d4d300c3 Update CHANGELOG.md 2017-09-27 15:35:35 -07:00
James Phillips 7dc906cb59 Update CHANGELOG.md 2017-09-26 20:50:38 -07:00
James Phillips 949081d323 Update CHANGELOG.md 2017-09-26 17:52:47 -07:00
Frank Schröder 707f8e329a 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 e9842e178a Update CHANGELOG.md 2017-09-26 15:24:36 -07:00
Kyle Havlovitz 2255dbc39b Update CHANGELOG.md 2017-09-26 13:49:07 -07:00
Preetha Appan 6bf4f28399 Update CHANGELOG.md 2017-09-26 11:59:11 -05:00
James Phillips 3a4241e59e Update CHANGELOG.md 2017-09-25 23:45:23 -07:00
James Phillips 180c52eab9 Update CHANGELOG.md 2017-09-25 23:44:42 -07:00
James Phillips 82925683b0 Update CHANGELOG.md 2017-09-25 23:44:11 -07:00
James Phillips a2336f4649 Update CHANGELOG.md 2017-09-25 23:12:20 -07:00
James Phillips d8d1e2a394 Update CHANGELOG.md 2017-09-25 23:12:03 -07:00
Frank Schröder c7cc62ab5a 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 fcaa889116 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 687da35244
Tweaks some versions around 1.0.0. 2017-09-25 13:47:45 -07:00
Frank Schroeder 8b517841ae
Update CHANGELOG 2017-09-25 03:19:05 +02:00
James Phillips f51b8d291b
Puts tree in 0.9.4 dev mode. 2017-09-08 11:13:20 -07:00
James Phillips 9a4ed967c1
Puts the tree in 0.9.3 release mode. 2017-09-08 09:34:55 -07:00
James Phillips e0f1e18aa1 Update CHANGELOG.md 2017-09-06 22:40:03 -07:00
preetapan 69bebb2a99 Fixed typo in CHANGELOG.md 2017-09-06 17:12:36 -05:00
James Phillips 1b2d1720ed Update CHANGELOG.md 2017-09-06 13:39:33 -07:00
James Phillips 676a34efbd Update CHANGELOG.md 2017-09-06 07:38:16 -07:00
James Phillips 2bd064cbf5 Update CHANGELOG.md 2017-09-01 15:18:14 -07:00
James Phillips f07b244d71 Update CHANGELOG.md 2017-09-01 15:17:35 -07:00
Kyle Havlovitz d6b34aded0 Update CHANGELOG.md 2017-09-01 12:44:08 -07:00
James Phillips 2f846f4be8 Update CHANGELOG.md 2017-09-01 11:12:43 -07:00
James Phillips 669eb9eb4c Update CHANGELOG.md 2017-09-01 11:10:08 -07:00
Preetha Appan 0728a04dbb 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 230f1b2333
Updates the change log. 2017-08-29 15:33:48 -07:00
James Phillips 520dbd1838 Update CHANGELOG.md 2017-08-25 00:14:44 -07:00
Preetha Appan 9419990855 Updating CHANGELOG 2017-08-24 16:50:22 -05:00
James Phillips c558067783 Update CHANGELOG.md 2017-08-23 14:37:39 -07:00
Frank Schroeder 4dea401e8f
Update CHANGELOG.md 2017-08-23 22:40:43 +02:00
James Phillips 828dec4df6 Update CHANGELOG.md 2017-08-21 15:31:40 -07:00
James Phillips 586dc3c7f4 Update CHANGELOG.md 2017-08-21 15:31:24 -07:00
Preetha Appan e1181e3dac Update CHANGELOG.md 2017-08-18 11:22:35 -05:00
Preetha Appan 9419cecb1d Update CHANGELOG.md 2017-08-16 09:39:10 -05:00
James Phillips 738ac55d96
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