修改Windows云主机密码报错怎么办?

现象

修改Windows云主机密码时出现如下报错:
return code: 1 stdout: stderr: error: internal error: unable to execute QEMU agent command 'guest-set-user-password': 
The command guest-set-user-password has not been found

原因

可能原因是使用了错误的Windows Virtio驱动。

解决方案

目前ZStack Cloud定制版ISO里已经集成了可用的Windows Virtio驱动,解压此ISO,添加此Windows Virtio驱动作为ISO镜像到镜像服务器中,然后挂载此ISO,安装对应的qemu-guest-agent即可。