13 Star 0 Fork 7

src-openEuler / aops-hermes

 / 详情

[20.03-LTS-SP3][arm/x86]批量添加主机失败

已完成
缺陷
创建于  
2023-11-09 10:01

**通过文件批量添加主机时,如果文件中密钥字段为空,则添加主机异常,不能正常生成密钥

复现步骤:

  1. 安装配置aops服务,其中aops-hermes版本为1.3.3-10
  2. 进入web界面后,尝试批量添加主机接口
  3. 对应文件中批量添加的主机以密码验证方式,密钥字段置空
  4. 添加主机完成后,web界面可以看到添加的机器为未连接

评论 (2)

wenxin 创建了缺陷

Hi rabbitali, 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 , @chen wei , @openeuler-ci-bot

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

分析: 前端解析文件过程中,对于为空值默认赋值undefined,后端验证中优先验证此字段,导致添加的主机无法正常验证

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
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

搜索帮助