Increase the size limit for uploading a Glance image

Increase the size limit for uploading a Glance image

The maximum size of a Glance image is limited to 30 GB on the system level of the Reclass model in /nginx/server/proxy/openstack/glance.yml. Due to this limitation, you may receive the 500 Internal Server Error from NGINX once the upload size of a Glance image reaches 30 GB. Also, in such cases, the prx node may fail if the disk size is less than 30 GB.

To increase the upload size limit of a Glance image:

  1. Open your Git project repository with the Reclass model on the cluster level.

  2. In openstack/proxy.yml, add the following parameters under nginx:server:site:

    ...
    nginx_proxy_openstack_api_glance:
      proxy:
        request_buffer: false
        size: 100000m
    
  3. Log in to the Salt Master node.

  4. Apply the following state:

    salt -C 'I@nginx:server' state.sls nginx.server