127 Star 0 Fork 18

src-openEuler / boom-boot

 / 详情

【22.03_LTS_SP3 round1】【arm\x86】执行boom相关命令,提示未知命令

已验收
缺陷
创建于  
2023-12-05 17:14

【环境信息】
软件信息:
1) OS版本及分支:openEuler 22.03 (LTS-SP3)
2) 内核信息:5.10.0-153.12.0.92.oe2203sp2.x86_64
【操作步骤】
1、安装软件包
dnf install -y boom-boot
boom -b 1 entry show
【预期结果】
命令执行正常,无报错
【实际结果】
命令执行异常
【附件】
输入图片说明
repo源:

[OS]
name=OS
baseurl=http://××/repo_list/iteration.repo/openEuler-22.03-LTS-SP3/openeuler-2023-11-23-17-21-14/OS/$basearch/
enabled=0
gpgcheck=1
gpgkey=http://××/repo_list/iteration.repo/openEuler-22.03-LTS-SP3/openeuler-2023-11-23-17-21-14/OS/$basearch/RPM-GPG-KEY-openEuler

[everything]
name=everything
baseurl=http://××/repo_list/iteration.repo/openEuler-22.03-LTS-SP3/openeuler-2023-11-23-17-21-14/everything/$basearch/
enabled=0
gpgcheck=1
gpgkey=http://××/repo_list/iteration.repo/openEuler-22.03-LTS-SP3/openeuler-2023-11-23-17-21-14/everything/$basearch/RPM-GPG-KEY-openEuler

[EPOL]
name=EPOL
baseurl=http://××/repo_list/iteration.repo/openEuler-22.03-LTS-SP3/openeuler-2023-11-23-17-21-14/EPOL/main/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://××/repo_list/iteration.repo/openEuler-22.03-LTS-SP3/openeuler-2023-11-23-17-21-14/OS/$basearch/RPM-GPG-KEY-openEuler

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

openeuler-ci-bot 添加了
 
sig/Others
标签
wangxiaoya 修改了标题
wangxiaoya 修改了描述

根因:上游通过https://github.com/snapshotmanager/boom/commit/86cac4a0eb35cffbead898af6b18a689db5df92e 提交
规定第一个参数必须为entry 、profile 、host等,第二个参数必须为 create 、delete、clone 、show、 list等

新版本的用法是:boom entry show -b 1

[root@openEuler boom-boot]# boom entry	show -b 1
ERROR - Host profile configuration path '/boot/boom/hosts'	not found.
[root@openEuler boom-boot]# mkdir /boot/boom/hosts -p
[root@openEuler boom-boot]# boom entry show -b 1
ERROR - Could not clean boot image cache: [Errno 2] No such file or directory:	/boot/boom/cache
[root@openEuler boom-boot]# mkdir -p /boot/boom/cache
[root@openEuler boom-boot]# boom entry	show -b 1
[root@openEuler boom-boot]# echo $?
0

上面缺少 /boot/boom/hosts /boot/boom/cache 目录应该默认创建好,通过pr 修复:!19:Add cache and hosts directories

wangxiaoya 负责人设置为caodongxia
wangxiaoya 计划截止日期设置为2023-12-07
wangxiaoya 计划开始日期设置为2023-12-06
wangxiaoya 计划截止日期2023-12-07 修改为2023-12-08
wangxiaoya 优先级设置为次要
wangxiaoya 修改了标题
lyn 通过src-openeuler/boom-boot Pull Request !19任务状态待办的 修改为已完成
wangxiaoya 修改了标题
wangxiaoya 任务状态已完成 修改为已验收

/boot/boom/profiles/*文件非修复此问题必要文件,仅做用法示例。

登录 后才可以发表评论

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

搜索帮助