OVA export from VMware Cloud Director fails to initiate download after long preparation time for large Virtual Machines
search cancel

OVA export from VMware Cloud Director fails to initiate download after long preparation time for large Virtual Machines

book

Article ID: 435090

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

When downloading a large Virtual Machine or vApp (e.g., > 1 TB) as an OVA in VMware Cloud Director (VCD), the following symptoms may occur:

  • The VCD task "Enabling download of Virtual Application" completes with a "Succeeded" status.
  • No download prompt appears in the web browser, and no file is saved to the client machine.

Environment

VMware Cloud Director 10.x

Cause

This issue is caused by the expiration of the user's web session during the OVF staging phase.

  1. VCD first transfers the VM data from vCenter to the VCD Transfer Storage (NFS).
    For large VMs, this can take several hours.

  2. During this time, the web browser session may reach its Idle session timeout or Maximum session timeout.

  3. Once the staging is complete, VCD attempts to trigger the browser download.
    However, because the session has already expired, the browser cannot authenticate the download request, and the process fails silently.

Resolution

To resolve this issue, use one of the following methods:

  1. Adjust Idle Session Timeout
    Increase the Web Console "Idle Session Timeout" to a value that covers the time required for the "Enabling download" task plus an additional 1 to 2 hours of buffer.
    This ensures the session remains active until the preparation phase is complete, allowing the automatic download to trigger successfully.

  2. Adjust Transfer Session Timeout
    Extend the "Transfer Session Timeout" to increase the grace period for keeping the staged OVA files on the Transfer Storage.
    This allows users more time to manually re-initiate the download if the browser session has already expired.

    Note: Extending this value for large files may lead to high disk space consumption on the Transfer Storage.

  3. Manual Session Maintenance
    Periodically interact with the web browser (e.g., clicking within the UI) during the preparation phase to prevent the idle session timeout from triggering.
    While effective, this may be impractical for tasks that require a long duration.

  4. Re-download after Preparation Completion
    If the "Enabling download" task is "Successful" but no download started, the OVA file is already staged on the Transfer Storage.
    If you re-run the OVA "Download" within the transfer session timeout period (default: 1 hour), the download will start immediately without repeating the lengthy preparation phase.

Additional Information

Refer to the following document for instructions on how to change the timeout value.


How long do OVA download links last in Cloud Director?

VMware Cloud Director からの OVA エクスポートで、大規模仮想マシンの準備に長時間かかった後、ダウンロードが開始されない