Rabu, 12 Juni 2024

VMWARE-ova import invalid

 

https://knowledge.broadcom.com/external/article/316993/the-ovf-package-is-invalid-and-cannot-be.html       The OVF package is invalid and cannot be deployed" error when deploying the OVA



book

Article ID: 316993

calendar_today

Updated On: 04-25-2022

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
  • Deploying the OVA via the vSphere Client fails.
  • You see this error:

    The OVF package is invalid and cannot be deployed.
    The following manifest file entry (line 1) is invalid: SHA256 (xxxxxxx.ovf).


Environment

VMware vSphere Integrated Containers 1.x

Cause

This issue occurs because the vSphere Client does not support the SHA256 hashing algorithm, which the latest VIC OVA was made of (from 1.1.1).
 
It also affects any OVA deployments via PowerCLI when using the Get-Ovf Configuration cmdlet.

Resolution

To resolve this issue, deploy vIC via the vSphere Web Client or ESXi Embedded Host Client because both support SHA256.
 
However, if you still want to automate your deployments, you must convert the OVA from the Cryptographic Hash Algorithm SHA256 to SHA1.

To do this, you can use OVFTool which is available on all OS at: https://www.vmware.com/support/developer/ovf/

Note: If your file is an .ovf file, you can use the instructions at Converting an OVF Package to an OVA Archive to convert it to an .ova file first.


To do the conversion, run this command:

ovftool.exe --shaAlgorithm=SHA1 \path\to\the\original\ova_file.ova \path\to\the\new\ova\file-SHA1.ova

You can now use the new ova generated with SHA1 for your future deployments without experiencing any format error.

Check here for resolution if: Cisco OVA Deployment using HTML client does not capture configuration parameters

Tidak ada komentar:

Posting Komentar