13 Star 0 Fork 7

src-openEuler / aops-hermes

 / 详情

【22.03_LTS_SP1_RC1】【x86/arm】建议将“获取主机列表”接口中“status”字段的value规范

已验收
缺陷
创建于  
2022-12-01 20:30

系统:x86_64/aarch64虚拟机
软件信息:
1) OS版本及分支:openEuler 22.03 lts sp1 round1
2) 内核信息:Linux openEuler 5.10.0-126.0.0.66.oe2203sp1.x86_64
3) 发现问题的组件版本信息:
aops-apollo-v1.1.0-1.oe2203.x86_64.rpm、aops-ceres-v1.1.0-1.oe2203.x86_64.rpm、aops-hermes-v1.1.0-2.oe2203.x86_64.rpm、aops-tools-v1.1.0-1.oe2203.x86_64.rpm、aops-vulcanus-v1.1.0-1.oe2203.x86_64.rpm、aops-zeus-v1.1.0-1.oe2203.x86_64.rpm

【问题复现步骤】
1.按照文档安装环境并启动服务
2.调用“获取主机列表”接口,给“status”传值

出现概率(必现)
【预期结果】
2. “status”字段的值应该规范化,准确
【实际结果】
5. “status”字段值为done,系统其他接口的status大多为succeed、fail等,为了接口的延展性和易用性,建议值规范化,准确化

【附件信息】
输入图片说明

评论 (4)

丁娇 创建了缺陷

Hi ding-jiao, 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-ops, and any of the maintainers: @栾建海 , @solarhu , @cmss_dx , @hjx_gitff , @snoweay , @luzhihao , @Lostway , @yangzhao_kl , @dowzyx , @王记棒棒猪 , @Anatas , @openeuler-ci-bot

openeuler-ci-bot 添加了
 
sig/sig-ops
标签
丁娇 负责人设置为wenxin
丁娇 优先级设置为次要
丁娇 修改了描述

目前主机状态就两中,scanning和done
主机任务的执行结果分为三种succeed,fail和unknown,且unknown一般只会出现在接口测试中,正常逻辑不会涉及.

wenxin 任务状态待办的 修改为已完成
丁娇 计划截止日期设置为2022-12-14
丁娇 计划开始日期设置为2022-12-13
丁娇 计划截止日期2022-12-14 修改为2022-12-15

经于开发沟通,对于接口中包含“选项类”字段,将会在对外接口文档中对此类字段的值进行详细说明

验证版本:EBS-openEuler-22.03-LTS-SP1/rc4_openeuler-2022-12-15-16-22-57
验证结果:通过

丁娇 任务状态已完成 修改为已验收

登录 后才可以发表评论

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

搜索帮助