Pull Request已成功合入, 合并人@openeuler-ci-bot
(感谢 yanzhicong1 的贡献)变更摘要
此 PR 为 Ceph 项目新增了 openEuler 24.03-LTS-SP4 发行版的容器镜像构建支持,主要包括新增基于 SP4 基础镜像的 Dockerfile、集群启动入口脚本 entrypoint.sh,并同步更新了镜像元数据和文档记录。
主要改动
- 新增
Storage/ceph/20.3.0/24.03-lts-sp4/Dockerfile:基于openeuler/openeuler:24.03-lts-sp4基础镜像,通过源码编译方式构建 Ceph 20.3.0,含完整的依赖安装、libnbd编译及 Cephninja构建流程。 - 新增
Storage/ceph/20.3.0/24.03-lts-sp4/entrypoint.sh:提供单节点 Ceph 集群的一键启动脚本,自动完成集群目录创建、密钥生成、monmap 生成、monitor 初始化与启动,并输出集群状态。 - 更新
Storage/ceph/meta.yml:新增20.3.0-oe2403sp4标签的元数据条目,映射到对应的 SP4 Dockerfile 路径。 - 更新
Storage/ceph/doc/image-info.yml:在镜像标签表中补充20.3.0-oe2403sp4的文档记录,并修复文件末尾的换行符缺失问题。


代码审查
All YAML keys are correctly spelled. Now I'll provide the closing summary.
审查总结
审查覆盖的文件(共 5 个)
| 文件 | 审查结果 |
|---|---|
Storage/ceph/20.3.0/24.03-lts-sp4/Dockerfile |
发现 1 个问题(P2) |
Storage/ceph/20.3.0/24.03-lts-sp4/entrypoint.sh |
发现 2 个问题(P3) |
Storage/ceph/README.md |
无问题 |
Storage/ceph/doc/image-info.yml |
无问题 |
Storage/ceph/meta.yml |
无问题 |
问题统计
| 优先级 | 数量 | 说明 |
|---|---|---|
| P0 | 0 | — |
| P1 | 0 | — |
| P2 | 1 | Dockerfile 中 Ceph 构建后未清理源码目录,镜像体积膨胀 |
| P3 | 2 | entrypoint.sh 缺少 set -u/pipefail;sleep 3 固定等待不可靠 |
整体风险评估
低风险。本次变更为 openEuler 24.03-LTS-SP4 新增 Ceph 镜像支持,代码结构完全沿袭已有的 SP1/SP2 模式,仅基础镜像 tag 不同。Dockerfile 和 entrypoint.sh 与现有 SP2 版本完全一致(除 BASE 镜像外),README、image-info.yml、meta.yml 的变更均为正常的文档和配置追加。发现的问题均为已有版本中同样存在的次要问题(镜像体积优化、脚本健壮性),不涉及正确性、安全性或功能回归风险。
| 类型 | 数量 |
|---|---|
| 🔴 阻塞 | 0 |
| 🟡 建议 | 1 |
💬 仅评论


Welcome To openEuler Community
Hey @yanzhicong1 , thanks for your contribution to the community.
Bot Usage Manual
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.
Contact Guide
If you have any questions, please contact the SIG: sig-CloudNative ,
and any of the maintainers: @duguhaotian, @jimmieme, @lu-wei-army, @weibaohui, @wonleing, @yangzhao_kl, @zhaoyifan28, @zmr_2020 ,


门禁正在运行, 您可以通过以下链接查看实时门禁检查结果.
若您对门禁结果含义不清晰或者遇到问题不知如何解决,可参考门禁指导手册
门禁入口及编码规范检查: multiarch/openeuler/trigger/openeuler-docker-images/1965/console


门禁正在运行, 您可以通过以下链接查看实时门禁检查结果.
若您对门禁结果含义不清晰或者遇到问题不知如何解决,可参考门禁指导手册
门禁入口及编码规范检查: multiarch/openeuler/trigger/openeuler-docker-images/1988/console


🟡 Medium Priority
建议:在 ninja install 之后添加清理步骤,删除源码目录中不被 entrypoint.sh 需要的文件(至少删除 .git 目录)。推荐追加 && rm -rf .git 或移到独立 RUN 层中执行清理,与 libnbd 处理方式保持一致。


/retest


门禁正在运行, 您可以通过以下链接查看实时门禁检查结果.
若您对门禁结果含义不清晰或者遇到问题不知如何解决,可参考门禁指导手册
门禁入口及编码规范检查: multiarch/openeuler/trigger/openeuler-docker-images/2705/console


/retest


门禁正在运行, 您可以通过以下链接查看实时门禁检查结果.
若您对门禁结果含义不清晰或者遇到问题不知如何解决,可参考门禁指导手册
门禁入口及编码规范检查: multiarch/openeuler/trigger/openeuler-docker-images/2708/console


/approve
/lgtm


门禁正在运行, 您可以通过以下链接查看实时门禁检查结果.
若您对门禁结果含义不清晰或者遇到问题不知如何解决,可参考门禁指导手册
门禁入口及编码规范检查: multiarch/openeuler/trigger/openeuler-docker-images/2880/console


| Image Tag | Publish Result |
|---|---|
| ceph:20.3.0-oe2403sp4 | :white_check_mark:SUCCESS |
| Storage/ceph/README.md | :white_check_mark:SUCCESS |


chore(ceph): add openEuler 24.03-LTS-SP4 support