109 Star 483 Fork 246

GVPopenEuler/stratovirt

 / 详情

[22.03-LTS-SP1][aarch64]stratovirt arm架构制作快照失败

已验收
缺陷
创建于  
2022-11-28 14:54

【环境信息】
软件信息:
1) OS版本及分支:openEuler-22.03-LTS-SP1
2) 内核信息:5.10.0-126.0.0.66.oe2203sp1.aarch64
3) 发现问题的组件版本信息:stratovirt-2.1.0-6.oe2203sp1.aarch64
如果有特殊组网,请提供网络拓扑图
【问题复现步骤】
具体操作步骤
在物理机上执行
1.yum install stratovirt nc -y
2.wget http://121.36.84.172/dailybuild/EBS-openEuler-22.03-LTS-SP1/Alpha_openeuler-2022-11-23-19-40-46/stratovirt_img/aarch64/EBS-openEuler-22.03-LTS-SP1-stratovirt-aarch64.img.xz
wget http://121.36.84.172/dailybuild/EBS-openEuler-22.03-LTS-SP1/Alpha_openeuler-2022-11-23-19-40-46/stratovirt_img/aarch64/vmlinux.bin
3.xz -d EBS-openEuler-22.03-LTS-SP1-stratovirt-aarch64.img.xz
4.启动虚拟机
/usr/bin/stratovirt -kernel /root/vmlinux.bin -append console=ttyS0 root=/dev/vda reboot=k panic=1 -drive file=/root/EBS-openEuler-22.03-LTS-SP1-stratovirt-aarch64.img,id=rootfs,readonly=false -device virtio-blk-device,drive=rootfs,id=blk1 -qmp unix:/tmp/stratovirt.socket,server,nowait -serial stdio -D stra1.log
5.登录虚拟机
物理机打开另一窗口执行
1.ncat -U /tmp/stratovirt.socket
2.停止虚拟机:{"execute":"stop"}
3.制作快照:{"execute":"migrate", "arguments":{"uri":"file:/root/tempfile"}}
出现概率(必现)
【预期结果】
执行成功,返回: {"return": {}}
【实际结果】
执行失败,虚拟机挂掉
【附件信息】
输入图片说明
输入图片说明

附件
stra1.log(3.75 KB)下载
ga_beng_cui 2022-11-28 14:57

评论 (3)

ga_beng_cui 创建了缺陷

Hi ga_beng_cui, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Virt, and any of the maintainers: @朱科潜 , @frankyj915 , @Bin Wu , @ZhiGang , @alexchen , @Chuan , @imxcc , @ZhangBo , @yezengruan , @Xinle.Guo , @limingwang , @sujerry

openeuler-ci-bot 添加了
 
sig/Virt
标签
ga_beng_cui 负责人设置为yezengruan
ga_beng_cui 计划截止日期设置为2022-11-29
ga_beng_cui 计划开始日期设置为2022-11-28
ga_beng_cui 优先级设置为主要
ga_beng_cui 上传了附件stra1.log
ga_beng_cui 修改了描述
Xinle.Guo 通过src-openeuler/stratovirt Pull Request !82任务状态待办的 修改为已完成
Xinle.Guo 任务状态已完成 修改为待办的

问题根因:
因为stratovirt使用系统调用白名单过滤机制,使用qmp命令连接管理stratovirt,出现bad systemcall系统调用被拦截问题。被拦截的系统调用是madvise free。
解决方案:
dev分支的stratovirt已修复该问题(增加系统调用白名单),从dev分支把patch回合到22.03-LTS-SP1分支。

Xinle.Guo 任务状态待办的 修改为已完成

使用最新版本已验证,无此问题
输入图片说明

ga_beng_cui 任务状态已完成 修改为已验收

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936 7361816 ga beng cui 1655284969
1
https://gitee.com/openeuler/stratovirt.git
git@gitee.com:openeuler/stratovirt.git
openeuler
stratovirt
stratovirt

搜索帮助

Cb406eda 1850385 E526c682 1850385