Commit Graph

559 Commits

Author SHA1 Message Date
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
James Phillips 0a8c4df1e3 Update CHANGELOG.md 2017-07-17 00:02:27 -07:00
James Phillips a2604f7b5d Update CHANGELOG.md 2017-07-16 21:14:31 -07:00
James Phillips 34dda65d71 Update CHANGELOG.md 2017-07-16 20:09:49 -07:00
James Phillips e7789c6b84 Update CHANGELOG.md 2017-07-16 14:30:22 -07:00
James Phillips 75f6ad6518 Update CHANGELOG.md 2017-07-16 14:28:16 -07:00
James Phillips ef4bfe598e Update CHANGELOG.md 2017-07-15 00:09:04 -07:00
James Phillips 83d9f0f688 Update CHANGELOG.md 2017-07-14 20:45:07 -07:00
Kyle Havlovitz dc3683b287 Update CHANGELOG.md 2017-07-14 17:53:44 -07:00
James Phillips a61f71dc2e Update CHANGELOG.md 2017-07-14 17:32:09 -07:00
James Phillips 73452d48b2 Update CHANGELOG.md 2017-07-14 16:32:49 -07:00
James Phillips 6ec04130f4 Update CHANGELOG.md 2017-07-14 12:51:35 -07:00
James Phillips f57382ff8d Update CHANGELOG.md 2017-07-14 12:51:19 -07:00
James Phillips c3328f2e4c Update CHANGELOG.md 2017-07-13 22:39:03 -07:00
James Phillips 643bd65af5 Update CHANGELOG.md 2017-07-13 22:37:12 -07:00
James Phillips 3200aa03b0 Update CHANGELOG.md 2017-07-11 10:03:42 -07:00
James Phillips f82703d016 Update CHANGELOG.md 2017-07-10 13:54:41 -07:00
James Phillips 3d8ec60d2d Update CHANGELOG.md 2017-07-10 09:42:18 -07:00