When attempting to export a customized vSphere Lifecycle Manager (vLCM) cluster image as an ISO or Offline Bundle (.ZIP) in vCenter 9.0.2, the task fails at a low percentage (e.g., 2%).
The following error is displayed in the vSphere Client: com.vmware.vcIntegrity.lifecycle.softwarespec.ExportError
In /var/log/vmware/vmware-updatemgr/vum-server/vmware-vum-server.log, you see entries similar to:
YYYY-MM-DDT10:51:49.353Z error vmware-vum-server[12544] [Originator@6876 sub=ServiceProvider] [EmbeddedPyServiceProvider 1855] Failed to export depot: --taskid 525579e0-b5d7-0c99-5cef-be2b0b622f97 --threadid 12544 software --export --exportNameHash 52b65790-70d2-ac9f-5b7e-6bf7470663d0 --exportLocation /storage/updatemgr/patch-store-temp --exportFormat OFFLINE_BUNDLE --imageHasManifest {--> "image-0": false--> }YYYY-MM-DDT10:51:49.353Z error vmware-vum-server[12544] [Originator@6876 sub=VumVapi::Lib::Utils] [ExportTask 94] Failed to export cluster image from depot. errorCode: 99
--> reason = "vLCM Task failed, see Error Stack for details."--> msg = "{--> "data": null,--> "error_type": "ERROR",--> "messages": [--> {--> "args": [],--> "default_message": "Error occurred while exporting ESXi image and/or image document.",--> "id": "com.vmware.vcIntegrity.lifecycle.softwarespec.ExportError"--> }--> ]--> }"--> }
VMware vSphere 8.x
VMware vSphere 9.x
This issue occurs when the vCenter Image Service fails to serialize a complex software specification that includes multiple vendor addons or additional components simultaneously. The service encounters a validation or metadata mismatch (errorCode: 99) during the software --export command when these components are bundled in the initial export request.
To resolve this issue, use a two-phase export workflow to isolate the software components:
Note: Ensure that TCP port 9087 is open between the client workstation and the vCenter Server Appliance, as this port is required for vLCM image downloads in vSphere 8.x and 9.x.