已关闭
【缺陷】拉取 obs index.yaml 异常导致无法获取 fuyao 版本,进而无法拉起新集群 #285
songtianlun创建于  8月24日关闭于  26 天前
songtianlun
songtianlun成员
8月24日 创建

环境信息/ Environment

  • 在线安装
  • openEuler
  • arm64

问题简述/ Brief Description

在线部署拉取版本文件异常,导致无法拉起新集群。

问题详情&复现步骤 / Details & Reproduction Steps

如图所示,拉起新集群时发现无法获取可部署的版本:

image.png

排查 pod 发现报错日志:

第一次尝试,无法获取文件报错:

2026-08-24T02:07:45.667Z        ERROR   clustermanage/handler.go:309    get openFuyao versions err: failed to fetch index.yaml: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal object into Go value of type installer.RemotePatchIndexResponse

修复文件后尝试,怀疑文件内容有问题:

2026-08-24T02:41:41.691Z        INFO    installer/cluster.go:1778       remote file url is https://openfuyao.obs.cn-north-4.myhuaweicloud.com/openFuyao/version-config/v26.06/index.yaml
2026-08-24T02:41:41.692Z        INFO    installer/cluster.go:1314       10.17.31.153
2026-08-24T02:41:41.839Z        ERROR   clustermanage/handler.go:309    get openFuyao versions err: failed to fetch index.yaml: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal object into Go value of type installer.RemotePatchIndexResponse

早些时候发现这个资源不存在 https://openfuyao.obs.cn-north-4.myhuaweicloud.com/openFuyao/version-config/latest/index.yaml ,跟 fuyao 的老师反馈后找到了文件,但是似乎内容不太对:

➜  ~ cat ~/Downloads/index.yaml 
openFuyaoVersion: latest
filePath: ./Core-VersionConfig-latest.yaml

依然无法拉起集群。

file:///home/songtianlun/.local/share/WeChat_Data/xwechat_files/s1305647042_c6ff/temp/RWTemp/2026-08/a2fc4e1312ec07622a71c239b865d954/84e52fabd36c5212652fca518a821a89.png84e52fabd36c5212652fca518a821a89.png

期望结果/ Expected Results

可以正常拉起。

实际结果/Actual Results

无法正常拉起。

补充:建议监控某些关键 s3 资源 url , 避免关键资源缺失导致新装集群无法正常部署,影响交付和部署成功率。

likedislike
openFuyao-botopenFuyao-bot成员
8月24日 添加了label:sig/sig-Installation
openFuyao-bot
openFuyao-bot成员
8月24日 评论:

欢迎来到 openFuyao 社区

Hey @songtianlun , 感谢你对社区的贡献.

机器人使用手册

有关指令的使用,可以点击 此处 查看详情。开发人员可以在每个PR或Issue下方评论特定指令来触发机器人任务。您可以自助配置此仓库的 PR 合并规则,更多详情,请参阅此处。

联系指引

有疑问可以联系 SIG: sig-Installation ,
维护者是: @foxbit, @javadoors, @regandy, @xuyouhong, @zqw1 ,
审核者是: @piamposer-li .

likedislike
Xx_chao183成员
8月24日 将 xuyouhong 设为负责人
Xx_chao183成员
8月24日 关联了看板:openFuyao - v26.09问题单
Xx_chao183成员
8月24日 关联了里程碑:v26.09
songtianlun
songtianlun成员
8月24日 评论:

已修复,群里反馈后发现是格式问题,经fuyao伙伴修复后恢复正常

# 异常
[root@localhost ~]# curl https://openfuyao.obs.cn-north-4.myhuaweicloud.com/openFuyao/version-config/v26.06/index.yaml
openFuyaoVersion: v26.06
filePath: ./Core-VersionConfig-v26.06.yaml
# 正常
[root@localhost ~]# curl https://openfuyao.obs.cn-north-4.myhuaweicloud.com/openFuyao/version-config/v26.06/index.yaml
- openFuyaoVersion: v26.06
  filePath: ./Core-VersionConfig-v26.06.yaml
likedislike
xuyouhxuyouh成员
26 天前 issue状态由 开启 改变为 待测试
xuyouhxuyouh成员
26 天前 issue状态由 待测试 改变为 已完成
xuyouhxuyouh成员
26 天前 关闭了 issue