登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
11月29日 Gitee Talk | 模力方舟 AI 沙龙深圳站:看懂算力到应用的下一个主战场!点击立即报名~
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
12
Star
0
Fork
17
src-openEuler
/
KubeOS
代码
Issues
0
Pull Requests
2
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
【24.03-lts-sp1】kubelte/containerd等配置下发存在:1、格式转换等问题会导致节点配置卡住,2、仅配置value值后修改正确的值但是value值一直不变,3、pam.limits下发时未打印setting日志
已验收
#IB9EM9
缺陷
zzzzzzhao
创建于
2024-12-05 20:15
**【环境信息】** KubeOS-scripts-1.0.7-1.oe2403sp1 **【问题复现步骤】: 问题一: 1、kubelte/containerd等配置下发时,指定不匹配的格式文件; 2、配置嵌套值配置不正确,比如将配置文件中为key:aaa.bbb, value:ddd修改为key:aaa.bbb.ccc, value:ddd 问题二: 1、不配置key,仅配置value,下发配置 2、修改key/value正常配置,下发配置 问题三: 1、下发配置后查看日志 **【实际结果】** 问题一:节点卡住,无法重新配置 ''' [root@node1 ~]# systemctl status os-agent ○ os-agent.service - Agent For KubeOS Loaded: loaded (/usr/lib/systemd/system/os-agent.service; enabled; preset: disabled) Active: inactive (dead) since Thu 2024-12-05 18:10:52 CST; 4min 34s ago Duration: 1h 11min 49.854s Process: 385300 ExecStart=/usr/bin/os-agent (code=exited, status=0/SUCCESS) Main PID: 385300 (code=exited, status=0/SUCCESS) Dec 05 18:10:52 node1 os-agent[385300]: [2024-12-05T10:10:52Z WARN manager::sys_mgmt::config] Unknown operation "sss", updating key "faculty" with value ""hard.nprpc.30000"" by default Dec 05 18:10:52 node1 os-agent[385300]: [2024-12-05T10:10:52Z INFO manager::sys_mgmt::config] Update configuration "faculty hard nprpc 30000" Dec 05 18:10:52 node1 os-agent[385300]: [2024-12-05T10:10:52Z WARN manager::sys_mgmt::config] Failed to update pam limits key "student" with value hard.nprpc because of illegal format of value Dec 05 18:10:52 node1 os-agent[385300]: [2024-12-05T10:10:52Z WARN manager::sys_mgmt::config] Failed to add key "@faculty" with "_" value, skip this configuration Dec 05 18:10:52 node1 os-agent[385300]: [2024-12-05T10:10:52Z INFO manager::sys_mgmt::config] Write configuration to file "/etc/security/limits.conf" Dec 05 18:10:52 node1 os-agent[385300]: [2024-12-05T10:10:52Z INFO manager::sys_mgmt::config] Start setting kubernetes.kubelet Dec 05 18:10:52 node1 os-agent[385300]: thread 'event.loop' panicked at KubeOS-Rust/manager/src/sys_mgmt/config.rs:532:69: Dec 05 18:10:52 node1 os-agent[385300]: called `Option::unwrap()` on a `None` value Dec 05 18:10:52 node1 os-agent[385300]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace Dec 05 18:10:52 node1 systemd[1]: os-agent.service: Deactivated successfully. ''' 问题二:value值不是新下发的值,一直为仅配置value时下发的值 ''' ''' 问题三:查看日志,pam.limits下发时未打印Start setting 日志 ''' Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO os_agent::rpc::agent_impl] Start to configure Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO manager::sys_mgmt::config] Start setting kernel.sysctl Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO manager::sys_mgmt::config] Configured kernel.sysctl fs.mount-max=2000 Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO manager::sys_mgmt::config] Start setting kernel.sysctl.persist Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO manager::sys_mgmt::config] Add configuration "key_sys=1" Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO manager::sys_mgmt::config] Write configuration to file "/etc/sysctl.conf" Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z WARN manager::sys_mgmt::config] dm-verity mode is enabled, skip setting grub.cmdline configuration Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z WARN manager::sys_mgmt::config] dm-verity mode is enabled, skip setting grub.cmdline configuration Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO manager::sys_mgmt::config] Update configuration "student hard nprpc 20000" Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO manager::sys_mgmt::config] Write configuration to file "/etc/security/limits.conf" Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO manager::sys_mgmt::config] Start setting kubernetes.kubelet Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO manager::sys_mgmt::config] Update configuration apiVersion: "kubelet.config.k8s.io/v1beta2" Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO manager::sys_mgmt::config] Start setting container.containerd Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO manager::sys_mgmt::config] Update configuration disabled_plugins: 2 ''' **【期望结果】** 1、不会卡住,可以重新配置 2、value为每次下发的值 3、pam.limits下发时打印Start setting 日志 **【其他相关附件信息】** 如上
**【环境信息】** KubeOS-scripts-1.0.7-1.oe2403sp1 **【问题复现步骤】: 问题一: 1、kubelte/containerd等配置下发时,指定不匹配的格式文件; 2、配置嵌套值配置不正确,比如将配置文件中为key:aaa.bbb, value:ddd修改为key:aaa.bbb.ccc, value:ddd 问题二: 1、不配置key,仅配置value,下发配置 2、修改key/value正常配置,下发配置 问题三: 1、下发配置后查看日志 **【实际结果】** 问题一:节点卡住,无法重新配置 ''' [root@node1 ~]# systemctl status os-agent ○ os-agent.service - Agent For KubeOS Loaded: loaded (/usr/lib/systemd/system/os-agent.service; enabled; preset: disabled) Active: inactive (dead) since Thu 2024-12-05 18:10:52 CST; 4min 34s ago Duration: 1h 11min 49.854s Process: 385300 ExecStart=/usr/bin/os-agent (code=exited, status=0/SUCCESS) Main PID: 385300 (code=exited, status=0/SUCCESS) Dec 05 18:10:52 node1 os-agent[385300]: [2024-12-05T10:10:52Z WARN manager::sys_mgmt::config] Unknown operation "sss", updating key "faculty" with value ""hard.nprpc.30000"" by default Dec 05 18:10:52 node1 os-agent[385300]: [2024-12-05T10:10:52Z INFO manager::sys_mgmt::config] Update configuration "faculty hard nprpc 30000" Dec 05 18:10:52 node1 os-agent[385300]: [2024-12-05T10:10:52Z WARN manager::sys_mgmt::config] Failed to update pam limits key "student" with value hard.nprpc because of illegal format of value Dec 05 18:10:52 node1 os-agent[385300]: [2024-12-05T10:10:52Z WARN manager::sys_mgmt::config] Failed to add key "@faculty" with "_" value, skip this configuration Dec 05 18:10:52 node1 os-agent[385300]: [2024-12-05T10:10:52Z INFO manager::sys_mgmt::config] Write configuration to file "/etc/security/limits.conf" Dec 05 18:10:52 node1 os-agent[385300]: [2024-12-05T10:10:52Z INFO manager::sys_mgmt::config] Start setting kubernetes.kubelet Dec 05 18:10:52 node1 os-agent[385300]: thread 'event.loop' panicked at KubeOS-Rust/manager/src/sys_mgmt/config.rs:532:69: Dec 05 18:10:52 node1 os-agent[385300]: called `Option::unwrap()` on a `None` value Dec 05 18:10:52 node1 os-agent[385300]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace Dec 05 18:10:52 node1 systemd[1]: os-agent.service: Deactivated successfully. ''' 问题二:value值不是新下发的值,一直为仅配置value时下发的值 ''' ''' 问题三:查看日志,pam.limits下发时未打印Start setting 日志 ''' Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO os_agent::rpc::agent_impl] Start to configure Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO manager::sys_mgmt::config] Start setting kernel.sysctl Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO manager::sys_mgmt::config] Configured kernel.sysctl fs.mount-max=2000 Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO manager::sys_mgmt::config] Start setting kernel.sysctl.persist Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO manager::sys_mgmt::config] Add configuration "key_sys=1" Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO manager::sys_mgmt::config] Write configuration to file "/etc/sysctl.conf" Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z WARN manager::sys_mgmt::config] dm-verity mode is enabled, skip setting grub.cmdline configuration Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z WARN manager::sys_mgmt::config] dm-verity mode is enabled, skip setting grub.cmdline configuration Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO manager::sys_mgmt::config] Update configuration "student hard nprpc 20000" Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO manager::sys_mgmt::config] Write configuration to file "/etc/security/limits.conf" Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO manager::sys_mgmt::config] Start setting kubernetes.kubelet Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO manager::sys_mgmt::config] Update configuration apiVersion: "kubelet.config.k8s.io/v1beta2" Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO manager::sys_mgmt::config] Start setting container.containerd Dec 6 17:24:17 node1 os-agent[732]: [2024-12-06T09:24:17Z INFO manager::sys_mgmt::config] Update configuration disabled_plugins: 2 ''' **【期望结果】** 1、不会卡住,可以重新配置 2、value为每次下发的值 3、pam.limits下发时打印Start setting 日志 **【其他相关附件信息】** 如上
评论 (
2
)
登录
后才可以发表评论
状态
已验收
待办的
已挂起
修复中
已确认
已完成
已验收
已取消
负责人
未设置
liyuanr
li-yuanrong
负责人
协作者
+负责人
+协作者
标签
sig/sig-CloudNative
未设置
项目
未立项任务
未立项任务
里程碑
openEuler-24.03-LTS-SP1-round3
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (22)
标签 (17)
master
openEuler-24.03-LTS-SP2
openEuler-24.03-LTS-Next
openEuler-24.03-LTS-SP3
openEuler-25.03
openEuler-25.09
openEuler-24.03-LTS-SP1
openEuler-24.09
openEuler-24.03-LTS
openEuler-22.03-LTS-SP3
openEuler-22.03-LTS-SP4
openEuler-22.03-LTS-SP1
openEuler-22.03-LTS-SP2
openEuler-23.09
openEuler-23.03
openEuler-22.03-LTS-Next
openEuler-22.09
openEuler-22.03-LTS
openEuler-20.03-LTS-SP3
openEuler-20.03-LTS-SP4
openEuler-21.09
openEuler-20.03-LTS-Next
openEuler-25.09-release
openEuler-24.03-LTS-SP2-release
openEuler-25.03-release
openEuler-24.03-LTS-SP1-release
openEuler-22.03-LTS-SP4-release
openEuler-24.09-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
openEuler-22.03-LTS-SP1-release
openEuler-22.09-release
openEuler-22.09-rc5
openEuler-22.09-20220829
openEuler-22.03-LTS-20220331
openEuler-22.03-LTS-round5
openEuler-22.03-LTS-round4
openEuler-20.03-LTS-SP3-release
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
1
https://gitee.com/src-openeuler/KubeOS.git
git@gitee.com:src-openeuler/KubeOS.git
src-openeuler
KubeOS
KubeOS
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册