I encountered an lxc error when using isula

nick666

New Member
Aug 21, 2023
2
0
1
wen i use "crictl create 5e19282bc7f6 ubuntu.json pod-config.json" It gives the following log:

Aug 21 19:24:41 localhost isulad[23433]: iSula 20230821112441.466 - Event: {Object: CRI, Type: Creating Container}
Aug 21 19:24:41 localhost isulad[23433]: 9246f719ff81927 20230821112441.468 - Event: {Object: 9246f719ff819276d696df0a367f915af650651c15294a866138f7193c532a94, Type: Creating k8s_ubuntu_nginx-sandbox_default_hdishd83djaidwnduwk28bcsb_0}
Aug 21 19:24:41 localhost isulad[23433]: 9246f719ff81927 20230821112441.470 - Event: {Object: 9246f719ff819276d696df0a367f915af650651c15294a866138f7193c532a94, Type: preparing rootfs with image d5ca7a445605}
Aug 21 19:24:41 localhost isulad[23433]: 9246f719ff81927 20230821112441.471 ERROR /home/abuild/rpmbuild/BUILD/iSulad-v2.0.17/src/utils/cutils/utils_file.c:util_read_text_file:859 - No such file or directory - open file /var/lib/isulad/storage/overlay/350f36b271dee3d47478fbcd72b98fed5bbcc369632f2d115c3cb62d784edaec/lower failed
Aug 21 19:24:41 localhost isulad[23433]: 9246f719ff81927 20230821112441.471 - Event: {Object: 9246f719ff819276d696df0a367f915af650651c15294a866138f7193c532a94, Type: prepared rootfs with image d5ca7a445605}
Aug 21 19:24:41 localhost isulad[23433]: 9246f719ff81927 20230821112441.475 - Event: {Object: 9246f719ff819276d696df0a367f915af650651c15294a866138f7193c532a94, Type: mounting rootfs}
Aug 21 19:24:41 localhost isulad[23433]: 9246f719ff81927 20230821112441.479 - Event: {Object: 9246f719ff819276d696df0a367f915af650651c15294a866138f7193c532a94, Type: mounted rootfs}
Aug 21 19:24:41 localhost isulad[23433]: 9246f719ff81927 20230821112441.479 - Event: {Object: 9246f719ff819276d696df0a367f915af650651c15294a866138f7193c532a94, Type: umounting rootfs}
Aug 21 19:24:41 localhost systemd[1]: var-lib-isulad-storage-overlay-9246f719ff819276d696df0a367f915af650651c15294a866138f7193c532a94-merged.mount: Deactivated successfully.
Aug 21 19:24:41 localhost isulad[23433]: 9246f719ff81927 20230821112441.497 - Event: {Object: 9246f719ff819276d696df0a367f915af650651c15294a866138f7193c532a94, Type: umounted rootfs}
Aug 21 19:24:41 localhost isulad[23433]: 9246f719ff81927 20230821112441.499 - Event: {Object: 9246f719ff819276d696df0a367f915af650651c15294a866138f7193c532a94, Type: Created k8s_ubuntu_nginx-sandbox_default_hdishd83djaidwnduwk28bcsb_0}
Aug 21 19:24:41 localhost isulad[23433]: iSula 20230821112441.499 - Event: {Object: CRI, Type: Created Container 9246f719ff819276d696df0a367f915af650651c15294a866138f7193c532a94}

At the same time, the container status shows ”create“

when i use isula start 9246f719ff81(container id) It gives the following log:
Aug 21 19:29:53 localhost isulad[23433]: 9246f719ff81927 20230821112953.874 - Event: {Object: 9246f719ff819276d696df0a367f915af650651c15294a866138f7193c532a94, Type: Starting}
Aug 21 19:29:53 localhost isulad[23433]: 9246f719ff81927 20230821112953.875 - Event: {Object: 9246f719ff819276d696df0a367f915af650651c15294a866138f7193c532a94, Type: mounting rootfs}
Aug 21 19:29:53 localhost isulad[23433]: 9246f719ff81927 20230821112953.876 - Event: {Object: 9246f719ff819276d696df0a367f915af650651c15294a866138f7193c532a94, Type: mounted rootfs}
Aug 21 19:29:53 localhost kernel: [470673.594841] new mount options do not match the existing superblock, will be ignored
Aug 21 19:29:53 localhost isulad[23433]: iSula 20230821112953.920 - Event: {Object: 9246f719ff819276d696df0a367f915af650651c15294a866138f7193c532a94, Type: Running}
Aug 21 19:29:53 localhost isulad[23433]: 138f7193c532a94 20230821112953.920 ERROR start - start.c:__lxc_start:2629 -Container "9246f719ff819276d696df0a367f915af650651c15294a866138f7193c532a94" init exited with status 0
Aug 21 19:29:53 localhost isulad[23433]: iSula 20230821112953.923 - Event: {Object: 9246f719ff819276d696df0a367f915af650651c15294a866138f7193c532a94, Type: umounting rootfs}
Aug 21 19:29:53 localhost systemd[1]: var-lib-isulad-storage-overlay-9246f719ff819276d696df0a367f915af650651c15294a866138f7193c532a94-merged.mount: Deactivated successfully.
Aug 21 19:29:53 localhost isulad[23433]: iSula 20230821112953.928 - Event: {Object: 9246f719ff819276d696df0a367f915af650651c15294a866138f7193c532a94, Type: umounted rootfs}

At the same time, the container status shows Exited (0)
I have tried restarting the container engine, restarting the server, and reinstalling the system, but none of them can solve the problem

Is there anyone who can help to solve this problem thank you
 
Type: preparing rootfs with image d5ca7a445605}
Aug 21 19:24:41 localhost isulad[23433]: 9246f719ff81927 20230821112441.471 ERROR /home/abuild/rpmbuild/BUILD/iSulad-v2.0.17/src/utils/cutils/utils_file.c:util_read_text_file:859 - No such file or directory - open file /var/lib/isulad/storage/overlay/350f36b271dee3d47478fbcd72b98fed5bbcc369632f2d115c3cb62d784edaec/lower failed
Without knowing about isulad, I would suspect that your image is either defect or incomplete when looking at the error message above.

Please note that running Docker and other container runtimes alike inside a qemu VM instead of LXC is highly recommended.
 
在不了解 isulad 的情况下,在查看上面的错误消息时,我会怀疑您的图像有缺陷或不完整。

请注意,强烈建议在 qemu VM(而不是 LXC)内运行 Docker 和其他容器运行时。
thank you
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!