Andy Lo-A-Foe
3e046d3efc
Use Ports.HTTP directly
2015-08-20 20:27:20 +02:00
Andy Lo-A-Foe
4e2c3373bc
Add documentation for http-port option
2015-08-20 20:19:35 +02:00
Shawn Cook
c8b4e3252d
Merge remote-tracking branch 'hashicorp/master' into enable_tag_drift_03
2015-08-20 09:15:45 -07:00
Shawn Cook
ab91590bcb
Update tests - NodeService init needs bool
2015-08-20 09:09:26 -07:00
Armon Dadgar
7c4b767e4e
Merge pull request #1174 from hashicorp/b-fix-typo
...
Fixes a typo in the event docs, and twiddles the formatting.
2015-08-18 18:58:48 -07:00
Shawn Cook
96785edd9a
Add EnableTagDrift logic to command/agent/local.go
2015-08-18 14:03:48 -07:00
Shawn Cook
a0f8c0a2a0
Remove from command/agent/config_test.go
2015-08-18 10:42:25 -07:00
Shawn Cook
152eca3a37
Remove from testutil/server.go
2015-08-18 10:41:17 -07:00
Shawn Cook
6a835939b8
EnableTagDrift in NodeService struct
2015-08-18 10:34:55 -07:00
Mac Browning
6b59226f0a
consul: refactor GetPrivateIP for testability
2015-08-15 17:44:32 -04:00
Ryan Uber
134db62937
Merge pull request #1166 from hashicorp/f-dns-log
...
Log network address of DNS clients
2015-08-13 18:32:32 -07:00
James Phillips
58fd18b477
Merge pull request #1161 from hashicorp/b-website-vagrantfile
...
website/Vagrantfile works again.
2015-08-13 18:26:22 -07:00
James Phillips
88c15e5bbd
Fixes a typo in the event docs, and twiddles the formatting.
2015-08-13 17:26:41 -07:00
James Phillips
009f0fb023
Merge pull request #1170 from hashicorp/b-connection-spam
...
Fixes #1165 by having threads wait for any outstanding connect to finish.
2015-08-13 11:38:39 -07:00
James Phillips
614bf446fc
Changes to an unbuffered channel, since we just close it.
2015-08-13 11:38:02 -07:00
James Phillips
1e8937b52b
Cleans up locking and factors markForUse into a Conn method.
2015-08-13 10:01:05 -07:00
James Phillips
072811f289
Gets rid of follow up attempts if the lead thread can't connect.
2015-08-12 20:14:48 -07:00
James Phillips
8bca3eb644
Adds missing ref count for the race condition case.
2015-08-12 19:26:01 -07:00
James Phillips
40c5af6f73
Fixes #1165 by having threads wait for any outstanding connect to finish.
2015-08-12 18:48:15 -07:00
Ryan Uber
05216d3cc4
agent: log network address of DNS clients
2015-08-11 10:33:27 -07:00
Andy Lo-A-Foe
7b5da2a240
Add -http-port option to change the HTTP API port
...
This is useful when pushing consul to PaaS like
Cloud Foundry making the HTTP API easily routable.
2015-08-11 14:14:21 +02:00
Jack Pearkes
00e35cdc41
revert 8bf8871
, fc2aad3
, 503d338
.
...
some misplaced UI development changes
2015-08-07 16:40:49 -07:00
Jack Pearkes
8bf88712a1
ui: update development config to not use ACLs to simplify life
2015-08-07 16:36:39 -07:00
Jack Pearkes
fc2aad3cf8
ui: update gems for development
2015-08-07 16:36:29 -07:00
Jack Pearkes
503d3384d4
ui: add 'map' route and button, tighten up the nav to give space
2015-08-07 16:36:02 -07:00
Ryan Breen
47ea4939de
Merge pull request #1160 from hashicorp/docs-reaping-left-nodes
...
Added detail about left/failed nodes and 72h reaping
2015-08-06 20:40:52 -04:00
Cameron Stokes
212ff4b163
website/Vagrantfile works again.
...
- Added gpg key
- Updated to ruby 2.2.2
- bundle -> bundle update
2015-08-06 17:39:48 -07:00
Cameron Stokes
23db28a5db
Added detail about left/failed nodes and 72h reaping
...
Ref: https://groups.google.com/forum/#!searchin/consul-tool/left/consul-tool/KVl0u91uCdw/bfzrUO4r-1QJ
2015-08-06 17:37:48 -07:00
Armon Dadgar
066e772536
Merge pull request #1158 from mfischer-zd/fix_1155
...
lock.go: fix race condition
2015-08-05 14:56:13 -07:00
Michael S. Fischer
6875e8d6b4
lock.go: fix race condition
...
Fix a race condition between startChild() and killChild() that could
lead to an orphaned managed process.
Fixes #1155
2015-08-05 09:06:51 -07:00
Ryan Breen
3846dea370
Merge pull request #1146 from hashicorp/website-broken-link
...
website: fix broken link on acl page
2015-07-31 15:15:40 -04:00
Jack Pearkes
25f0f3cb37
website: fix broken link on acl page
2015-07-31 12:14:28 -07:00
Armon Dadgar
6b4af3056c
Merge pull request #1145 from jrgarcia/trim-trailing-slash-lock
...
Remove trailing slash from lock
2015-07-30 10:20:31 -07:00
J.R. Garcia
4cb6f3e943
Remove trailing slash from lock
...
Lock command will remove trailing slash from path (as it is invalid).
Fixes #1136 .
2015-07-30 12:14:17 -05:00
Ryan Breen
018fd69aa2
Merge pull request #1143 from hashicorp/GH-1142
...
Check NXDOMAIN after filtering nodes
2015-07-29 18:56:08 -04:00
Ryan Breen
0a7dc85076
Test for GH-1142.
2015-07-29 18:21:16 -04:00
Armon Dadgar
0363d4b54b
Merge pull request #1137 from 42wim/fix-1124
...
Recurse when PTR answer is empty
2015-07-29 14:39:04 -07:00
Ryan Breen
42648438a0
Check NXDOMAIN after filtering nodes
...
Move the check for NXDOMAIN below the service health filter.
2015-07-29 17:16:48 -04:00
Kevin Fishner
8ec5a0b5ba
update analytics
2015-07-28 15:59:05 -07:00
Ryan Uber
93c9c87f7a
Merge pull request #1141 from hashicorp/f-travis
...
Try moving to newer Travis-CI infrastructure
2015-07-28 10:42:56 -07:00
Ryan Uber
40f3e3fae7
travis-ci: skip syslog tests for container-based travis infra
2015-07-28 09:58:43 -07:00
Ryan Uber
6cc2d21241
Merge pull request #1140 from hashicorp/h-acl
...
Filter services when using ChecksInState.
2015-07-28 09:34:40 -07:00
Ryan Uber
3ad7a53095
travis-ci: use newer build infra
2015-07-28 09:13:25 -07:00
Ryan Uber
f2b71940f5
consul: filter services by ACL when using ChecksInState.
2015-07-27 16:57:56 -07:00
Wim
5647a37ffe
Recurse when PTR answer is empty
2015-07-27 23:22:36 +02:00
Armon Dadgar
4a9b91f2a2
Merge pull request #1130 from pdf/check_socket
...
Add Socket check type
2015-07-27 14:21:24 -07:00
Peter Fern
916ff7e5fa
Document `TCP` check type
2015-07-27 10:53:52 +10:00
Ryan Uber
a6317f2fb2
Merge pull request #1090 from hashicorp/f-keyring-acl
...
Keyring ACLs
2015-07-24 10:23:18 -07:00
Peter Fern
b023904298
Add TCP check type
...
Adds the ability to simply check whether a TCP socket accepts
connections to determine if it is healthy. This is a light-weight -
though less comprehensive than scripting - method of checking network
service health.
The check parameter `tcp` should be set to the `address:port`
combination for the service to be tested. Supports both IPv6 and IPv4,
in the case of a hostname that resolves to both, connections will be
attempted via both protocol versions, with the first successful
connection returning a successful check result.
Example check:
```json
{
"check": {
"id": "ssh",
"name": "SSH (TCP)",
"tcp": "example.com:22",
"interval": "10s"
}
}
```
2015-07-24 14:06:05 +10:00
Ryan Uber
7aa8539c10
agent: disable ACLs for RPC client tests
2015-07-23 17:09:33 -07:00