86 Star 471 Fork 272

GVPopenEuler / iSulad

 / 详情

Failed to create lock for【容器id】导致容器启动失败

待办的
任务
创建于  
2023-12-07 11:38

iBMC-1711 / # isula start -a iBMC
a52589f44c98f5b 20230515194812.894 - Event: {Object: a52589f44c98f5b4ed3fe275965af662b1636608197931448e14f805e7d0f9be, Type: Starting}
a52589f44c98f5b 20230515194812.908 - Event: {Object: a52589f44c98f5b4ed3fe275965af662b1636608197931448e14f805e7d0f9be, Type: mounting rootfs}
a52589f44c98f5b 20230515194812.908 - Event: {Object: a52589f44c98f5b4ed3fe275965af662b1636608197931448e14f805e7d0f9be, Type: mounted rootfs}
Failed to create lock for a52589f44c98f5b4ed3fe275965af662b1636608197931448e14f805e7d0f9be, path /var/lib/isulad/engines/lcr
Failed to create lock for a52589f44c98f5b4ed3fe275965af662b1636608197931448e14f805e7d0f9be
Failed to create lock for a52589f44c98f5b4ed3fe275965af662b1636608197931448e14f805e7d0f9be, path /var/lib/isulad/engines/lcr
Failed to create lock for a52589f44c98f5b4ed3fe275965af662b1636608197931448e14f805e7d0f9be
iSula 20230515194812.915 ERROR /home/openeuler/build/build_arm64/tmp/work/aarch64-openeuler-linux/isulad/2.1.1-r0/iSulad-v2.1.1/src/daemon/modules/runtime/engines/lcr/lcr_rt_ops.c:rt_lcr_create:66 - Failed to create container
a52589f44c98f5b 20230515194812.915 ERROR /home/openeuler/build/build_arm64/tmp/work/aarch64-openeuler-linux/lcr/2.1.1-r0/lcr-v2.1.1/src/lcrcontainer.c:lcr_clean:630 - Failed to delete container.
iSula 20230515194812.915 ERROR /home/openeuler/build/build_arm64/tmp/work/aarch64-openeuler-linux/isulad/2.1.1-r0/iSulad-v2.1.1/src/daemon/modules/service/service_container.c:clean_resources_on_failure:264 - Failed to clean failed started container a52589f44c98f5b4ed3fe275965af662b1636608197931448e14f805e7d0f9be
iSula 20230515194812.916 - Event: {Object: a52589f44c98f5b4ed3fe275965af662b1636608197931448e14f805e7d0f9be, Type: umounting rootfs}
iSula 20230515194812.916 - Event: {Object: a52589f44c98f5b4ed3fe275965af662b1636608197931448e14f805e7d0f9be, Type: umounted rootfs}
iSula 20230515194812.916 ERROR /home/openeuler/build/build_arm64/tmp/work/aarch64-openeuler-linux/isulad/2.1.1-r0/iSulad-v2.1.1/src/daemon/modules/service/service_container.c:start_container:934 - Runtime start container failed
Error response from daemon: Create container error: Runtime error

对文件夹的哪些限制会导致无法创建文件锁

评论 (2)

jiayu_code 创建了任务

Hi turtle-code, 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 , @haozi007 , @jingxiaolu

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

可以手动使用flock命令在他提示报错的路径下尝试使用文件锁,看具体的报错原因

登录 后才可以发表评论

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

搜索帮助

53164aa7 5694891 3bd8fe86 5694891