Print

CloudOS E7117绑定辅助网卡编排报错:internal error:unable to execute QEMU agent coommand 'guest-os-info':The command guest-os-info has not been found'

7小时前 发表

问题描述

CloudOS E7117绑定辅助网卡编排报错:internal error:unable to execute QEMU agent coommand 'guest-os-info':The command guest-os-info has not been found'

过程分析

1、检查虚拟机是否正常安装castools,虚拟机内部qemu-ga服务运行是否正常;

2、虚拟机的宿主机后台执行virsh qemu-agent-command ecs-id --cmd '{"execute":"guest-os-info"}'(其中ecs-id换成对应虚拟机),报错与编排一致

3、虚拟机所在宿主机上执行virsh qemu-agent-command ecs-id --cmd '{"execute":"guest-info"}'查看qga的版本为4.1.0

查看绑定辅助网卡正常的虚拟机qga版本为7.3.0.6

而qga 4.1.0版本不支持,导致qga相关指令无法执行,网卡挂载报错。

解决方法

针对qga版本不支持的虚拟机,先卸载虚拟机内部castools,再从运管平台挂载光驱重装castools。