Commit Graph

965 Commits

Author SHA1 Message Date
myfreeweb 58e0fcf8e8 fix freebsd build 2014-05-31 00:05:58 +04:00
William Tisäter cbdb54f22b Log peers when `TestLeader_LeftServer` fail 2014-05-30 21:18:37 +02:00
William Tisäter 9e3ad6721c Re-configure `LeaderLeaseTimeout` to pass validation 2014-05-30 20:57:39 +02:00
Jack Pearkes 92f4a3f466 ui: add condensed node view 2014-05-30 14:26:11 -04:00
Christian Romney 2df50b3f86 Fixed spelling of 'service' 2014-05-30 13:10:24 -04:00
William Tisäter 179a74ea02 Add myself to the community page 2014-05-30 10:51:03 +02:00
Armon Dadgar 1a5ce7a7ce Merge pull request #179 from andrewwatson/patch-1
Minor Typo
2014-05-29 12:15:40 -07:00
Andrew Watson 2552706acf Minor Typo 2014-05-29 15:15:13 -04:00
Armon Dadgar 753cec4cfa agent: Omit certains keys from the /self endpoint 2014-05-29 11:24:37 -07:00
Armon Dadgar acc048036b consul: Ensure clients also implement LocalMember 2014-05-29 11:21:56 -07:00
Armon Dadgar 3874498374 Merge pull request #173 from hashicorp/f-agent-self
Add `/v1/agent/self` and return local agent config
2014-05-29 11:18:19 -07:00
Armon Dadgar 5124428ba7 consul: Conn pool clean, spare existing streams 2014-05-28 16:55:39 -07:00
Armon Dadgar 22f548c338 consul: Provide logger to yamux 2014-05-28 16:32:25 -07:00
Armon Dadgar 6331a717ed consul: Suppress messages about closed connections 2014-05-28 16:32:25 -07:00
Armon Dadgar 57cef6e9b1 consul: ensure connections are properly closed 2014-05-28 16:32:24 -07:00
Armon Dadgar d1ebf83e39 consul: Add new protocol version for yamux 2014-05-28 16:32:24 -07:00
Armon Dadgar d737a2204a consul: Pass protocol version for leader forwarding 2014-05-28 16:32:24 -07:00
Armon Dadgar f16d13213c consul: remove explicit leave, use reconciliation 2014-05-28 16:32:24 -07:00
Armon Dadgar a31a19040e consul: Server processes local Serf join 2014-05-28 16:32:24 -07:00
Armon Dadgar 1be705c410 consul: Fix client server reaping 2014-05-28 16:32:24 -07:00
Armon Dadgar 3a854b5952 consul: Store the protocol version for a server 2014-05-28 16:32:24 -07:00
Armon Dadgar aa32e95139 consul: Adding Addr to serverParts 2014-05-28 16:32:24 -07:00
Armon Dadgar 2457293dce consul: Pool client connections, support for yamux connections 2014-05-28 16:32:24 -07:00
Armon Dadgar b03ead39a1 consul: Support for incoming Yamux connections 2014-05-28 16:32:24 -07:00
William Tisäter d794a18761 Return both member and config in `/v1/agent/self` 2014-05-28 00:09:28 +02:00
Armon Dadgar cb8cac40f3 bench: Fixing benchmark address on some systems 2014-05-27 11:01:05 -07:00
Armon Dadgar c51089353e Merge pull request #174 from nelhage/multi-ca-cert
Allow multiple PEM-encoded certificates in the ca_file.
2014-05-27 10:47:41 -07:00
William Tisäter d0e447d29b Add `/v1/agent/self` and return local agent config 2014-05-27 01:15:33 +02:00
William Tisäter 39c9011ade Increase wait time after `agent.StartSync()` 2014-05-27 01:00:13 +02:00
William Tisäter 7146561fad Wait for joining member in `TestClient_JoinLAN` 2014-05-27 00:55:20 +02:00
William Tisäter ed4230f1fc Fix tests on Go 1.3 and greater
Go 1.3 and greater require ServerName or InsecureSkipVerify to be set.

https://codereview.appspot.com/67010043/
2014-05-27 00:47:47 +02:00
William Tisäter 4685e1c51f Revert "Remove `WaitForResult` from two failing tests"
This reverts commit f0842409cd.
2014-05-26 23:49:23 +02:00
William Tisäter 3f361972ac Remove TODO comments 2014-05-26 23:44:46 +02:00
William Tisäter f0842409cd Remove `WaitForResult` from two failing tests 2014-05-26 23:44:37 +02:00
William Tisäter f5bd176fb3 Merge pull request #175 from nelhage/fix-tests
Fix some issues in tests.
2014-05-26 22:38:27 +02:00
Nelson Elhage 2080122f38 WaitForLeader: Also wait for a non-zero index.
On my laptop, I'm currently seeing a huge number of intermittent test
failures all related to WaitForLeader returning after the test node has
become a leader, but before it has actually finished starting up, in
particular, performing the serf/Raft reconciliation.

Waiting for the index to become nonzero makes the tests pass reliably,
by also blocking until the new leader has started committing state.
2014-05-26 13:26:42 -07:00
Nelson Elhage 8af424fc4c tests: Don't generate binary output from checks.
The tests will end up logging the check output, and spewing random
binary all over a terminal never results in anything good.
2014-05-26 13:23:10 -07:00
Nelson Elhage fe4ec67488 Allow multiple PEM-encoded certificates in the ca_file.
fixes #167
2014-05-26 10:58:57 -07:00
Armon Dadgar 37f49427e1 consul: Suppress error if connection is closed 2014-05-23 16:28:55 -07:00
Armon Dadgar 9cdeeba0eb Merge pull request #168 from ryanuber/syslog-wrapper
command/agent: added missing syslog wrapper
2014-05-22 10:41:58 -07:00
Ryan Uber bf3a53f6d0 command/agent: added missing syslog wrapper 2014-05-21 22:05:36 -07:00
Armon Dadgar e55a6fb6d6 Support wildcard for check lookup. Fixes #152 2014-05-21 12:45:12 -07:00
Armon Dadgar de309057ff Support rejoin after leave. Fixes #110. 2014-05-21 12:32:24 -07:00
Armon Dadgar 1d26ea41e1 agent: Improving test reliability 2014-05-21 12:31:22 -07:00
Armon Dadgar bc4f5fb95a CHANGELOG updates 2014-05-21 12:11:34 -07:00
Armon Dadgar 0836a222bf agent: syslog support. Fixes #105. 2014-05-21 12:06:03 -07:00
Armon Dadgar 91b52176d8 agent: Provide log info about encryption. Fixes #151. 2014-05-20 17:00:04 -07:00
Armon Dadgar 88d91c6ee0 agent: Support for raw key lookup. Fixes #150. 2014-05-20 16:53:43 -07:00
Armon Dadgar fa4cb49feb website: Document DNS truncation. Fixes #144. 2014-05-20 16:43:44 -07:00
Armon Dadgar e128962b56 Merge pull request #162 from hashicorp/f-locking
Adding support for sessions and locking in the KV store
2014-05-20 16:41:20 -07:00