"导出失败"从XenCenter导出OVA / OVF包时

时间:2015-07-26 01:44:25

标签: virtualbox xen

我需要在VirtualBox中创建一个Xenserver,以便我可以安装一个非常旧的Linux发行版并将其作为新的AMI导入Amazon EC2。使用安装了Xenserver的Virtual Box中的桥接网络,一切顺利。

现在,当我将我的新VM导出到OVA / OVF文件时,我一直遇到错误"导出失败"在XenCenter中。我可以导出XVA文件,但这并没有真正帮助。我该如何调试呢?

1 个答案:

答案 0 :(得分:0)

要弄清楚发生了什么,您需要找到调试日志。在XenCenter中,转到帮助 - >查看XenCenter日志文件。然后,在我的XenCenter.log文件中,它说:

2015-07-25 19:58:19,739 DEBUG XenOvfTransport.iSCSI [15] - Connecting virtual disk 59f19215-752a-480f-a21a-4bf781d9a967 ... 
2015-07-25 19:58:40,735 ERROR XenOvfTransport.iSCSI [15] - Failed to connect to virtual disk via iSCSI. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.1.6:3260
2015-07-25 19:58:45,736 ERROR XenOvfTransport.Export [15] - Failed to transfer virtual disk c:\temp\CentOS 5.2\59f19215-752a-480f-a21a-4bf781d9a967.vhd.
System.Exception: Failed to export. ---> System.Exception: Failed to transfer virtual disk c:\temp\CentOS 5.2\59f19215-752a-480f-a21a-4bf781d9a967.vhd. ---> System.Exception: Failed to connect to virtual disk via iSCSI.

我的诀窍是进入VirtualBox并更改机器的设置。在"网络"下,寻找"混杂模式"并设置它"允许所有"。