Bug 5757 - [Anolis23 GA][GA][arm/x86]使用anolis_23_arm64/x86_20G_alibase_20230703.qcow2创建虚拟机,启动后存在部分服务启动失败
Summary: [Anolis23 GA][GA][arm/x86]使用anolis_23_arm64/x86_20G_alibase_20230703.qcow2创建虚...
Status: RESOLVED FIXED
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: Images&Installations (show other bugs) Images&Installations
Version: 23.0
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: happy_orange
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-06 17:25 UTC by liuyaqing
Modified: 2023-07-10 11:45 UTC (History)
1 user (show)

See Also:


Attachments
qcow2虚拟机启动后存在失败的服务 (8.05 MB, image/bmp)
2023-07-06 17:25 UTC, liuyaqing
Details

Note You need to log in before you can comment on or make changes to this bug.
Description liuyaqing alibaba_cloud_group 2023-07-06 17:25:06 UTC
Created attachment 826 [details]
qcow2虚拟机启动后存在失败的服务

Description of problem:
使用anolis_23_arm64_20G_alibase_20230703.qcow2 ,anolis_23_x64_20G_alibase_20230703.qcow2  创建虚拟机,创建完成执行systemctl --failed存在部分启动失败的服务,报错信息见附件截图

Version-Release number of selected component (if applicable):

5.10.134-14.1.an23.x86_64/aarch64

Steps to Reproduce:
1.下载qcow2文件

2.执行  virt-install --name lyq_rc2_vhd --memory 4096 --vcpus=8 --disk path=/disk1/anolis_23_arm64/x64_20G_alibase_20230703.qcow2,format=qcow2,bus=virtio --import --network bridge=virbr0 --os-type generic --graphics vnc,listen=0.0.0.0,port=5962  --noautoconsole 创建x86和arm虚拟机

3.虚拟机启动后登录执行 systemctl --failed

Actual results:
虚拟机启动后存在启动失败的服务

Expected results:
虚拟机启动后没有启动失败的服务

Additional info:
Comment 1 happy_orange alibaba_cloud_group 2023-07-07 16:01:40 UTC
看日志提示,keentune-target 和 systemd-network-wait-online 服务失败都是因为:缺少安装了 python3-requests 软件。安装 python3-requests 之后重启服务成功,实际上应该在 keentune-target 和 systemd-network 这两个包里增加对 python3-requests 的运行依赖。
Comment 2 happy_orange alibaba_cloud_group 2023-07-10 11:45:18 UTC
keentune-target 和 systemd-network-wait-online 的服务失败已经解决,在 vhd 和 qcow2 的包范围中增加 python3-requests 软件。问题修复。

rngd 服务以前的分析结果见:https://bugzilla.openanolis.cn/show_bug.cgi?id=5393。

请使用https://mirrors.openanolis.cn/anolis/23/Nightly/Images/vm/20230703_2/ 下面的镜像进行测试。