【标题描述】iSulad启动时出现ERROR日志打印,显示没有Created状态的容器
【环境信息】
【问题复现步骤】
1、执行isula create [OPTIONS] IMAGE
2、重新手动启动isulad
【预期结果】
功能正常,无异常ERROR
【实际结果】
ERROR /root/work/lcr/src/lcrcontainer.c:lcr_state:699 - No such container: 207691049d9b10f1ae48cba7ea3d70112140f81d811bc9635bf4a0662ab6166c
isula ps -a
207691049d9b busybox "sh" 6 days ago Created 207691049d9b10f1ae48cba7ea3d70112140f81d811bc9635bf4a0662ab6166c
【附件信息】
Hi lauk001, 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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
isulad在restore所有容器的时候,回去check容器的状态;
而created的容器肯定是没有启动的容器monitor进程;
可以考虑优化一下restore流程,是否先check容器的状态
已修复加载逻辑
lcr check还是需要的保留
登录 后才可以发表评论