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.