Rate This Document
Findability
Accuracy
Completeness
Readability

Failed to Create Images on the Horizon WebUI

Symptom

The following error message is displayed when images are created on the Horizon WebUI:

Key Process and Cause Analysis

The size of the image file is too large. As a result, the file fails to be uploaded.

Conclusion and Solution

  1. Modify the configuration file /etc/httpd/conf.d/openstack-dashboard.conf.
    1. Open the file.
      vi /etc/httpd/conf.d/openstack-dashboard.conf
    2. Press i to enter the insert mode and add the following content:
      LimitRequestBody 10737418240

      This configuration sets the maximum size of a file to be uploaded to 10 GB (10737418240 indicates the size in bytes). Adjust the value based on actual requirements.

    3. Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
    4. Restart the httpd service.
      systemctl restart httpd.service