-
Notifications
You must be signed in to change notification settings - Fork 316
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
io.grpc.StatusRuntimeException: INVALID_ARGUMENT: etcdserver: revision of auth store is old - client doesn't retry. #1201
Comments
can you submit a PR with the failing test ? I know there is some code here but a PR would eventually speed up the implementation of a fix |
@lburgazzoli i can submit a PR but the test needs a custom image, which is why i had to submit it like this. Currently the test setup doesn't allow for certificates, it takes the etcd image from upstream and uses that, but in order to reproduce the problem you need to pass a custom etcd with certificates already present which is why I've jotted the steps down. Not sure if it makes sense. Thanks. |
we have some tests that add the certificates and some that use jwt too, like jetcd/jetcd-core/src/test/java/io/etcd/jetcd/impl/WatchTokenExpireTest.java Lines 52 to 59 in b95fc68
|
That makes more sense, let me fix the test and submit a PR in sometime. Thanks. |
@vivekpatani ping |
Hi @lburgazzoli @vivekpatani |
have you tested with the latest release ? |
Hi @lburgazzoli Is above commit is not the full fix ? Do I need to test with some other version of jetcd? Thanks in advance |
Test with jetcd-0.8.3 please |
Versions
3.5.9
main
openjdk 20.0.2 2023-07-18
Describe the bug
When spinning up
etcd
with--auth-token=jwt,pub-key=jwt_RS256.pub,priv-key=jwt_RS256,sign-method=RS256 --auth-token-ttl=1
, run into thisio.grpc.StatusRuntimeException: INVALID_ARGUMENT: etcdserver: revision of auth store is old
and the client fails to retry.To Reproduce
tmp
directorytmp
Dockerfile
docker build -t etcd-custom .
jetcd
project, and createAuthClientTTLTest.java
Expected behavior
Client should retry.
Additional context
I see there was a fix for this: #1103, but maybe I'm missing context here.
If it's easier to recreate this issue, I've made a standalone app so that you can hit the
etcd-server
The text was updated successfully, but these errors were encountered: