OVF Export fails with error "Failed to export OVF package. ThrowableProxy.cause A general system error occurred: The transfer of disks and content failed for the operation"
search cancel

OVF Export fails with error "Failed to export OVF package. ThrowableProxy.cause A general system error occurred: The transfer of disks and content failed for the operation"

book

Article ID: 408765

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

OVF Export fails with error "Failed to export OVF package. ThrowableProxy.cause A general system error occurred: The transfer of disks and content failed for the operation". 

While only the large VMs that prolongs the data transfer over several minutes encounter failure after a particular time of transfer while small VMs are exported successfully.

vCenter: /var/log/vmware/content-library/cls.log

YYYY-MM-DDTHH:MM:SS | DEBUG    | <Thread-id: #####....####> | tomcat-http-32            | ApplianceProxySettings         | Using proxy <PROXY_HOST> for protocol https

YYYY-MM-DDTHH:MM:SS | ERROR    | <Thread-id: #####....####> | transferService-pool-7-thread-82 | TransferEndpointImpl           | Session <Session-id: #####....####>, Item <VM_Name>-1.vmdk, Endpoint https://<ESXi_Hostname>/nfc/<NFC_Ticket Id:####....#####>/disk-0.vmdk: IO error during transfer of https://<ESXi_Hostname>/nfc/<NFC_Ticket Id:####....#####>/disk-0.vmdk: null
java.io.EOFException: null
        at org.bouncycastle.tls.RecordStream$Record.readFragment(Unknown Source) ~[bctls-fips-1.0.10.jar:1.0.10]
        at org.bouncycastle.tls.RecordStream.readRecord(Unknown Source) ~[bctls-fips-1.0.10.jar:1.0.10]


YYYY-MM-DDTHH:MM:SS | INFO     | <Thread-id: #####....####> | transferService-pool-7-thread-82 | TransferEndpointImpl           | Session <Session-id: #####....####>: Transfer failed! item: <VM_Name>-1.vmdk; bytes transferred: 31388008058; total bytes: ?; error: IO error during transfer of https://<ESXi_Hostname>/nfc/<NFC_Ticket Id:####....#####>/disk-0.vmdk: null

YYYY-MM-DDTHH:MM:SS | ERROR    | <sub-Thread-id: #####....####>  | vdcs-vapi-config--executor-39791 | ExportSessionActivity          | OVF export session <OVF Export Session ID: ####.....#####> failed with server error.
com.vmware.vapi.std.errors.ServiceUnavailable: ServiceUnavailable (com.vmware.vapi.std.errors.service_unavailable) => {
    messages = [LocalizableMessage (com.vmware.vapi.std.localizable_message) => {
    id = com.vmware.ovfs.ovfs-main.ovfs.transfer_in_error_state,
    defaultMessage = The transfer of disks and content failed for the operation.,
    args = [],
    params = <null>,
    localized = <null>
}],
    data = <null>,
    errorType = SERVICE_UNAVAILABLE
}
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_402]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_402]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_402]


YYYY-MM-DDTHH:MM:SS | ERROR    | <sub-Thread-id: #####....####> | vdcs-vapi-config--executor-39791 | ExportSessionActivity          | OVF export session <OVF Export Session ID: ####.....#####> terminated abnormally.
com.vmware.vim.binding.vim.fault.OvfExportFailed: null
        at com.vmware.ovfs.util.OvfFaultUtil.createExportFaultFromApiError(OvfFaultUtil.java:100) ~[ovfs-main-1.0.0.jar:?]


YYYY-MM-DDTHH:MM:SS | DEBUG    | <Thread-id: #####....####> | transferService-pool-7-thread-81 | TransferItemImpl               | Session <Session-id: #####....####>: Transfer item <Session-id: #####....####>/ <VM_Name>-2.vmdk has been released, aborting transfer
YYYY-MM-DDTHH:MM:SS | ERROR    | <Thread-id: #####....####> | transferService-pool-7-thread-81 | TransferItemImpl               | Session <Session-id: #####....####>, Item  <VM_Name>-2.vmdk: Exception during transfer: Transfer session has been released
java.io.IOException: Transfer session has been released


YYYY-MM-DDTHH:MM:SS | INFO     | <Thread-id: #####....####> | transferService-pool-7-thread-81 | HttpServerEndpointImpl         | Session <Session-id: #####....####>: Done sending /cls/data/<Session-id: #####....####>/ <VM_Name>-2.vmdk, 28375679538 bytes sent
YYYY-MM-DDTHH:MM:SS| INFO     | <Thread-id: #####....####> | transferService-pool-7-thread-81 | TransferEndpointImpl           | Session <Session-id: #####....####>, Item  <VM_Name>-2.vmdk: Transfer done for endpoint HttpServerEndpointImpl, size = 28375679538
YYYY-MM-DDTHH:MM:SS | INFO     | <Thread-id: #####....####> | transferService-pool-7-thread-81 | TransferEndpointImpl           | Session <Session-id: #####....####>: Transfer failed! item:  <VM_Name>-2.vmdk; bytes transferred: 28375679538; total bytes: ?; error: Transfer cancelled
YYYY-MM-DDTHH:MM:SS | DEBUG    | <Thread-id: #####....####> | transferService-pool-7-thread-81 | TransferItemImpl               | Session <Session-id: #####....####>, Item  <VM_Name>-2.vmdk: Transfer summary: rate=18.72 MB/s, size=28375679538, time=1515401 ms, status=ERROR, type=DISK, source=https://<ESXi_Hostname>/nfc/<NFC_Ticket Id:####....#####>/disk-1.vmdk, target=http:/

 

 

The Transfer summary indicates that there has been an active data transfer that occurred before the connection was aborted. This rule out any port blocks related to firewall.


ESXi: /var/run/log/vpxa.log  (Correlate with NFC - Ticket ID obtained from above logs)

YYYY-MM-DDTHH:MM:SS warning vpxa[2101815] [Originator@6876 sub=IO.Connection opID=<0x_Operation_ID>] Failed to write buffer to stream; <io_obj p:0x0000004611e89328, h:25, <TCP '127.0.0.1 : 12000'>, <TCP '0.0.0.0 : 0'>> e: 32(Broken pipe), async: false, duration: 5122msec
YYYY-MM-DDTHH:MM:SS  error vpxa[2101815] [Originator@6876 sub=HttpNfcServer.HTTPService opID=<0x_Operation_ID>] Failed to write to response stream; <io_obj p:0x0000004611e89328, h:25, <TCP '127.0.0.1 : 12000'>, <TCP '0.0.0.0 : 0'>>, N7Vmacore15SystemExceptionE(Broken pipe: The communication pipe/socket is explicitly closed by the remote service.)
--> [context]...................[/context]
YYYY-MM-DDTHH:MM:SS error vpxa[2101815] [Originator@6876 sub=HttpNfcServer opID=<0x_Operation_ID>] [DiskDownloadWorker] Exception thrown during conversion: N7Vmacore11IOExceptionE(System exception while transmitting HTTP Response:
--> error id = 32
--> )
--> [context]...................[/context]
YYYY-MM-DDTHH:MM:SS error vpxa[2101815] [Originator@6876 sub=HttpNfcTicket opID=<0x_Operation_ID>] [HTTP-NFC-TICKET <NFC_Ticket Id:####....#####>] Trying to update manifest for unknown file /vmfs/volumes/<Volume_ID>/<VM_Name>/<VM_Name>.vmdk
YYYY-MM-DDTHH:MM:SS info vpxa[2101815] [Originator@6876 sub=HttpNfcServer opID=<0x_Operation_ID>] [DiskDownloadWorker] Disk transfer failed.
YYYY-MM-DDTHH:MM:SS info vpxa[2101815] [Originator@6876 sub=IO.Connection opID=<0x_Operation_ID>] Failed to shutdown socket; <io_obj p:0x0000004611e89328, h:25, <TCP '127.0.0.1 : 12000'>, <TCP '0.0.0.0 : 0'>>, e: 104(shutdown: Connection reset by peer)

Environment

vCenter with Proxy configuration

Cause

Proxy server has reset the connection after a certain duration due to large data transfer.  

Resolution

Remove the proxy configuration of the vCenter by following How to configure Proxy Settings for vCenter Server and export the OVF 

Additional Information

The proxy setting may vary across the environments and the connection reset may occur for various criteria. Hence, consult with the proxy admins to understand the data transfer restrictions.