123 Star 1 Fork 32

src-openEuler / obs-server

 / 详情

【22.03-LTS-SP3 rc1】【arm/x86】obsapisetup启动有报错信息

已取消
缺陷
创建于  
2023-12-01 10:00

【环境信息】
NAME="openEuler"
VERSION="22.03 (LTS-SP3)"
ID="openEuler"
VERSION_ID="22.03"
PRETTY_NAME="openEuler 22.03 (LTS-SP3)"
ANSI_COLOR="0;31"
软件信息:
obs-server-2.10.15-7.oe2203sp3
【问题复现步骤】
dnf install -y mariadb-server obs-api obs-server postgresql-libs
mv /etc/my.cnf /etc/my.bak
systemctl start mariadb
echo 'create database api_production;' | mysql
systemctl start obssrcserver
sed -i 's/^OBS_API_AUTOSETUP=.*/OBS_API_AUTOSETUP="yes"/g' /etc/sysconfig/obs-server
systemctl start obsapisetup
systemctl status obsapisetup
【预期结果】
服务启动后,状态正常,没有异常信息
【实际结果】
服务启动后,有异常报错
输入图片说明
输入图片说明

评论 (4)

zhangpanting 创建了缺陷

Hi zhangpanting, 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: Others, and any of the maintainers: @small_leek , @jimmy_hero , @mdche , @王歌

openeuler-ci-bot 添加了
 
sig/Others
标签
zhangpanting 负责人设置为caodongxia
zhangpanting 计划截止日期设置为2023-12-02
zhangpanting 计划开始日期设置为2023-12-01
zhangpanting 计划截止日期2023-12-02 修改为2023-12-03
zhangpanting 优先级设置为次要
zhangpanting 修改了描述

错误信息:

/usr/lib/obs/server/functions.setup-appliance.sh: line 683: sign: command not found
Failed to get unit file state for signd.service: No such file or directory

原因分析:obsapisetup.service服务启动成功,状态正常,日志中有以上两条信息。分析可知缺少的signd.service和sign由obs-sign提供,openeuler未引入该包。
上游地址:https://github.com/openSUSE/obs-sign

1.obsapisetup.service为obs-server基础服务,obsapisetup.service启动成功后,其他上层服务才能正常启动,obs-server中其他上层服务都正常,故obsapisetup.service基本功能正常
2.obs-server官方spec文件中标记obs-signd为弱依赖,非必要依赖。
地址:https://github.com/openSUSE/open-build-service/blob/master/dist/obs-server.spec 206行

Recommends:     obs-signd

综上,不建议引入obs-signd软件包。

同意开发观点,该问题单取消

zhangpanting 任务状态待办的 修改为已取消

登录 后才可以发表评论

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

搜索帮助

53164aa7 5694891 3bd8fe86 5694891