Skip to content
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

watch chan error: etcdserver: mvcc: required revision has been compacted #4419

Closed
egoisz opened this issue Nov 8, 2021 · 2 comments
Closed

Comments

@egoisz
Copy link

egoisz commented Nov 8, 2021

Environmental Info:
K3s Version:

k3s version v1.21.5+k3s1 (acad8ef)
go version go1.16.8

Node(s) CPU architecture, OS, and Version:

Linux k3s-20-222 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Cluster Configuration:

1 servers, 1 agents
Describe the bug:

the log of k3s

systemctl status k3s -l
Nov 08 09:11:40 k3s-20-222 k3s[10410]: W1108 09:11:40.326219   10410 watcher.go:220] watch chan error: etcdserver: mvcc: required revision has been compacted
Nov 08 09:23:47 k3s-20-222 k3s[10410]: W1108 09:23:47.642181   10410 watcher.go:220] watch chan error: etcdserver: mvcc: required revision has been compacted
Nov 08 09:30:00 k3s-20-222 k3s[10410]: W1108 09:30:00.860078   10410 watcher.go:220] watch chan error: etcdserver: mvcc: required revision has been compacted
Nov 08 09:45:31 k3s-20-222 k3s[10410]: W1108 09:45:31.266069   10410 watcher.go:220] watch chan error: etcdserver: mvcc: required revision has been compacted
Nov 08 10:00:57 k3s-20-222 k3s[10410]: W1108 10:00:57.741565   10410 watcher.go:220] watch chan error: etcdserver: mvcc: required revision has been compacted
Nov 08 10:09:19 k3s-20-222 k3s[10410]: W1108 10:09:19.904802   10410 watcher.go:220] watch chan error: etcdserver: mvcc: required revision has been compacted
Nov 08 10:24:12 k3s-20-222 k3s[10410]: W1108 10:24:12.849281   10410 watcher.go:220] watch chan error: etcdserver: mvcc: required revision has been compacted
Nov 08 10:33:10 k3s-20-222 k3s[10410]: W1108 10:33:10.094465   10410 watcher.go:220] watch chan error: etcdserver: mvcc: required revision has been compacted
Nov 08 10:42:12 k3s-20-222 k3s[10410]: W1108 10:42:12.277049   10410 watcher.go:220] watch chan error: etcdserver: mvcc: required revision has been compacted
Nov 08 10:50:21 k3s-20-222 k3s[10410]: W1108 10:50:21.649804   10410 watcher.go:220] watch chan error: etcdserver: mvcc: required revision has been compacted

Steps To Reproduce:

  • Installed K3s:

Expected behavior:

i use outside etcd cluster;
etcd version is etcd-v3.3.15

Do I need to upgrade the etcd version?

@brandond
Copy link
Contributor

brandond commented Nov 8, 2021

It is normal to see that message from time to time. It does not indicate a problem with your cluster.

That said, Kubernetes up through 1.21 normally uses etcd 3.4. Kubernetes 1.22 and newer uses etcd 3.5.

@egoisz
Copy link
Author

egoisz commented Nov 8, 2021

It is normal to see that message from time to time. It does not indicate a problem with your cluster.

That said, Kubernetes up through 1.21 normally uses etcd 3.4. Kubernetes 1.22 and newer uses etcd 3.5.

I got it. Thank you.

@egoisz egoisz closed this as completed Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants