OVF deployment is failing in VMware Cloud Director
search cancel

OVF deployment is failing in VMware Cloud Director

book

Article ID: 442440

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • When importing an OVF into VMware Cloud Director, it fails to complete and encounters errors similar to the following:

    [ ########-####-####-####-############ ] Validation failed for the OVF file you provided: Fatal: Line/char 8/228: cvc-complex-type.4: Attribute 'diskId' must appear on element 'Disk'.
    Fatal: Line/char ###/###: cvc-complex-type.4: Attribute 'diskId' belonging to namespace 'http://schemas.dmtf.org/ovf/envelope/1', must appear on element 'Disk'.
    Fatal: Line/char ###/###: cvc-complex-type.4: Attribute 'diskId' must appear on element 'Disk'.
    Fatal: Line/char ###/###: cvc-complex-type.4: Attribute 'diskId' belonging to namespace 'http://schemas.dmtf.org/ovf/envelope/1', must appear on element 'Disk'.
    Fatal: Line/char ###/###: cvc-complex-type.4: Attribute 'name' must appear on element 'Network'.
    Fatal: Line/char ###/###: cvc-complex-type.4: Attribute 'name' belonging to namespace 'http://schemas.dmtf.org/ovf/envelope/1', must appear on element 'Network'.
    Fatal: Line/char ###/###: cvc-complex-type.4: Attribute 'id' must appear on element 'OperatingSystemSection'.
    Fatal: Line/char ###/###: cvc-complex-type.4: Attribute 'id' belonging to namespace 'http://schemas.dmtf.org/ovf/envelope/1', must appear on element 'OperatingSystemSection'.
    Fatal: Line/char ###/###: cvc-complex-type.3.2.2: Attribute 'required' is not allowed to appear in element 'vmw:Config'.
    ...

  • When importing the OVF directly into vSphere, it results in a local vApp with one or more VMs.
  • Once imported into vSphere, the VMs do not appear for import into VMware Cloud Director.

Environment

VMware Cloud Director 10.6.x

Cause

VMware Cloud Director is unable to utilize vCenter vApps.

Resolution

If an OVF that is compatible with VMware Cloud Director (VCD) cannot be provided, import the vApp directly into vSphere and move the VMs out of the vCenter vApp into the preferred inventory location so that they can be imported directly into VCD.

Please note: Additional configuration may be required in the VCD vApp to reproduce attributes of the original vCenter vApp.