When attempting to upload a vApp template from an OVA file in vCloud Director (vCD) the session fails or times out.
The underlying cause, identified through database-level tracing, is a problem with stale or inaccessible storage profile metadata that blocks necessary configuration steps (like the decompression of the OVA file) required during the upload process.
2025-xx-xx xx:xx:xx,xxx | WARN | task-service-activity-pool-7 | VAppUploadManagerImpl | Transfer session: xxxxx-xxxx-xxxx-xxx-xxxxx. Error during content upload: null | requestId=xxx
xxxxx-xxxx-xxxx-xxx-xxxxx,request=POST https://example.com/api/catalog/xxxxx-xxxx-xxxx-xxx-xxxxx/action/upload,requestTime=xxxxxx,remoteAddress=x.x.x.x:4205
6,userAgent=python-requests/2.31.0,accept=application/*+xml;version 36.0 vcd=xxxxx-xxxx-xxxx-xxx-xxxxx.,task=xxxxx-xxxx-xxxx-xxx-xxxxx. activity=(com.vmware.vcloud.backendbase.management
.system.TaskActivity,urn:uuid:xxxxx-xxxx-xxxx-xxx-xxxxx.)
java.lang.NullPointerException
at com.vmware.vcloud.placement.impl.ranker.MaxMinHubRanker.getFreeCapacityForProfile(MaxMinHubRanker.java:307)
UI shows error like below:
10.x
Extract the OVA/OVF Components.
Upload the OVF and VMDK Separately (Forced Refresh).
Attempt to upload the OVF descriptor (.ovf) and associated VMDK file(s) to the environment directly, bypassing the OVA.
Note: Pushing the OVF + VMDK components forces the system to automatically perform a database-level refresh of the storage profiling access required for virtual disk creation.