Commit Graph

6527 Commits

Author SHA1 Message Date
Frank Schroeder 8edeabce9a api: refactor: prefix all API tests with API_ 2017-07-07 09:22:34 +02:00
Frank Schroeder a0368e3827 agent: refactor: log to stderr during tests 2017-07-07 09:22:34 +02:00
Frank Schroeder 2afafe6911 agent: refactor: use handler for test http tls server 2017-07-07 09:22:34 +02:00
Frank Schroeder 63447a0cf3 agent: refactor: make address translation part of the agent 2017-07-07 09:22:34 +02:00
Chris Griggs bd03f8a8ed Update # of ports (#3238)
I counted twice.
2017-07-06 13:50:12 -07:00
James Phillips 224f9dd2c1 Adds links to Lifeguard info. 2017-07-06 12:19:39 -07:00
James Phillips daaf6e214b Update CHANGELOG.md 2017-07-06 09:46:26 -07:00
Preetha Appan f00df77d38 Updating CHANGELOG.md 2017-07-06 09:19:22 -05:00
preetapan 4abbbc91f5 Merge pull request #3231 from hashicorp/issue_3230
Fixes deadlock between barrier write and leader notify channel read .…
2017-07-06 09:11:53 -05:00
Preetha Appan f549c06764 Rename to raftNotifyCh, fix typo 2017-07-06 09:10:36 -05:00
preetapan dabd94c73d Merge pull request #3236 from hashicorp/serf_update
Update serf to pull in disk space failure recovery changes
2017-07-06 08:59:46 -05:00
Preetha Appan 6d172b7059 Update serf to pull in disk space failure recovery changes 2017-07-06 08:58:42 -05:00
Preetha Appan f2171a6720 Fixes deadlock between barrier write and leader notify channel read . Fixes #3230 2017-07-05 17:09:18 -05:00
Stu Small f7907db85f Fix mistake in curl example for join agent API call 2017-07-03 00:11:18 +02:00
James Phillips fb0e4d531b Update CHANGELOG.md 2017-06-29 16:27:17 -07:00
Grégoire Seux 940b1513a6 Correctly forward Host header in healthcheck (#3203)
Host header must be set explicitely on http requests

Change-Id: I91a32f0fb1ec3fbc713adf0e10869797e91172c7
Signed-off-by: Grégoire Seux <g.seux@criteo.com>
2017-06-29 16:26:08 -07:00
James Phillips 1f60723610 Update CHANGELOG.md 2017-06-29 14:28:54 -07:00
Maciej Stępyra b775a85624 Missing tools in makefile (#3205) 2017-06-29 12:55:01 +02:00
James Phillips c42c1cf354 Update CHANGELOG.md 2017-06-28 20:18:24 -07:00
Preetha Appan d5d79d0ad3 fix type in make file 2017-06-28 09:48:00 -05:00
James Phillips f2f9a7621f Update CHANGELOG.md 2017-06-27 18:48:18 -07:00
James Phillips ae1c6fd2c0 Bumps Raft library. (#3201)
This picks up the fix for https://github.com/hashicorp/raft/issues/212,
which can cause out-of-date followers to get stuck in a loop trying to
sync because they don't discard old snapshot data.

There's some incidental reordering of the vendor.json since the last
update to that file was merged by hand.
2017-06-27 18:41:00 -07:00
preetapan 48983bdeed Merge pull request #3195 from hashicorp/issue-3018-filehandle-leaks
Fix socket file handle leaks from old blocking queries upon consul reload
2017-06-27 16:47:19 -05:00
Preetha Appan 07db760d53 Fix missing formatting directive causing go vet to fail 2017-06-27 16:32:38 -05:00
Preetha Appan 63564da69c Updating CHANGELOG.md 2017-06-27 16:28:48 -05:00
Preetha Appan d25be8671a Make sure to call cancel on the context 2017-06-27 16:22:57 -05:00
James Phillips aa45338d9d
Puts the tree back in 0.9.0 dev mode. 2017-06-27 11:18:45 -07:00
James Phillips 29ee025f22
Bumps download version to 0.8.5. 2017-06-27 10:58:08 -07:00
James Phillips 2c7715154d
Release v0.8.5 2017-06-27 10:42:54 -07:00
James Phillips 555c7e912a
Puts tree into 0.8.5 release mode. 2017-06-27 09:25:38 -07:00
James Phillips 9243aa990d Update CHANGELOG.md 2017-06-26 22:44:23 -07:00
Frank Schroeder 6dd68f7ad7
Revert "agent: add allowStale option for HTTP API (#3142)"
This reverts commit 1e0fd27a74.
2017-06-27 07:04:55 +02:00
James Phillips b5b6816eeb Update CHANGELOG.md 2017-06-26 21:25:56 -07:00
James Phillips 273b9f2a6f
Puts the tree in 0.8.5 dev mode. 2017-06-26 16:08:05 -07:00
Preetha Appan a6c3cf0403 Made helper method for query options with context 2017-06-26 16:11:14 -05:00
Preetha Appan 9eaf56bfe3 Fix socket file handle leaks from old blocking queries upon consul reload. This fixes issue #3018 2017-06-26 15:52:03 -05:00
Ryon 6cdaa78e80 Update middleman-hashicorp to 0.3.28 for mega nav fixes (#3194) 2017-06-26 11:26:56 -07:00
Frank Schröder 4b51d00458 agent: fix DNS recursor tests (#3190)
The makeRecursor function was using an unreliable mechanism
to start a server with a random port. This patch changes this
so that the server starts on port 0 to let the kernel pick
a free port.

In addition, to similar functions for starting a test DNS
server were folded into one.
2017-06-25 10:42:37 -07:00
James Phillips f1bded7c5e
Removes unneeded shutdown channel in config reading tests. 2017-06-25 10:39:51 -07:00
James Phillips 4a3604a3ee
Removes some useless comments. 2017-06-25 10:32:35 -07:00
Jason Martin 1dc57ce5e4 Fix invalid JSON in agent-api /v1/self example output. (#3183) 2017-06-24 16:16:27 -07:00
James Phillips a6987c1812 Adds missing tls_skip_verify option to HTTP check example. 2017-06-24 15:37:52 -07:00
James Phillips 6e1ee02689 Update options.html.md 2017-06-24 15:28:23 -07:00
James Phillips 2742efbd64 Update CHANGELOG.md 2017-06-24 15:21:55 -07:00
James Phillips 86dc4640b9 Update CHANGELOG.md 2017-06-24 12:55:45 -07:00
James Phillips 6977e40077 Fixes watch tracking during reloads and fixes address issue. (#3189)
This patch fixes watch registration through the config file and a broken log line when the watch registration fails. It also plumbs all the watch loading through a common function and tweaks the
unit test to create the watch before the reload.
2017-06-24 12:52:41 -07:00
James Phillips 75cf566311 Update CHANGELOG.md 2017-06-24 09:42:08 -07:00
James Phillips 0f5f7ff425 Update CHANGELOG.md 2017-06-24 09:41:56 -07:00
James Phillips 380c8b957d Changes host-based node IDs from opt-out to opt-in. (#3187) 2017-06-24 09:36:53 -07:00
James Phillips 42f60b04bb Revert "discover: move instance discover code into separate package (#3144)" (#3180)
This reverts commit 26bfb2d00a.
2017-06-23 01:38:55 -07:00