下游集群etcd快照在Rancher UI 显示为0 b

环境信息:
RKE2 版本: 1.27.10

节点 CPU 架构,操作系统和版本:ubuntu 22.04 x86

Linux p-hq-k8s-master-0001 5.15.0-76-generic #83-Ubuntu SMP Thu Jun 15 19:16:32 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
集群配置:

问题描述:

很久就存在的bug了,在2.7.2版本就存在,在2.8.4的版本依旧未解决,参考官方的issue:https://www.suse.com/support/kb/doc/?id=000021447,依旧没有效果
重现步骤: Rancher2.7以上版本的Ha rke2下游集群大部分都存在这个bug

  • 安装 RKE2 的命令:

预期结果:

实际结果:

日志 etcd备份时报错:{"level":"info","ts":"2024-07-18T09:50:12.311021Z","caller":"traceutil/trace.go:171","msg":"trace[187685067] range","detail":"{range_begin:/registry/snapshot.storage.k8s.io/volumesnapshotcontents/; range_end:/registry/snapshot.storage.k8s.io/volumesnapshotcontents0; response_count:0; response_revision:836548; }","duration":"146.219698ms","start":"2024-07-18T09:50:12.164791Z","end":"2024-07-18T09:50:12.311011Z","steps":["trace[187685067] 'count revisions from in-memory index tree' (duration: 145.723022ms)"],"step_count":1}

{“level”:“info”,“ts”:“2024-07-18T09:50:18.53416Z”,“caller”:“traceutil/trace.go:171”,“msg”:“trace[134441378] linearizableReadLoop”,“detail”:“{readStateIndex:898706; appliedIndex:898706; }”,“duration”:“171.733289ms”,“start”:“2024-07-18T09:50:18.362415Z”,“end”:“2024-07-18T09:50:18.534149Z”,“steps”:[“trace[134441378] ‘read index received’ (duration: 171.73139ms)”,“trace[134441378] ‘applied index is now lower than readState.Index’ (duration: 1.382µs)”],“step_count”:2}
{“level”:“warn”,“ts”:“2024-07-18T09:50:18.534243Z”,“caller”:“etcdserver/util.go:170”,“msg”:“apply request took too long”,“took”:“171.823549ms”,“expected-duration”:“100ms”,“prefix”:"read-only range ",“request”:“key:"/registry/cilium.io/ciliumcidrgroups/" range_end:"/registry/cilium.io/ciliumcidrgroups0" count_only:true “,“response”:“range_response_count:0 size:6”}
{“level”:“info”,“ts”:“2024-07-18T09:50:18.534258Z”,“caller”:“traceutil/trace.go:171”,“msg”:“trace[1881323813] range”,“detail”:”{range_begin:/registry/cilium.io/ciliumcidrgroups/; range_end:/registry/cilium.io/ciliumcidrgroups0; response_count:0; response_revision:836607; }”,“duration”:“171.849038ms”,“start”:“2024-07-18T09:50:18.362404Z”,“end”:“2024-07-18T09:50:18.534253Z”,“steps”:[“trace[1881323813] ‘agreement among raft nodes before linearized reading’ (duration: 171.809176ms)”],“step_count”:1}
{“level”:“warn”,“ts”:“2024-07-18T09:50:18.534605Z”,“caller”:“etcdserver/util.go:170”,“msg”:“apply request took too long”,“took”:“152.859457ms”,“expected-duration”:“100ms”,"p