Venkata Krishna Annam
80f091e107
docs: Fix minor mistakes in index.html.md ( #6239 )
2019-08-01 12:57:26 -05:00
Sarah Adams
896749d585
fix 'consul connect envoy' to try to use previously-configured grpc port ( #6245 )
...
fix 'consul connect envoy' to try to use previously-configured grpc port on running agent before defaulting to 8502
Fixes #5011
2019-08-01 09:53:34 -07:00
Matt Keeler
a1725e6b52
Fix flaky tests ( #6229 )
2019-07-29 15:07:25 -04:00
Todd Radel
dbae899796
Merge pull request #6210 from hashicorp/docs/fix-ambassador-link
...
Fix links to ambassador website
2019-07-26 14:29:03 -04:00
Jack Pearkes
b3541c4f34
Putting source back into Dev Mode
2019-07-25 17:58:56 -07:00
hashicorp-ci
a42ded477c
Release v1.5.3
2019-07-25 23:41:17 +00:00
hashicorp-ci
0c9c5bfa98
update bindata_assetfs.go
2019-07-25 23:41:16 +00:00
Jack Pearkes
43996ce05f
Update CHANGELOG.md
2019-07-25 14:20:11 -07:00
Mike Morris
34984e4764
docs: add TCP half-close broken pipe to common errors ( #6203 )
2019-07-25 16:01:33 -04:00
Jack Pearkes
4e0a16ab2d
config: correct limit to limits in config example ( #6219 )
...
This isn't yet documented on the website, but wanted to update this to add the missing s.
2019-07-25 12:38:57 -07:00
Matt Keeler
69629870fe
Update CHANGELOG.md
2019-07-25 14:27:22 -04:00
Matt Keeler
8b54307be2
Allow forwarding of some status RPCs ( #6198 )
...
* Allow forwarding of some status RPCs
* Update docs
* add comments about not using the regular forward
2019-07-25 14:26:22 -04:00
Alvin Huang
54ef3d5a40
check vendor folder ( #6006 )
...
* check vendor in circleci
* make vendor checking step more descriptive
* reorganize check-vendor and gofmt jobs
2019-07-25 11:17:07 -04:00
Alvin Huang
3c889b4e65
remove sdk and api packages ( #6214 )
2019-07-25 10:00:20 -04:00
Alvin Huang
3558f9cf6d
add dev docker image upload ( #5879 )
...
* add dev docker image upload
* remove the go cache since that isn't needed
* add comment and image labels
* get password from stdin
2019-07-25 09:19:09 -04:00
Jeff Mitchell
1ea7a34756
Make the chunking test multidimensional ( #6212 )
...
This ensures that it's not just a single operation we restores
successfully, but many. It's the same foundation, just with multiple
going on at once.
2019-07-25 11:40:09 +01:00
Freddy
89158c7a76
auto-encrypt: Fix port resolution and fallback to default port ( #6205 )
...
Auto-encrypt meant to fallback to the default port when it wasn't provided, but it hadn't been because of an issue with the error handling. We were checking against an incomplete error value:
"missing port in address" vs "address $HOST: missing port in address"
Additionally, all RPCs to AutoEncrypt.Sign were using a.config.ServerPort, so those were updated to use ports resolved by resolveAddrs, if they are available.
2019-07-24 16:49:37 -07:00
Matt Keeler
eab413d5d5
Update CHANGELOG.md
2019-07-24 17:08:08 -04:00
Jeff Mitchell
94c73d0c92
Chunking support ( #6172 )
...
* Initial chunk support
This uses the go-raft-middleware library to allow for chunked commits to the KV
2019-07-24 17:06:39 -04:00
Todd Radel
569b37133a
Fix links to ambassador website
2019-07-24 13:23:49 -04:00
Freddy
199f6cc41d
Make new config when retrying testServer creation ( #6204 )
2019-07-24 08:41:00 -06:00
Freddy
d86efb83e5
Restore NotifyListen to avoid panic in newServer retry ( #6200 )
2019-07-23 14:33:00 -06:00
Freddy
a13de7dee9
Update CHANGELOG.md
2019-07-23 14:32:10 -06:00
Alvin Huang
230ca21a0e
remove travis config ( #6199 )
2019-07-23 15:35:46 -04:00
Paul Banks
af7a392a17
Update CHANGELOG.md
2019-07-23 15:45:39 +01:00
Paul Banks
f38da47c55
Allow raft TrailingLogs to be configured. ( #6186 )
...
This fixes pathological cases where the write throughput and snapshot size are both so large that more than 10k log entries are written in the time it takes to restore the snapshot from disk. In this case followers that restart can never catch up with leader replication again and enter a loop of constantly downloading a full snapshot and restoring it only to find that snapshot is already out of date and the leader has truncated its logs so a new snapshot is sent etc.
In general if you need to adjust this, you are probably abusing Consul for purposes outside its design envelope and should reconsider your usage to reduce data size and/or write volume.
2019-07-23 15:19:57 +01:00
kaitlincarter-hc
3a4e38a13e
[docs] New K8s-Consul deployment guide ( #5859 )
...
* New K8s-Consul deployment guide
* Update website/source/docs/guides/kubernetes-production-deploy.md
* Update website/source/docs/guides/kubernetes-production-deploy.md
Co-Authored-By: Rebecca Zanzig <rebecca@hashicorp.com>
* Update website/source/docs/guides/kubernetes-production-deploy.md
Co-Authored-By: Rebecca Zanzig <rebecca@hashicorp.com>
* Update website/source/docs/guides/kubernetes-production-deploy.md
Co-Authored-By: Rebecca Zanzig <rebecca@hashicorp.com>
* Update website/source/docs/guides/kubernetes-production-deploy.md
Co-Authored-By: Rebecca Zanzig <rebecca@hashicorp.com>
* Update website/source/docs/guides/kubernetes-production-deploy.md
Co-Authored-By: Rebecca Zanzig <rebecca@hashicorp.com>
* updating based on comments
* Update website/source/docs/guides/kubernetes-production-deploy.md
Co-Authored-By: Rebecca Zanzig <rebecca@hashicorp.com>
* Update website/source/docs/guides/kubernetes-production-deploy.md
* Update website/source/docs/guides/kubernetes-production-deploy.md
2019-07-22 19:16:06 -05:00
Alvin Huang
7c1f98e9a4
enable circleci go tests for forks and reorganize jobs ( #6191 )
2019-07-22 18:08:54 -04:00
Alvin Huang
6fba0106a3
Run go test packages in parallel ( #6165 )
...
* modify gotestsum hacking that is unnecessary with the latest version
* try running 2 packages at a time
* try running 3 packages at a time
* remove old comments
2019-07-22 14:01:22 -04:00
Christian Muehlhaeuser
7753b97cc7
Simplified code in various places ( #6176 )
...
All these changes should have no side-effects or change behavior:
- Use bytes.Buffer's String() instead of a conversion
- Use time.Since and time.Until where fitting
- Drop unnecessary returns and assignment
2019-07-20 09:37:19 -04:00
Freddy
ef257b084d
Fix typo chose/choose ( #6170 )
2019-07-19 16:29:42 -06:00
javicrespo
b006060d4c
log rotation: limit count of rotated log files ( #5831 )
2019-07-19 15:36:34 -06:00
Christian Muehlhaeuser
61ff1d20bf
Avoid unnecessary conversions ( #6178 )
...
Those values already have the right type.
2019-07-19 09:13:18 -04:00
Christian Muehlhaeuser
1366bebf7f
Fixed typos in comments ( #6175 )
...
Just a few nitpicky typo fixes.
2019-07-19 07:54:53 -04:00
Christian Muehlhaeuser
16193665ca
Fixed a few tautological condition mistakes ( #6177 )
...
None of these changes should have any side-effects. They're merely
fixing tautological mistakes.
2019-07-19 07:53:42 -04:00
Christian Muehlhaeuser
ed4e64f6b2
Fixed nil check for token ( #6179 )
...
I can only assume we want to check for the retrieved `updatedToken` to not be
nil, before accessing it below.
`token` can't possibly be nil at this point, as we accessed `token.AccessorID`
just before.
2019-07-19 07:48:11 -04:00
Luke Kysow
42dae36923
Merge pull request #6141 from hashicorp/hcl-multi-service-docs
...
Document multiple services config in hcl
2019-07-18 12:15:22 +01:00
kaitlincarter-hc
2679315177
[docs] Encryption docs update ( #6082 )
...
* Bad link in encryption docs
* clarifying the guide link
* Update website/source/docs/agent/encryption.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
* Update website/source/docs/agent/encryption.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
2019-07-17 20:36:36 -07:00
R.B. Boyer
4f94aa151a
update changelog
2019-07-17 14:08:17 -05:00
R.B. Boyer
b16d7f00bc
agent: avoid reverting any check updates that occur while a service is being added or the config is reloaded ( #6144 )
2019-07-17 14:06:50 -05:00
Alvin Huang
7b0614ea82
turning on go tests in circle for non-forks ( #6154 )
...
* turning on go tests in circle for non-forks
* fix comment
2019-07-17 13:43:33 -04:00
Freddy
5526cfac8b
Reduce number of servers in TestServer_Expect_NonVoters ( #6155 )
2019-07-17 11:35:33 -06:00
Freddy
59dbd070d7
More flaky test fixes ( #6151 )
...
* Add retry to TestAPI_ClientTxn
* Add retry to TestLeader_RegisterMember
* Account for empty watch result in ConnectRootsWatch
2019-07-17 09:33:38 -06:00
Luke Kysow
c31cb95da3
Document multiple services config in hcl
...
Also change ttl => timeout since ttl doesn't work anymore.
2019-07-17 15:26:08 +01:00
Alvin Huang
95dbb7f2f1
add lint-consul-retry tool ( #6139 )
...
* add lint-consul-retry tool
* lint consul retry for forks too
2019-07-16 18:52:24 -04:00
Freddy
d219e31db8
Update retries that weren't using retry.R ( #6146 )
2019-07-16 14:47:45 -06:00
John Cowen
e262631900
ui: Force upgrades lodash and lodash submodules: ( #6137 )
...
All related to:
- https://github.com/lodash/lodash/pull/4336
2019-07-15 14:48:51 +01:00
John Cowen
2664a5efa5
ui: Forced upgrade handlebars from 4.0 to 4.1 ( #6077 )
...
Force bumps [handelbars](https://github.com/wycats/handlebars.js ) from 4.0 to 4.1.2 using `resolutions`
- [Release Notes](https://github.com/wycats/handlebars.js/blob/master/release-notes.md )
2019-07-15 14:06:26 +01:00
Sarah Adams
ce3a6e8660
fix flaky test TestACLEndpoint_SecureIntroEndpoints_OnlyCreateLocalData ( #6116 )
...
* fix test to write only to dc2 (typo)
* fix retry behavior in existing test (was being used incorrectly)
2019-07-12 14:14:42 -07:00
Freddy
97ecc0517c
Fix some retries in api pkg ( #6124 )
2019-07-12 12:57:41 -06:00