Falha na conversão de um ovf gerado no XCP 1.1 e XCP 1.0 para plataformas de virtualização desktop

447 views
Skip to first unread message

Fernando Mariano

unread,
Feb 3, 2012, 12:15:09 PM2/3/12
to xen-br
Boa tarde, estou tentando converter uma VM executada no XCP 1.1 e XCP
1.0 para OVF e posteriormente para alguma plataforma de virtualização
desktop, como por exemplo, Virtualbox, VMware Player, VMware Server,
Virtual PC e etc.

Instalei o XCP 1.1 e 1.0 em um de meus servidores e ao utilizar a
funções de exportação de VM com o XenCenter 6.0 (botão direito sobre a
VM e utilizar a função de exportação) o OVF é gerado normalmente,
porém ao tentar executar a VM nas seguintes plataforma de
virtualização, acontecem os erros:

VMware Player 4.0.1 build-528992 Linux:
Erro ao tentar abrir OVF do XenServer 6.0 no VMware Player 4.0.1
(Linux i386)
The import failed because /media/4000-2F41/windows-ovf-XemServer6.0/
Windows Server 2003 (64-bit)/Windows Server 2003 (64-bit).ovf did not
pass OVF specification conformance or virtual hardware compliance
checks.
Click Retry to relax OVF specification and virtual hardware compliance
checks and try the import again, or click Cancel to cancel the import.
If you retry the import, you might not be able to use the virtual
machine in VMware Player.

VMware Player 4.0.1 build-528992 Linux (alterando a definição do XML
para encoding=UTF-8)
The import failed because o did not pass OVF specification conformance
or virtual hardware compliance checks.
Click Retry to relax OVF specification and virtual hardware compliance
checks and try the import again, or click Cancel to cancel the import.
If you retry the import, you might not be able to use the virtual
machine in VMware Player.

VMware Converter 4.0.1 build-161434:
Unable to parse the OVF File.

VMware Converter 4.0.1 build-161434 (alterando a definição do XML para
encoding=UTF-8)
The OVF file '/media/4000-2F41/ovfxen/Windows Server 2003 (64-bit)-
utf8/Windows Server 2003 (64-bit).ovf' cannot be deployed on the
target hardware.

Virtualbox 4.1.2 Linux:
Failed to import appliance /media/4000-2F41/ovfxen/Windows Server 2003
(64-bit)/Windows Server 2003 (64-bit).ovf.
Document labelled UTF-16 but has UTF-8 content.
Location: '/media/4000-2F41/ovfxen/Windows Server 2003 (64-bit)/
Windows Server 2003 (64-bit).ovf', line 1 (0), column 36.

Virtualbox 4.1.2 Linux(alterando a definição do XML para
encoding=UTF-8)
Failed to import appliance /media/4000-2F41/ovfxen/Windows Server 2003
(64-bit)-utf8/Windows Server 2003 (64-bit).ovf.
Error reading "/media/4000-2F41/ovfxen/Windows Server 2003 (64-bit)-
utf8/Windows Server 2003 (64-bit).ovf": Unknown resource type 19 in
hardware item, line 1.

VMware ovftool 2.0.1 (build-260188) Linux
Opening OVF source: /media/pendrive/windows-xva-ovf/Windows Server
2003 (64-bit).ovf
Warning: No manifest file
Error:
- Line 1: Could not parse the document: 'encoding specified in XML
declaration is incorrect'.

VMware ovftool 2.0.1 (build-260188) - (alterando a definição do XML
para encoding=UTF-8) Linux:
Warning: No manifest file
Opening VMX target: /media/hdexterno/Xen/xen_2_vmware/windows2003/
windows2003.vmx
Error: OVF Package is not supported by target:
- Line 1: Unsupported value 'http://www.microsoft.com/technet/
virtualserver/downloads/vhdspec.mspx' for attribute 'format' on
element 'Disk'.
- Line 1: Unsupported element 'VirtualSystemOtherConfigurationData'
- Line 1: Unsupported element 'VirtualSystemOtherConfigurationData'
- Line 1: Unsupported element 'VirtualSystemOtherConfigurationData'

Obs.:
1) gerei também um ovf atráves da conversão de um XVA -> OVF através
da XenConvert 2.3.1 32 bits. Porém acontecem os mesmos erros.
2) fiz a alteração da codificação do arquivo para UTF-8 devido as
mensagens de erro acusarem de que o conteúdo do arquivo estava em
UTF-8.

Encontrei o Kensho Project da Citrix (http://community.citrix.com/
display/xs/Kensho) para trabalhar com conversões de VM no formato OVF,
porém parece que foi descontinuado. De qualquer forma não encontrei o
software para download.

Também não encontrei o ovftool 1.0 da VMware da download, pelo que vi
na documentação da Xen esta é a versão homologada da VMware para a
importação (Citrix XenServer ® 5.6 Feature Pack 1 Virtual Machine
Installation Guide - página 31). Alguém possui esta ferramenta para
download ou onde encontra-lá ?

Por favor, caso alguém conheça algum outro método para utilizar esta
funcionalidade nos informe.

Obrigado
Fernando Mariano
Reply all
Reply to author
Forward
0 new messages