Skip to content

fix(dev-env): update default OpenCloudOS image to 9.6-20260514.2 (9.4 download fails)#447

Merged
fslongjin merged 2 commits into
TencentCloud:masterfrom
husttsq:fix/update-opencloudos-image-url-9.6
Jun 3, 2026
Merged

fix(dev-env): update default OpenCloudOS image to 9.6-20260514.2 (9.4 download fails)#447
fslongjin merged 2 commits into
TencentCloud:masterfrom
husttsq:fix/update-opencloudos-image-url-9.6

Conversation

@husttsq
Copy link
Copy Markdown
Contributor

@husttsq husttsq commented Jun 3, 2026

问题

dev-env/ 下脚本默认的 OpenCloudOS 云镜像 9.4-20251120.0mirrors.tencent.com 上已无法正常下载,导致拉取镜像失败。

改动

将以下两个脚本中默认 IMAGE_URL 升级为当前可用的最新镜像 9.6-20260514.2

  • dev-env/prepare_image.sh
  • dev-env/run_vm.sh
-IMAGE_URL="${IMAGE_URL:-https://mirrors.tencent.com/opencloudos/9/images/qcow2/x86_64/OpenCloudOS-GenericCloud-9.4-20251120.0.x86_64.qcow2}"
+IMAGE_URL="${IMAGE_URL:-https://mirrors.tencent.com/opencloudos/9.6/images/qcow2/x86_64/20260514.2/OpenCloudOS-GenericCloud-9.6-20260514.2.x86_64.qcow2}"

验证

新链接已确认可正常下载(HTTP 200,Content-Length 约 806 MB)。

The 9.4-20251120.0 qcow2 image at mirrors.tencent.com is no longer
available and downloads fail. Bump IMAGE_URL to the latest available
9.6-20260514.2 GenericCloud image.
@cubesandboxbot
Copy link
Copy Markdown

cubesandboxbot Bot commented Jun 3, 2026

Claude finished @husttsq's task in 1m 58s —— View job


PR Review: fix(dev-env): update default OpenCloudOS image to 9.6-20260514.2

Review Progress

  • Read PR diff and changed files
  • Verify the URL change is correct
  • Check for other references to the old OpenCloudOS 9.4 image
  • Update dev-env/run_vm.sh with the same URL change (needs author action — see below)
  • Post final review summary

Review Summary

Change in dev-env/prepare_image.sh — Looks good ✅

The URL update is correct:

  • Old: opencloudos/9/images/qcow2/x86_64/OpenCloudOS-GenericCloud-9.4-20251120.0.x86_64.qcow2
  • New: opencloudos/9.6/images/qcow2/x86_64/20260514.2/OpenCloudOS-GenericCloud-9.6-20260514.2.x86_64.qcow2

The new URL structure (version directory 9.6 with a separate 20260514.2 build-timestamp subdirectory) matches OpenCloudOS 9.6's release layout. This is a straightforward, correct fix for the broken 9.4 download.

⚠️ Stale reference found in dev-env/run_vm.sh

There's a duplicate of the same default IMAGE_URL in dev-env/run_vm.sh at line 30 that still points to the old (broken) 9.4 image:

IMAGE_URL="${IMAGE_URL:-https://mirrors.tencent.com/opencloudos/9/images/qcow2/x86_64/OpenCloudOS-GenericCloud-9.4-20251120.0.x86_64.qcow2}"

This should also be updated to the new 9.6 URL for consistency — if someone runs run_vm.sh directly (without a pre-downloaded image or without setting IMAGE_URL), it would try to download the same broken 9.4 image.

Suggested fix:
Replace line 30 of dev-env/run_vm.sh with:

IMAGE_URL="${IMAGE_URL:-https://mirrors.tencent.com/opencloudos/9.6/images/qcow2/x86_64/20260514.2/OpenCloudOS-GenericCloud-9.6-20260514.2.x86_64.qcow2}"

Conclusion

The main change is correct and ready to merge. Consider also updating run_vm.sh to prevent a future download failure there as well.

Same fix as prepare_image.sh: the 9.4-20251120.0 qcow2 is no longer
available and downloads fail. Bump default IMAGE_URL to 9.6-20260514.2.
@cubesandboxbot
Copy link
Copy Markdown

cubesandboxbot Bot commented Jun 3, 2026

Claude finished @husttsq's task in 48s —— View job


I'll analyze this and get back to you.

@fslongjin fslongjin merged commit 3923161 into TencentCloud:master Jun 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants