【标题描述】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报错
【附件信息】
无
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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
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
登录 后才可以发表评论