86 Star 464 Fork 271

GVPopenEuler / iSulad

 / 详情

runtime使用新版的runc,容器启动失败

已完成
任务
创建于  
2022-05-12 15:51

isulad runctime设置为社区较新版本的runc

$ runc -v
runc version 1.0.0-rc95
commit: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
spec: 1.0.2-dev
go: go1.13.15
libseccomp: 2.5.1

启动容器失败,报错

$ isula run -tid busybox sh
71ae68b7240fb8f90d01f578ae4bc157b7a1e3b61974fe277bf496a5baaa2661
Error response from daemon: shim-log error: {"level": "error", "msg": "get console fd failed:-10000"}
{"level": "error", "msg": "check console fd failed"}

runtime-log error: {"level":"error","msg":"container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: process_linux.go:508: setting cgroup config for procHooks process caused: remove 'allow' exception: requested rule [{99 10 229} rwm] not supported by devices cgroupv1 (cannot punch hole in existing wildcard rule [{99 -1 -1} m])","time":"2022-05-12T15:50:27+08:00"}

isulad报错日志

71ae68b7240fb8f 20220512075027.602 - Event: {Object: 71ae68b7240fb8f90d01f578ae4bc157b7a1e3b61974fe277bf496a5baaa2661, Type: Starting}
71ae68b7240fb8f 20220512075027.603 - Event: {Object: 71ae68b7240fb8f90d01f578ae4bc157b7a1e3b61974fe277bf496a5baaa2661, Type: mounting rootfs}
71ae68b7240fb8f 20220512075027.604 - Event: {Object: 71ae68b7240fb8f90d01f578ae4bc157b7a1e3b61974fe277bf496a5baaa2661, Type: mounted rootfs}
container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: process_linux.go:508: setting cgroup config for procHooks process caused: remove 'allow' exception: requested rule [{99 10 229} rwm] not supported by devices cgroupv1 (cannot punch hole in existing wildcard rule [{99 -1 -1} m])
71ae68b7240fb8f 20220512075027.708 ERROR    /home/rain/iSulad/src/daemon/modules/runtime/isula/isula_rt_ops.c:get_container_process_pid:783 - failed read pid from dead shim /var/run/isulad/runc/71ae68b7240fb8f90d01f578ae4bc157b7a1e3b61974fe277bf496a5baaa2661
71ae68b7240fb8f 20220512075027.708 ERROR    /home/rain/iSulad/src/daemon/modules/runtime/isula/isula_rt_ops.c:rt_isula_start:894 - 71ae68b7240fb8f90d01f578ae4bc157b7a1e3b61974fe277bf496a5baaa2661: failed wait init pid
71ae68b7240fb8f 20220512075027.708 ERROR    /home/rain/iSulad/src/daemon/modules/runtime/isula/isula_rt_ops.c:show_shim_runtime_errlog:203 - shim-log: {"level": "error", "msg": "get console fd failed:-10000"}
{"level": "error", "msg": "check console fd failed"}

71ae68b7240fb8f 20220512075027.708 ERROR    /home/rain/iSulad/src/daemon/modules/runtime/isula/isula_rt_ops.c:show_shim_runtime_errlog:204 - runtime-log: {"level":"error","msg":"container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: process_linux.go:508: setting cgroup config for procHooks process caused: remove 'allow' exception: requested rule [{99 10 229} rwm] not supported by devices cgroupv1 (cannot punch hole in existing wildcard rule [{99 -1 -1} m])","time":"2022-05-12T15:50:27+08:00"}

71ae68b7240fb8f 20220512075027.766 ERROR    /home/rain/iSulad/src/daemon/modules/runtime/isula/isula_rt_ops.c:runtime_call_simple:599 - call runtime kill failed stderr "time=\"2022-05-12T15:50:27+08:00\" level=error msg=\"container \\\"71ae68b7240fb8f90d01f578ae4bc157b7a1e3b61974fe277bf496a5baaa2661\\\" does not exist\"\n"
71ae68b7240fb8f 20220512075027.821 - Event: {Object: 71ae68b7240fb8f90d01f578ae4bc157b7a1e3b61974fe277bf496a5baaa2661, Type: umounting rootfs}
71ae68b7240fb8f 20220512075027.825 - Event: {Object: 71ae68b7240fb8f90d01f578ae4bc157b7a1e3b61974fe277bf496a5baaa2661, Type: umounted rootfs}
71ae68b7240fb8f 20220512075027.825 ERROR    /home/rain/iSulad/src/daemon/modules/service/service_container.c:start_container:912 - Runtime start container failed

评论 (5)

zhangxiaoyu 创建了任务

Hi zh_xiaoyu, 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 , @lifeng_isula , @haozi007 , @jingxiaolu , @JingWoo

openeuler-ci-bot 添加了
 
sig/iSulad
标签
zhangxiaoyu 修改了描述
zhangxiaoyu 修改了标题

我也遇到同样的问题,请问怎么解决呢

已规划修复

haozi007 任务状态待办的 修改为进行中

加入todo list,issue暂时关闭

haozi007 任务状态进行中 修改为已拒绝
haozi007 任务状态已拒绝 修改为已完成

登录 后才可以发表评论

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

搜索帮助