Paul Banks
8cf4b3a6eb
Sanity check that we are never trying to self-exec a test binary. Add daemonize bypass for TestAgent so that we don't have to jump through ridiculous self-execution hooks for every package that might possibly invoke a managed proxy
2018-06-25 12:24:09 -07:00
Mitchell Hashimoto
827b671d4a
agent/proxy: Manager.Close also has to stop all proxy watchers
2018-06-25 12:24:09 -07:00
Paul Banks
ef9c40643e
Fix import tooling fail
2018-06-25 12:24:09 -07:00
Paul Banks
ba0fb58a72
Make daemoinze an option on test binary without hacks. Misc fixes for racey or broken tests. Still failing on several though.
2018-06-25 12:24:09 -07:00
Paul Banks
2b377dc624
Run daemon processes as a detached child.
...
This turns out to have a lot more subtelty than we accounted for. The test suite is especially prone to races now we can only poll the child and many extra levels of indirectoin are needed to correctly run daemon process without it becoming a Zombie.
I ran this test suite in a loop with parallel enabled to verify for races (-race doesn't find any as they are logical inter-process ones not actual data races). I made it through ~50 runs before hitting an error due to timing which is much better than before. I want to go back and see if we can do better though. Just getting this up.
2018-06-25 12:24:08 -07:00
Paul Banks
e21723a891
Persist proxy state through agent restart
2018-06-25 12:24:08 -07:00
Mitchell Hashimoto
eb3fcb39b3
agent/consul/state: support querying by Connect native
2018-06-25 12:24:08 -07:00
Mitchell Hashimoto
6b745964c4
agent/cache: update comment from PR review to clarify
2018-06-25 12:24:08 -07:00
Mitchell Hashimoto
424272361d
agent: agent service registration supports Connect native services
2018-06-25 12:24:08 -07:00
Mitchell Hashimoto
d6a823ad0d
agent/consul: support catalog registration with Connect native
2018-06-25 12:24:07 -07:00
Mitchell Hashimoto
d609ad216b
agent/cache: update comments
2018-06-25 12:24:07 -07:00
Mitchell Hashimoto
839d3c323d
agent/cache: correct test name
2018-06-25 12:24:07 -07:00
Mitchell Hashimoto
45e49f31de
agent/cache: change behavior to return error rather than retry
...
The cache behavior should not be to mask errors and retry. Instead, it
should aim to return errors as quickly as possible. We do that here.
2018-06-25 12:24:07 -07:00
Mitchell Hashimoto
311d503fb0
agent/cache: perform backoffs on error retries on blocking queries
2018-06-25 12:24:06 -07:00
Mitchell Hashimoto
c95ea2f205
website: remove sergmentation from sidebar
...
we'll move east-west to a "use case" section, didnt' feel right in the
reference docs.
2018-06-25 12:24:06 -07:00
Mitchell Hashimoto
2ffbec0b6b
website: how it works
2018-06-25 12:24:06 -07:00
Mitchell Hashimoto
097856c515
Starting Docs ( #46 )
...
* website: first stab at Connect docs
* website: lots more various stuff (bad commit messages)
* website: getting started page for Connect
* website: intentions
* website: intention APIs
* website: agent API docs
* website: document agent/catalog proxy kind service values
* website: /v1/catalog/connect/:service
* website: intention CLI docs
* website: custom proxy docs
* website: remove dedicated getting started guide
* website: add docs for CA API endpoints
* website: add docs for connect ca commands
* website: add proxy CLI docs
* website: clean up proxy command, add dev docs
* website: todo pages
* website: connect security
2018-06-25 12:24:05 -07:00
Jack Pearkes
4e348d2e59
Merge pull request #4264 from hashicorp/api-warning-compat
...
website: remove backwards compat warning
2018-06-25 11:08:04 -07:00
Matt Keeler
f51f7aa028
Merge pull request #4272 from hashicorp/bugfix/fix-ui-build
...
Add a npm configuration
2018-06-25 11:31:57 -04:00
Matt Keeler
f99f3f7b1a
Add a npm configuration
...
This is only necessary when dockerd is running on ubuntu and I dont know why it matters.
2018-06-25 11:27:10 -04:00
Matt Keeler
40886b52ed
Merge pull request #4271 from hashicorp/build-system-linux-compat
...
Build system linux compat
2018-06-25 11:14:09 -04:00
Matt Keeler
b43a763c74
sed extended regex on linux sometimes requires -r
2018-06-25 10:19:02 -04:00
Matt Keeler
0a195fe88c
Try a different way of doing x-platform in place sed
2018-06-25 10:01:43 -04:00
John Cowen
44deab454d
Reset `<html class>` after every test, back to its original static value
2018-06-25 12:11:01 +01:00
Matt Keeler
8464046385
Merge pull request #4268 from hashicorp/bugfix/sed-in-place
...
Fix sed on linux
2018-06-22 17:25:19 -04:00
Matt Keeler
9862175481
Fix sed on linux
2018-06-22 17:21:42 -04:00
John Cowen
d48e2664b4
Merge pull request #4267 from hashicorp/feature/remove-v1-banner
...
Remove upgrade banner html from v1 ui
2018-06-22 18:05:07 +01:00
John Cowen
bd0c9b32b9
Remove upgrade banner html from v1 ui
2018-06-22 17:51:43 +01:00
John Cowen
cdf499811b
Merge pull request #4266 from hashicorp/bugfix/first-datacenter-services-500
...
Make sure the dc menu is as useful as possible when things go wrong
2018-06-22 17:34:15 +01:00
John Cowen
61e3fa3244
Make sure the dc menu is as useful as possible when things go wrong
...
1. Check the dc's model for both dcs list and the requested dc.
2. If the dc model doesn't exist use and empty array for dcs and a fake
dc with the Name 'Error' as we can't even trust what is in the
`paramsFor`
2018-06-22 17:23:00 +01:00
John Cowen
46151ccdb4
Merge pull request #4252 from hashicorp/feature/ui-node-ports-for-service
...
Add port the service is running on for each node in the service view
2018-06-22 17:17:18 +01:00
John Cowen
fd60f225ec
Merge branch 'master' into feature/ui-node-ports-for-service
2018-06-22 17:17:03 +01:00
John Cowen
b41d19c3c0
Merge pull request #4251 from hashicorp/bugfix/ui-null-tokens
...
Ensure a blank/empty token is sent if the localStorage kv doesn't exist
2018-06-22 16:36:20 +01:00
John Cowen
30402b51b1
Merge pull request #4253 from hashicorp/feature/ui-clearer-tags
...
UI - Clearer tags
2018-06-22 09:24:13 +01:00
Jack Pearkes
1e5c55fb21
Merge pull request #4226 from petems/monitoring_doc
...
Adds Monitoring Guide
2018-06-21 13:34:11 -07:00
petems
804cd1a8f3
Adds extra thresholds and aggregates to Telemetry
...
* Thresholds and aggregates of metrics for monitoring in Consul
2018-06-21 20:45:13 +01:00
John Cowen
3450aa81da
Merge pull request #4259 from hashicorp/feature/failing-ttl-test
...
[BUGFIX] UI - Make sure lock session TTLs are shown
2018-06-21 20:33:03 +01:00
John Cowen
9cb4e7db07
Merge pull request #4261 from hashicorp/feature/dc-redirect
...
UI - Add a beforeModel hook at dc/index to auto transition to services
2018-06-21 20:04:24 +01:00
Jack Pearkes
1a64f9aac3
website: remove backwards compat warning
...
In practice, we strive for compatibility given the usage of the API in the wild, and don't need to make this warning as we once felt we should.
2018-06-21 12:02:16 -07:00
John Cowen
2e293f2697
Add a beforeModel hook at dc/index to auto transition to services
2018-06-21 12:49:00 +01:00
John Cowen
abf77b3c74
Merge remote-tracking branch 'shilov/master' into feature/failing-ttl-test
2018-06-21 11:14:01 +01:00
John Cowen
127a45a4ab
Fix up following rebase, use array of strings rather than its own func
2018-06-21 11:06:45 +01:00
John Cowen
1881ec4824
Add a failing test to show that lock session TTL's are not shown
2018-06-21 10:56:38 +01:00
Matt Keeler
1b8f4e1697
Merge pull request #4245 from hashicorp/release-build-updates
...
Release build updates
2018-06-20 21:01:36 -04:00
Matt Keeler
4e048162e0
Add override capability to blacklist a remote
2018-06-20 16:35:54 -04:00
Matt Keeler
f35692daa6
Allow showing git diff interactively to inspect release commits.
2018-06-20 16:20:43 -04:00
Matt Keeler
60ee47ea11
Dont duplicate release versions in prereleases
2018-06-20 15:44:19 -04:00
Matt Keeler
3e8b7f3f38
Added more validation during publishing
...
We verify the git remote/url with whoever is running (in addition to other automated checks)
We also now run consul agent -dev, check is first 25 lines of output, consul info output and that consul leave works.
2018-06-20 15:39:09 -04:00
Siva
319a0ae2bf
Graceful exits added
2018-06-20 14:42:08 -04:00
Matt Keeler
585f0e8113
Merge pull request #4150 from hashicorp/topfunky-patch-1
...
Minor clarification of server nodes
2018-06-20 10:55:45 -04:00