-
Notifications
You must be signed in to change notification settings - Fork 2k
[reversetunnel] Use access point for cert auths #61274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
run_until_success.sh |
|
Note that automating this test is challenging, and I believe this should be tackled separately. |
|
@okraport should this be backported to v17 as well? |
espadolini
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep in mind that this is not a guarantee that we can connect, if the cache is also unhealthy or has failed to initialize and connectivity to auth is down we'll still error out when getting CAs.
Yes, thank you for pointing that out. Added the label. |
This change allows the agent dialer to use cached
results for hostCheckerFunc. In the case of a transient
grpc network failure, this allows the reverse tunnel
to be re-established before the grpc timeout takes place.
Test plan:
- [ ] Spawn two Linux VMs, one for auth/proxy and one for node.
Simulate network change by toggling one of two interfaces on the node,
measure time for the reverse tunnel to be functional again.
In local testing with 5 runs this on average brings the recovery time
to 2m39s from 3m45s.
Changelog: Improve reverse tunnel dialing recovery from default route changes by 1min on average.
c3ffc83 to
49a1c52
Compare
This change allows the agent dialer to use cached
results for hostCheckerFunc. In the case of a transient grpc network failure, this allows the reverse tunnel to be re-established before the grpc timeout takes place.
Test plan:
In local testing with 5 runs this on average brings the recovery time to 2m39s from 3m45s.
Changelog: Improve reverse tunnel dialing recovery from default route changes by 1min on average.