【发布时间】:2016-08-18 11:07:30
【问题描述】:
好的,我有 2 个 KVM 服务器:server_1 和 server_2。 server_1 正在生产中,无法与 server_2 通信,server_2 正在我的测试环境中为生产做好准备。
我从 server_1 复制了 2 个克隆的虚拟机(我现在无法关闭正在运行的虚拟机)并将它们移动到 server_2。
在 server_2 上使用 gui 界面我选择 Import existing disk image > Storage path: /home/vmpools/example.img, OS type: Linux, Version: CentOS 7.0 > RAM: 1024, CPU's 1 > Name: example and leave其余默认
完成后我收到以下错误:
Unable to complete install: 'internal error: process exited while connecting to monitor: 2016-08-18T09:29:23.423006Z qemu-kvm: -drive file=/home/vmpools/SureCollectGateway.img,if=none,id=drive-virtio-disk0,format=qed: could not open disk image /home/vmpools/SureCollectGateway.img: Driver 'qed' is not whitelisted
'
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 90, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/create.py", line 2277, in _do_async_install
guest.start_install(meter=meter)
File "/usr/share/virt-manager/virtinst/guest.py", line 501, in start_install
noboot)
File "/usr/share/virt-manager/virtinst/guest.py", line 416, in _create_guest
dom = self.conn.createLinux(start_xml or final_xml, 0)
File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3606, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error: process exited while connecting to monitor: 2016-08-18T09:29:23.423006Z qemu-kvm: -drive file=/home/vmpools/SureCollectGateway.img,if=none,id=drive-virtio-disk0,format=qed: could not open disk image /home/vmpools/SureCollectGateway.img: Driver 'qed' is not whitelisted
但是我可以从 ISO 创建新的虚拟机。
我将如何将 qed 列入白名单,或者我缺少什么来完成这项工作?
【问题讨论】: