13 Star 1 Fork 8

src-openEuler / aops-ceres

 / 详情

【22.03_LTS_SP1_RC1】【x86/arm】注册主机时提示将数据插入数据库失败(os-version超过20个字符)

已验收
缺陷
创建于  
2022-11-28 19:31

【标题描述】注册主机时提示将数据插入数据库失败
系统:x86_64/aarch64虚拟机
软件信息:
1) OS版本及分支:openEuler 22.03 lts sp1 round1
2) repo:http://...../repo_list/dailybuild.repo/openEuler-22.03-LTS-SP1/openEuler-22.03-LTS-SP1/EPOL/main
3) 内核信息:Linux openEuler 5.10.0-126.0.0.66.oe2203sp1.x86_64
4) 发现问题的组件版本信息:
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.安装相关环境并启动服务
dnf install -y aops-ceres
dnf install -y aops-hermes
dnf install -y aops-tools
dnf install -y aops-vulcanus
dnf install -y aops-zeus
dnf install -y aops-apollo
aops-basedatabase mysql
aops-basedatabase elasticsearch
systemctl restart aops-ceres
systemctl restart aops-hermes
systemctl restart aops-zeus
systemctl restart aops-apollo
aops-ceres register -f register.json

出现概率(必现)
【预期结果】
注册成功
【实际结果】
注册主机时提示将数据插入数据库失败
【附件信息】
输入图片说明

评论 (4)

wangxiaoya 创建了缺陷

Hi ryuo, 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 , @王记棒棒猪 , @openeuler-ci-bot

openeuler-ci-bot 添加了
 
sig/sig-ops
标签
wangxiaoya 优先级设置为主要
wangxiaoya 计划截止日期设置为2022-11-29
wangxiaoya 计划开始日期设置为2022-11-28
wangxiaoya 计划截止日期2022-11-29 修改为2022-11-30
wangxiaoya 负责人设置为starlet_dx
wangxiaoya 负责人starlet_dx 修改为未设置
wangxiaoya 负责人设置为wenxin
wenxin 任务状态待办的 修改为修复中
wenxin 任务状态修复中 修改为已完成
wangxiaoya 修改了描述

问题定位:原有数据库os_version字段限制为20个字符,测试环境中这个字段超出20造成数据库插入失败
处理措施: 数据库该字段限制改为40

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

登录 后才可以发表评论

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

搜索帮助