Kyle Havlovitz
99ee7b2cb8
Update CHANGELOG.md
2016-11-08 14:55:37 -05:00
Kyle Havlovitz
1ffdf04bd7
Set MaxStale default to 10 years and add a stale counter ( #2481 )
...
Default MaxStale to 10 years and add a counter at `consul.dns.stale_queries` that tracks when an agent serves a query that's stale by at least 5 seconds. Previously, MaxStale defaulted to 5 seconds and DNS would become unavailable after a short period of time with no leader. This new default allows DNS requests to still be served in the event of a long outage.
Fixes #2460 .
2016-11-08 14:45:12 -05:00
James Phillips
a629920e25
Update CHANGELOG.md
2016-11-08 09:31:22 -08:00
James Phillips
b16a1ecc9c
Update CHANGELOG.md
2016-11-08 09:31:05 -08:00
jacquelyneg
2dc5e3f9e0
Adding in us-west-1-ubuntu ( #2373 )
...
* Adding in us-west-1-ubuntu
* Update variables.tf
* Update variables.tf
2016-11-07 19:35:00 -08:00
James Phillips
1f20ff59db
Update CHANGELOG.md
2016-11-07 18:42:48 -08:00
Brian Hays
9384c3a797
Lowercase ACL Datacenter ( #2478 )
...
* Lowercase ACL Datacenter
* move lowercasing of ACLDatacenter to command.go and add validation
* Tweaks error message about bad ACL datacenter.
2016-11-07 18:41:23 -08:00
James Phillips
022fce0147
Upgrades to Go 1.7 and fixes vet finding and TLS behavior change. ( #2281 )
...
* Upgrades to Go 1.7 and fixes vet finding and TLS behavior change.
* Fixes unit tests in a better manner by closing the client connection on errors.
We traced through and realized that https://github.com/golang/go/issues/15709
causes the output from the client to get buffered, which cuts off the alert
feedback due to the flush() call getting bypassed by the error return.
2016-11-07 18:15:26 -08:00
Kyle Havlovitz
b3c6e3d979
Update CHANGELOG.md
2016-11-07 15:39:38 -05:00
Kyle Havlovitz
d71cdf9dc2
Merge pull request #2480 from hashicorp/b-atomic-writes
...
Atomic writes for persisting service/check state
2016-11-07 15:36:35 -05:00
Kyle Havlovitz
06fac8a918
Add a note about not calling sync for persistCheckState
2016-11-07 15:24:31 -05:00
Josh Kodroff
5fbbe6fe94
Update README.md ( #2479 )
2016-11-07 11:52:33 -08:00
Kyle Havlovitz
6b6601093c
Call fsync() for saving check/service state
2016-11-07 13:51:03 -05:00
Kyle Havlovitz
1a147097b6
Update CHANGELOG.md
2016-11-05 03:55:59 -04:00
Kyle Havlovitz
5a3996af61
Add WaitForResult to some flaky tests ( #2477 )
...
This replaces some hard sleeps with testutil.WaitForResult retry
logic in some recently added tests around TLSSkipVerify in checks.
2016-11-04 21:55:55 -07:00
Kyle Havlovitz
07eeef6f1f
Trim leading slash on key to avoid redirect (golang/go#4800) ( #2476 )
2016-11-04 21:55:10 -07:00
Kyle Havlovitz
9adc3854d1
Retry with backoff on session invalidation failure ( #2475 )
2016-11-04 21:53:22 -07:00
James Phillips
07ffdeef25
Adjusts location of archive test fixtures.
2016-11-03 21:42:50 -07:00
James Phillips
be4056789f
Moves the snapshot package up one level. ( #2472 )
2016-11-03 21:36:25 -07:00
James Phillips
ea95e8f40d
Moves logger setup into its own package. ( #2471 )
...
* Moves logger setup into its own package.
* Removes a stray regex mark in the test locator.
2016-11-03 21:14:56 -07:00
Cameron Stokes
f4e34397ac
Clarify -retry-join docs. ( #2469 )
2016-11-03 14:22:46 -07:00
James Phillips
8d94e5dc15
Finishes move of datacenter into client vs. options. ( #2470 )
2016-11-03 14:21:02 -07:00
James Phillips
7eab0a4bb4
Update CHANGELOG.md
2016-11-03 13:18:24 -07:00
Kyle McCullough
697ea0f8eb
Add setting to skip ssl certificate verification for HTTP checks ( #1984 )
...
* http check: add setting to skip ssl certificate verification
* update http check documentation
* fix typo in documentation
* Add TLSSkipVerify to agent api
2016-11-03 13:17:30 -07:00
Kyle Havlovitz
0628044457
Update CHANGELOG.md
2016-11-03 16:08:23 -04:00
James Phillips
37737b1cee
Update CHANGELOG.md
2016-11-03 13:00:38 -07:00
James Phillips
18926728d4
Supports WAN and LAN Serf Bind Addresses. ( #2468 )
...
* * adding cli config and config file support for specifying the serf wan and lan bind addresses
* updating documentation for serf wan and lan options
Fixes #2007
* Cleans up some small things from #2380 .
* Uses the bind default for the agent test for Serf WAN and LAN.
2016-11-03 12:58:58 -07:00
Mike Cowgill
ace3b46432
Delete prepared query using WriteOptions ( #2417 )
2016-11-03 15:54:07 -04:00
James Phillips
1d35ff27ef
Removes unnecessary clause in unit test check.
2016-11-03 12:26:48 -07:00
James Phillips
8f3f93cbf0
Update CHANGELOG.md
2016-11-03 12:22:52 -07:00
James Phillips
42de8f9800
Adds support for DNS recurse truncation. ( #2467 )
...
* Return message from recurse even if truncated
Signed-off-by: Evan Farrar <efarrar@pivotal.io>
* Tweaks unit test.
2016-11-03 12:21:16 -07:00
Kyle Havlovitz
c16d7ea276
Update CHANGELOG.md
2016-11-03 14:14:56 -04:00
James Phillips
3d8f6ef1a0
Adds missing datacenter arg to API client for snapshot commands. ( #2466 )
2016-11-03 11:01:09 -07:00
Kyle Havlovitz
109cdc48e0
Update CHANGELOG.md
2016-11-03 13:35:56 -04:00
Kyle Havlovitz
a8215f4e2f
Merge pull request #2459 from hashicorp/f-aws-autodiscovery
...
AWS -retry-join-ec2 option
2016-11-03 13:27:23 -04:00
Kyle Havlovitz
1e2ca107c2
Small tweaks to docs and syntax
2016-11-03 13:04:42 -04:00
Kyle Havlovitz
e03251d60d
Update CHANGELOG.md
2016-11-03 02:00:45 -04:00
Kyle Havlovitz
169cae2203
Disallow -bootstrap-expect flag in dev mode ( #2464 )
2016-11-03 01:54:43 -04:00
James Phillips
117a7a365e
Makes vendor pattern more generic.
2016-11-02 17:33:56 -07:00
James Phillips
9003454f88
Adds basic build tag support with different versions. ( #2463 )
2016-11-02 17:27:49 -07:00
James Phillips
03f623f89b
Builds static assets to pick up #2456 (redux).
...
Built this time using the same container that the dist build uses so
it won't see a difference and fail the build.
2016-11-02 15:54:53 -07:00
James Phillips
e5210166e2
Adds a UI build in a Docker container. ( #2462 )
2016-11-02 15:53:02 -07:00
Kyle Havlovitz
a3af480c42
Add support for ECS task roles as an auth mechanism
2016-11-02 18:48:15 -04:00
Kyle Havlovitz
b9aa912e4c
Move EC2 discovery logic into retryJoin for robustness
2016-11-02 14:35:37 -04:00
Kyle Havlovitz
f212329cc6
Support more forms of EC2 authentication
2016-11-01 21:24:18 -04:00
Kyle Havlovitz
d615141c16
Add testing around EC2 discovery config
2016-11-01 18:26:15 -04:00
Kyle Havlovitz
0499784b94
Fixed up config structure for EC2 discovery
2016-11-01 17:58:51 -04:00
Kyle Havlovitz
b8e2963a4e
vendor: Add aws-go-sdk
2016-11-01 14:10:05 -04:00
Kyle Havlovitz
9aa0261c1c
Merge branch 'master' of github.com:hashicorp/consul into aws_autodiscovery
2016-11-01 11:19:52 -04:00
Ustun Ozgur
cd2194a56d
Typo fix ( #2457 )
2016-11-01 06:11:20 -07:00