Table of Contents
< All Topics
Print

[VDI] Uploading ISO image prompts that the size exceeds 10G, and upload is not allowed

Issue Description

Uploading an ISO image fails with a prompt indicating that the size exceeds 10GB, and the upload is not allowed.

Error/Warning Information

file
file

Handling Process

  1. Modify the code in /usr/share/perl5/VTP/VAPI/Restore.pm on each host. Update the value marked in the red box (as shown below) to 15GB. Avoid setting it too high.
    file
  2. After completing the modifications, restart the following services on all hosts (This will not affect virtual machine business).
    vs_cluster_cmd.sh e &quot;/sf/etc/init.d/vtpdaemon restart&quot;
    vs_cluster_cmd.sh e &quot;apache2ctl restart&quot;

Root Cause

Code level has limitations

Solution

Modify the backend code to increase the upload size limit.