86 Star 474 Fork 275

GVPopenEuler / iSulad

 / 详情

cdi spec格式和version不匹配

已完成
缺陷
创建于  
2024-04-20 19:43

iSula版本信息及项目分支
master 2.1.5

操作系统版本及编译器版本
openeuler

问题描述及重现步骤
cdi spec文件使用不符合规则的格式:

如果spec或者device层级使用annotations字段,要求cdi_version字段为v0.6.0版本
如果device_nodes使用了hostPath字段,要求cdi_version字段为v0.5.0版本以及以上
如果mounts使用了type字段,要求cdi_version字段为v0.4.0版本以及以上
实际结果为:即使使用的字段和版本不匹配,也可以读取spec
预期结果
不匹配version的cdi spec无法被isulad识别,日志会打印提示该spec至少要求version为多少

评论 (1)

liuxu 创建了缺陷

Hi liuxu180400617, 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 , @zhongtao , @haozi007 , @jingxiaolu

openeuler-ci-bot 添加了
 
sig/iSulad
标签
liuxu 任务状态待办的 修改为已验收
liuxu 任务状态已验收 修改为已完成

登录 后才可以发表评论

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

搜索帮助

344bd9b3 5694891 D2dac590 5694891