86 Star 471 Fork 272

GVPopenEuler / iSulad

 / 详情

容器发生OOM,iSulad未正确设置crictl status reason字段和inspect中OOMKilled字段

已挂起
缺陷
创建于  
2024-04-03 17:06

容器发生OOM,iSulad未正确设置crictl status reason字段和inspect中OOMKilled字段

一、缺陷信息
iSulad v2.1.5

【问题复现步骤】,请描述具体的操作步骤
通过cri启动容器触发OOMKilled,获取容器status,reason字段可能未被设置为OOMKilled

原因在于iSulad通过监控cgroup文件获取OOM事件,但OOM事件会触发容器cgroup文件被删除,
若cgroup文件删除发生在iSulad处理OOM事件之前, 则无法成功监控到容器cgroup OOM事件

其它容器引擎同样存在该问题

评论 (1)

jake 创建了缺陷

Hi jikai11, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: iSulad, and any of the maintainers: @haomintsai , @JingWoo , @lifeng_isula , @xuxuepeng , @zhongtao , @haozi007 , @jingxiaolu

openeuler-ci-bot 添加了
 
sig/iSulad
标签
zhongtao 任务状态待办的 修改为已挂起

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936
C
1
https://gitee.com/openeuler/iSulad.git
git@gitee.com:openeuler/iSulad.git
openeuler
iSulad
iSulad

搜索帮助