Uploading OVA or OVF fails in vCloud Director
search cancel

Uploading OVA or OVF fails in vCloud Director

book

Article ID: 330109

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

Symptoms:
  • Uploading an OVA or OVF to a catalog in vCloud Director and deploying an OVA or OVF directly in vCloud Director task fails with an error:

    Validation failed for the OVF file you provided: Illegal size of field


Cause

This is an expected behavior in vCloud Director.

Note: vCloud Director performs separate validation checks to Virtual Center on the fields within the OVF descriptor during upload.If the content of a field does not meet the validation requirements for the size or number of characters in the field then the OVF descriptor is not accepted as valid.

Resolution

To resolve the issue, correct the size or number of characters for the field within the OVF descriptor.

Note:
  1. Open the ovf descriptor file using a text editor.

    Example: my_vapp.ovf

  2. Search for the field which fails the validation check.

    For example
    :

    If the validation has failed for the field fullVersion. In the my_vapp.ovf file search for the field fullversion and reduce the number of characters so that the field fullVersion pass the validation check.

    Note: The maximum size limit is 128 characters and for URL fields the maximum size limit is 2000.

  3. Save the file.
Note:
  • As the OVF is modified, the manifest file is no longer valid. e.g. my_vapp.mf.
  • The manifest file must be removed so that vCloud Director skips the manifest check during upload to catalog.
  • Steps 1 to 3 must be repeated if the field with values does not succeed the validation check.



Additional Information

In the event the file is not in the format for modification, you may wish to Change File or Package Formats.