-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Bug]: [2.5.x] [etcd] etcdserver: invalid auth token #39445
Comments
@tmnhy invalid auth token is coming from etcd server. did you enable etcd auth? if so on the milvus side you need to config |
Configuration that works fine on docker images v. 2.4.x: embedEtcd.yaml:
user.yaml:
milvus run standalone 1>/dev/null \
--health-cmd="curl -f http://localhost:9091/healthz" \
--health-interval=30s --health-start-period=90s \
--health-timeout=20s --health-retries=3 Are there any changes in 2.5.x that will prevent this from working? Where can I read about it? |
Also, if I specify the wrong ADMIN_TOKEN, I get an error.
Doesn't this mean that the link with etcd is working correctly? |
auth check failure. this is the milvus error I guess. |
/assign @LoveEachDay |
This Milvus error occurs because common.security.authorizationEnabled is enabled. Ensure the correct username and password are set in the connection to resolve this issue.
|
@jaime0815 Yeah, I get it. This error I gave as an example as the communication between milvus and etcd is working fine. |
Is there an existing issue for this?
Environment
Current Behavior
Create new database and database admin role and user with pymilvus. When I try to use a new admin user I get an error
Code for reproduction:
But at the same time:
Expected Behavior
Normal user authorization.
Steps To Reproduce
Milvus Log
Anything else?
I'm seeing strange things in the logs:
as "YWRtaW46YWRtaW4=" is "admin:admin" instead of "admin:password".
The text was updated successfully, but these errors were encountered: