86 Star 471 Fork 272

GVPopenEuler / iSulad

 / 详情

使用iSulad cri v1 时,cri_sandboxers怎么配置?

待办的
任务
创建于  
2023-10-26 15:40

在isulad+k3s,使用runc作为runtime时,提示报错Shim controller not supported yet,通过调试发现是args->json_confs->cri_sandboxers一直为空,请问sandboxers如何配置?有哪些选项?

评论 (10)

汉唐俊杰 创建了任务

Hi han-and-tang-junjie, 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 , @jingxiaolu , @zhangxiaoyu , @haozi007

openeuler-ci-bot 添加了
 
sig/iSulad
标签

目前对于v1支持普通容器(runc容器)的开发正在进行中,我们预计在openeuler 24.03版本中对此功能进行补充。

iSulad v2.1.4
已经开始提供CRI v1对于普通容器的支持。在iSulad配置文件中设置enabe-cri-v1为true,可使用v1版本的CRI接口。

我这里将enabe-cri-v1为true,但仍然报错 validate CRI v1 runtime API for endpoint "unix:///var/run/isulad.sock": rpc error: code = Unimplemented desc =
输入图片说明
输入图片说明

我用的最新master分支代码编译的

@汉唐俊杰 可以使用最新代码编译验证

用最新的master编译,修改配置后还是不行呢

修改配置之后有没有重启isulad呢

你编译的时候有没有使用ENABLE_CRI_API_V1=ON?
输入图片说明

我也是同样问题,不过问题出现在runsc和kata runtime上,isula 收到rpc请求后,也是json_confs->cri_sandboxers为空,该怎么配置或者解决呢?我的问题见这个issue
#I9NN5U:iSula + gvisor(kata) 在k3s中创建容器时候报错 Failed to convert runtimehandler: kata-runtime to sandboxer

登录 后才可以发表评论

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

搜索帮助

53164aa7 5694891 3bd8fe86 5694891