【环境信息】
【问题复现步骤】
1. 安装包
yum install cri-o -y
2. 启动服务并查询状态
systemctl start crio.service
systemctl status crio.service
3. 停止服务
systemctl stop crio.service
4. 查询启动日志
journalctl -u crio.service | grep -i error
【预期结果】
服务启动成功且日志无报错
【实际结果】
日志打印error: level=warning msg="Error encountered when checking whether cri-o should wipe images: version file /var/lib/crio/version not found: open /var/lib/crio/version: no such file or directory
【附件信息】
Hi duanxuemin, 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: sig-CloudNative, and any of the maintainers: @biannm , @pixiake , @yangzhao_kl , @Jianmin , @weibaohui , @haozi007 , @haomintsai , @duyiwei , @付善庆 , @leon wang
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
@clerk_duan
使用openEuler-23.03-x86_64-dvd.iso镜像,地址:http://121.36.84.172/dailybuild/EBS-openEuler-23.03/openeuler-2023-03-04-22-15-39/ISO/x86_64/。问题未复现。
按照这个步骤是复现的
@clerk_duan 日志打印记录级别为警告非报错,服务能正常运行,不影响使用,其中error..../var/lib/crio/version: no such file or directory 为警告msg字段的内容。
msg字段问题为k8s集群的节点部署问题,根据crio的配置文档,"/var/lib/crio/version" CRI-O 放置临时版本文件的位置。它用于检查 crio 是否应该擦除容器,这应该总是在节点重启时发生。目前还无法解决警告内容。
你好,告警级别为warning,不影响服务启停,该问题验收通过
登录 后才可以发表评论