Unable to deploy OVF from ESXi 6.x Host UI Client
search cancel

Unable to deploy OVF from ESXi 6.x Host UI Client

book

Article ID: 338043

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
  • Unable to deploy OVF from ESXi 6.x Host UI Client, you see an error similar to:
Failed to deploy VM: postNFCData failed Capacity of uploaded disk is larger than requested
  • In the hostd.log file, you see entries similar to:
2017-10-27T14:28:15.391Z verbose hostd[13B03B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/58b11e45-6c2a6c82-02f5-005056014397/Test_ovf-d/Test_ovf-d.vmx opID=79c62d69 user=root] CreateDisk: Specified disk size is 41943040 KB
2017-10-27T14:28:15.393Z info hostd[13B03B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/58b11e45-6c2a6c82-02f5-005056014397/Test_ovf-d/Test_ovf-d.vmx opID=79c62d69 user=root] Storage policy for disk '/vmfs/volumes/58b11e45-6c2a6c82-02f5-005056014397/Test_ovf-d/Test_ovf-d_1.vmdk' not specified.

2017-10-27T14:28:15.498Z verbose hostd[13B03B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/58b11e45-6c2a6c82-02f5-005056014397/Test_ovf-d/Test_ovf-d.vmx opID=79c62d69 user=root] ValidateAddDisk: Disk size is 62914560
2017-10-27T14:28:15.499Z verbose hostd[13B03B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/58b11e45-6c2a6c82-02f5-005056014397/Test_ovf-d/Test_ovf-d.vmx opID=79c62d69 user=root] ValidateAddDisk: Disk size is 41943040

2017-10-27T14:28:15.636Z warning hostd[13B03B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/58b11e45-6c2a6c82-02f5-005056014397/Test_ovf-d/Test_ovf-d.vmx opID=79c62d69 user=root] File - failed to get objectId, '/vmfs/volumes/58b11e45-6c2a6c82-02f5-005056014397/Test_ovf-d/Test_ovf-d-flat.vmdk': Success.
2017-10-27T14:28:15.638Z warning hostd[13B03B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/58b11e45-6c2a6c82-02f5-005056014397/Test_ovf-d/Test_ovf-d.vmx opID=79c62d69 user=root] File - failed to get objectId, '/vmfs/volumes/58b11e45-6c2a6c82-02f5-005056014397/Test_ovf-d/Test_ovf-d_1-flat.vmdk': Success.

2017-10-27T14:28:16.519Z info hostd[13540B70] [Originator@6876 sub=Httpnfcsvc] [HttpNfcServer] File: /ha-nfc/52e5406a-f29d-d945-e0b2-7649d00728bb/disk-0.vmdk
2017-10-27T14:28:16.519Z info hostd[135FEB70] [Originator@6876 sub=Httpnfcsvc] [HttpNfcServer] File: /ha-nfc/52e5406a-f29d-d945-e0b2-7649d00728bb/disk-1.vmdk

2017-10-27T14:28:16.525Z verbose hostd[135FEB70] [Originator@6876 sub=Default] [HaHttpNfcLeaseManagerImpl] requestPath = /ha-nfc/52e5406a-f29d-d945-e0b2-7649d00728bb/disk-1.vmdk
2017-10-27T14:28:16.525Z verbose hostd[135FEB70] [Originator@6876 sub=Default] [HaHttpNfcLeaseManagerImpl]: localPath = /vmfs/volumes/58b11e45-6c2a6c82-02f5-005056014397/Test_ovf-d/Test_ovf-d_1.vmdk
2017-10-27T14:28:16.525Z info hostd[135FEB70] [Originator@6876 sub=Httpnfcsvc] [DiskUploadWorker] POST request /ha-nfc/52e5406a-f29d-d945-e0b2-7649d00728bb/disk-1.vmdk

2017-10-27T14:28:16.526Z verbose hostd[13B85B70] [Originator@6876 sub=Default] [HaHttpNfcLeaseManagerImpl] requestPath = /ha-nfc/52e5406a-f29d-d945-e0b2-7649d00728bb/disk-0.vmdk

2017-10-27T14:28:16.526Z verbose hostd[13B85B70] [Originator@6876 sub=Default] [HaHttpNfcLeaseManagerImpl]: localPath = /vmfs/volumes/58b11e45-6c2a6c82-02f5-005056014397/Test_ovf-d/Test_ovf-d.vmdk

2017-10-27T14:28:16.526Z info hostd[13B85B70] [Originator@6876 sub=Httpnfcsvc] [DiskUploadWorker] POST request /ha-nfc/52e5406a-f29d-d945-e0b2-7649d00728bb/disk-0.vmdk
2017-10-27T14:28:16.540Z info hostd[135FEB70] [Originator@6876 sub=Httpnfcsvc] [DiskUploadWorker] Capacity mismatch: Existing disk: 83886080, incoming disk: 125829120

 
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.


Environment

VMware vSphere ESXi 6.0
VMware vSphere ESXi 6.5

Cause

This issue occurs due to disk ordering when there are multiple disks. The order of the URLs does not match the order of the disk images.

Resolution

Currently, there is no resolution.

This is a known issue affecting ESXi 6.5.

Workaround:
To work around this issue, deploy a VM through vCenter i.e use WebClient or HTML5 client. If vCenter is not available use OVF Tool to deploy directly to ESXi.

Additional Information

Test environments use Fling tool Version 1.24.0 build 7119706 (Fling 19) - November 13, 2017.

For more information, see ESXi Embedded Host Client.