86 Star 467 Fork 272

GVPopenEuler / iSulad

 / 详情

isula run及stop时有Error打印

已完成
缺陷
创建于  
2021-09-28 15:44

【标题描述】isula run及stop时有Error打印
【环境信息】
软件信息:
1) OS版本及分支:openEuler 21.09

【问题复现步骤】
启动容器:
openeuler ~ # isula run -tid --name test --external-rootfs / none /bin/bash
8dc7800d5dfa272 19700101000319.283 - Event: {Object: 8dc7800d5dfa2725841248f204fc77dlc98f2d0b3cbea447a9cb65db7fccc9ac, Type:
Creating test)
8dc7800d5dfa272 19700101000319.285 ERROR /usrl/openeuler/src/build/build-qemu-aarch64/tmp/work/aarch64-openeuler-linux/iSu
lad/2.0.9-r0/iSulad/src/utils/cutils/utils.c:convert_v2_runtime:1540 - ShimV2 runtime format is wrong

停止容器:isula stop test
报错:ERROR: /usr1/openeuler/src/build/build-qemu-aarch64/tmp/work/aarch64-openeuler-linux/iSula/2.0.9-r0/iSulad/src/daemon/modules/service/service_container.c:stop_container:1359 - Failed to wait Container
(fa5732650b944e0882c85a2d5b7775026efa06dddec11a9cdf424c515e65a2d1) 'STOPPED' for 10 seconds, force killing

【预期结果】
没有Error报错

【实际结果】
有Error报错

【附件信息】

评论 (5)

wangyuxiang 创建了缺陷
wangyuxiang 关联仓库设置为openEuler/iSulad
openeuler-ci-bot 添加了
 
sig/iSulad
标签
展开全部操作日志

Hi iceblueee, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at
https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md.
If you have any questions, please contact the SIG: iSulad, and any of the maintainers: @haomintsai, @lifeng_isula, @haozi007, @jingxiaolu.

wangyuxiang 修改了描述
wangyuxiang 修改了描述
Charlie_Li 负责人设置为lifeng_isula
JingWoo 任务状态待办的 修改为修复中
JingWoo 负责人lifeng_isula 修改为gaohuatao

hi, 可以看下/etc/isulad/daemon.json中default-runtime值么?当前isulad的io.containerd.kata.v2类型的runtime是用于启动shimv2类型的安全容器, 安全容器的虚拟化推荐使用stratovirt,当前openeuler上的qemu和isulad对接未验证。

openeuler ~ # cat /etc/isulad/daemon.json | grep default-runtime
"default-runtime": "lcr",

这里是对runtime类型的校验,日志级别可以调低下,无功能影响

补充下,kill也会有Error报错:
openeuler ~ # isula kill test
f9439f00843dcb9 19700101000327.925 - Event: {Object: f9439f00843dcb93b7597a3fc0fc91193022360a3b4d14d06e7e37cec73faab2, Type: Killing, Signal:9}
e7e37cec73faab2 19700101000328.325 ERROR start - ../../../lxc-4.0.3/src/lxc/start.c:__lxc_start:2621 -Container "f9439f00843dcb93b7597a3fc0fc91193022360a3b4d14d06e7e37cec73faab2" init exited with signal 9
iSula 19700101000328.648 - Event: {Object: f9439f00843dcb93b7597a3fc0fc91193022360a3b4d14d06e7e37cec73faab2, Type: umounting rootfs}
iSula 19700101000328.656 - Event: {Object: f9439f00843dcb93b7597a3fc0fc91193022360a3b4d14d06e7e37cec73faab2, Type: umounted rootfs}
f9439f00843dcb9 19700101000328.714 - Event: {Object: f9439f00843dcb93b7597a3fc0fc91193022360a3b4d14d06e7e37cec73faab2, Type: Killed, Signal:9}
test

gaohuatao 通过openeuler/iSulad Pull Request !1182任务状态修复中 修改为已完成

登录 后才可以发表评论

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

搜索帮助