GLIBC 更新和显式 GLIBC 链接后 calico 节点中出现分段错误

问题描述 投票:0回答:1

我已将基本 linux 映像的 GLIBC 更新至 v2.28,以将 calico 升级至 v3.26.3,并使用 patchelf 更新加载程序。 我在 linux k8s 集群中运行时遇到分段错误错误。但在本地 mac docker 中运行相同的映像时没有错误。

错误:

"/etc/rc.local: line 13:     9 Segmentation fault      calico-node -startup Calico node failed to start"

RUN patchelf --set-interpreter /opt/glibc228/install/lib/ld-linux-x86-64.so.2 --set-rpath /opt/glibc228/install/lib/:/usr/lib64 /usr/bin/calico-node RUN patchelf --remove-rpath /usr/bin/calico-node RUN patchelf --set-interpreter /opt/glibc228/install/lib/ld-linux-x86-64.so.2 --set-rpath /opt/glibc228/install/lib/:/usr/lib64 /usr/bin/calico-node

segmentation-fault glibc calico
1个回答
0
投票

您能分享更多有关您想要实现的目标的信息吗? 所有的更新都是为了升级 Calico 吗?

升级运营商对您不起作用吗? https://docs.tigera.io/calico/latest/operations/upgrading/kubernetes-upgrade#upgrading-an-installation-that-uses-the-operator

© www.soinside.com 2019 - 2024. All rights reserved.