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

在部分centos7系统上遇到内核升级这一步失败的问题 #31

Open
snpyeso opened this issue Mar 27, 2022 · 5 comments
Open
Assignees
Labels
question Further information is requested

Comments

@snpyeso
Copy link

snpyeso commented Mar 27, 2022

TASK [/root/kube-install/data/output/yangzujie_cluster/sys/0x0000000000base/kernel : 3.Update kernel and grub] ***
changed: [10.0.4.11]
changed: [172.17.0.17]

TASK [/root/kube-install/data/output/yangzujie_cluster/sys/0x0000000000base/kernel : shell] ***
fatal: [172.17.0.17]: FAILED! => {"changed": true, "cmd": "/opt/kube-install/k8s/temp/updategrub.sh", "delta": "0:02:28.713121", "end": "2022-03-27 22:02:22.132428", "msg": "non-zero return code", "rc": 1, "start": "2022-03-27 21:59:53.419307", "stderr": "warning: /tmp/.kubeinstalltemp/data/yangzujie_cluster/temp/kernel4.19/kernel-ml-4.19.12-1.el7.elrepo.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID baadae52: NOKEY\n/opt/kube-install/k8s/temp/updategrub.sh: line 18: 1\n2-1: syntax error in expression (error token is "2-1")", "stderr_lines": ["warning: /tmp/.kubeinstalltemp/data/yangzujie_cluster/temp/kernel4.19/kernel-ml-4.19.12-1.el7.elrepo.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID baadae52: NOKEY", "/opt/kube-install/k8s/temp/updategrub.sh: line 18: 1", "2-1: syntax error in expression (error token is "2-1")"], "stdout": "", "stdout_lines": []}
fatal: [10.0.4.11]: FAILED! => {"changed": true, "cmd": "/opt/kube-install/k8s/temp/updategrub.sh", "delta": "0:03:18.314072", "end": "2022-03-27 22:03:10.307655", "msg": "non-zero return code", "rc": 1, "start": "2022-03-27 21:59:51.993583", "stderr": "warning: /tmp/.kubeinstalltemp/data/yangzujie_cluster/temp/kernel4.19/kernel-ml-4.19.12-1.el7.elrepo.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID baadae52: NOKEY\n/opt/kube-install/k8s/temp/updategrub.sh: line 18: 1\n2-1: syntax error in expression (error token is "2-1")", "stderr_lines": ["warning: /tmp/.kubeinstalltemp/data/yangzujie_cluster/temp/kernel4.19/kernel-ml-4.19.12-1.el7.elrepo.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID baadae52: NOKEY", "/opt/kube-install/k8s/temp/updategrub.sh: line 18: 1", "2-1: syntax error in expression (error token is "2-1")"], "stdout": "", "stdout_lines": []}

PLAY RECAP *********************************************************************
10.0.4.11 : ok=81 changed=64 unreachable=0 failed=1 skipped=0 rescued=0 ignored=5
172.17.0.17 : ok=175 changed=139 unreachable=0 failed=1 skipped=0 rescued=0 ignored=7

[Error] 2022-03-27 22:03:11.883827535 +0800 CST m=+43248.461014392 Kubernetes install failed! There is an error in the process!


@snpyeso
Copy link
Author

snpyeso commented Mar 27, 2022

已经把yum.config 设置成了 gpgcheck=0

@houseonline
Copy link
Collaborator

houseonline commented Mar 28, 2022

請問你的主機OS系統的完整小版本號是什麼? 你選擇的CNI挿件是什麼類型?

如果你不知道在哪裡選擇CNI挿件,可以查看這裡( #21 )。

@houseonline
Copy link
Collaborator

houseonline commented Mar 28, 2022

如果你選擇的CNI挿件不是强依賴高版本內核的話,可以按照這裡的方法( #20 )選擇跳過OS內核陞級步驟。

@houseonline houseonline self-assigned this Mar 28, 2022
@houseonline houseonline added the question Further information is requested label Mar 28, 2022
@snpyeso
Copy link
Author

snpyeso commented Mar 28, 2022

請問你的主機OS系統的完整小版本號是什麼? 你選擇的CNI挿件是什麼類型?

如果你不知道在哪裡選擇CNI挿件,可以查看這裡( #21 )。

我的CNI 网络类型我测试了 Fannel与calico,我的OS系统完成版本为(uname- a输出结果) 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

@snpyeso
Copy link
Author

snpyeso commented Mar 28, 2022

如果你選擇的CNI挿件不是强依賴高版本內核的話,可以按照這裡的方法( #20 )選擇跳過OS內核陞級步驟。

今天晚上回家测试下

@houseonline houseonline changed the title centos7 永远卡在这一步,尝试了不下十次了 在部分centos7系统上遇到内核升级这一步失败的问题 Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants