You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# run simple local etcd cluster (version 3.5.5)
etcd --log-level=debug &
# create root user with full permissions
etcdctl user add root:root
etcdctl user grant-role root root
# create regular user with read only access
etcdctl user add test:test
etcdctl role add test
etcdctl role grant-permission test read / --prefix
etcdctl user grant-role test test
Same problem here, after a quick search I couldn't quite pin point where the problem was coming from. EasyKV creates a request to watch a prefix here. The error comes from here, after this check, but I don't know why etcd is saying we don't have permission.
Hi!
I'm having trouble watching etcd keys after authorization has been enabled on my etcd cluster.
Remco return errors lile this:
2023-06-15T22:31:08.947+0000 [ERROR] error: backend=etcdv3 prefix=remco[252942] resource=haproxy message="rpc error: code = PermissionDenied desc = etcdserver: permission denied"
Step to reproduce:
When set
watch = false
the error is gone.Run remco with etcd root permissions also works fine.
Run watch request by curl (REST API call doing through etcd's GRPC gateway, yes) with non-privileged user returning no errors:
Please help me find a solution to this problem.
The text was updated successfully, but these errors were encountered: