Bug 8963 - [Anolis23.1 GA][Beta]arm 的qcow2镜像转vhd后,在ECS的g8y规格无法启动,初步看日志是磁盘拉起失败。
Summary: [Anolis23.1 GA][Beta]arm 的qcow2镜像转vhd后,在ECS的g8y规格无法启动,初步看日志是磁盘拉起失败。
Status: CLOSED FIXED
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: Images&Installations (show other bugs) Images&Installations
Version: 23.1
Hardware: All Linux
: P1-Urgent S1-blocker
Target Milestone: ---
Assignee: gaochang
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-08 11:44 UTC by yunmeng365524
Modified: 2024-05-20 17:01 UTC (History)
0 users

See Also:


Attachments
启动失败串口截图 (11.00 KB, image/png)
2024-05-08 11:44 UTC, yunmeng365524
Details
镜像属性 (222.91 KB, image/jpeg)
2024-05-08 11:46 UTC, yunmeng365524
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yunmeng365524 2024-05-08 11:44:16 UTC
Created attachment 1145 [details]
启动失败串口截图

Description of problem:
arm 的qcow2镜像转vhd后,在ECS的g8y规格无法启动,初步看日志是磁盘拉起失败。

Version-Release number of selected component (if applicable):
镜像地址:
https://build.openanolis.cn/kojifiles/rsync/anolis/23.1/RC/Anolis-23.1-RC-aarch64.qcow2

使用qemu命令转化成vhd镜像
qemu-img convert -f qcow2 -O vpc Anolis-23.1-RC-aarch64.qcow2 Anolis-23.1-RC-aarch64.vhd

How reproducible:
上传镜像到ECS,拉g8y型号的环境,启动卡住。具体看附件截图。
对比相同规格的g6r实例,g6r可以启动成功。

Steps to Reproduce:
如上。

Actual results:
ecs启动失败

Expected results:
ecs正常启动

Additional info:
Comment 1 yunmeng365524 2024-05-08 11:45:26 UTC
镜像的属性,已经设置了支持nvme。启动还是失败。
Comment 2 yunmeng365524 2024-05-08 11:46:56 UTC
Created attachment 1146 [details]
镜像属性
Comment 3 gaochang alibaba_cloud_group 2024-05-08 17:54:37 UTC
问题已确认,镜像 rebuild initramfs 失败,修复中
Comment 5 yunmeng365524 2024-05-20 17:01:32 UTC
新版本镜像能正常启动。
[root@localhost anuser]# uname -a
Linux localhost.localdomain 6.6.25-2_rc1.1.an23.aarch64 #1 SMP PREEMPT_DYNAMIC Thu Apr 18 21:55:22 CST 2024 aarch64 aarch64 aarch64 GNU/Linux
[root@localhost anuser]# lscpu
Architecture:             aarch64
  CPU op-mode(s):         32-bit, 64-bit
  Byte Order:             Little Endian
CPU(s):                   8
  On-line CPU(s) list:    0-7
Vendor ID:                ARM
  BIOS Vendor ID:         Alibaba Cloud
  Model name:             Neoverse-N2
    BIOS Model name:      virt-rhel7.6.0  CPU @ 2.0GHz
Comment 6 yunmeng365524 2024-05-20 17:01:46 UTC
问题解决关闭。