Replies: 2 comments 3 replies
-
{"level":"warn","ts":"2024-06-01T21:00:29.370356+0800","caller":"auth/store.go:1183","msg":"invalid auth token","token":"KMrdlShHiPnPkfzs.3120"} |
Beta Was this translation helpful? Give feedback.
-
[root@tws-dev logs]# ll /data/trustworkspace/data/etcd/member/snap |
Beta Was this translation helpful? Give feedback.
-
Bug report criteria
What happened?
etcd exit, log:
{"level":"fatal","ts":"2024-06-01T22:11:59.898283+0800","caller":"etcdserver/server.go:887","msg":"failed to purge snap db file","error":"open /data/trustworkspace/data/etcd/member/snap: permission denied","stacktrace":"go.etcd.io/etcd/server/v3/etcdserver.(*EtcdServer).purgeFile\n\tgo.etcd.io/etcd/server/v3/etcdserver/server.go:887\ngo.etcd.io/etcd/server/v3/etcdserver.(*EtcdServer).GoAttach.func1\n\tgo.etcd.io/etcd/server/v3/etcdserver/server.go:2761"}
What did you expect to happen?
why exit?
How can we reproduce it (as minimally and precisely as possible)?
The etcd process exits irregularly.
Anything else we need to know?
No response
Etcd version (please run commands below)
etcd Version: 3.5.12
Git SHA: e7b3bb6
Go Version: go1.20.13
Go OS/Arch: linux/amd64
Etcd configuration (command line flags or environment variables)
name: 'default'
Path to the data directory.
data-dir: /data/trustworkspace/data/etcd
Path to the dedicated wal directory.
wal-dir: /data/trustworkspace/data/etcd-wal
#snapshot: false
Number of committed transactions to trigger a snapshot to disk.
snapshot-count: 1000000000000
Time (in milliseconds) of a heartbeat interval.
heartbeat-interval: 100
Time (in milliseconds) for an election to timeout.
election-timeout: 1000
Raise alarms when backend size exceeds the given quota. 0 means use the
default quota.
quota-backend-bytes: 0
List of comma separated URLs to listen on for client traffic.
listen-client-urls: http://10.21.20.209:2379
Maximum number of snapshot files to retain (0 is unlimited).
max-snapshots: 5
Maximum number of wal files to retain (0 is unlimited).
max-wals: 5
List of this member's client URLs to advertise to the public.
The URLs needed to be a comma-separated list.
advertise-client-urls: http://******:2379
Etcd debug information (please run commands below, feel free to obfuscate the IP address or FQDN in the output)
No response
Relevant log output
No response
Beta Was this translation helpful? Give feedback.
All reactions