Image upload fails while upgrading to 22.1.3 container based deployments
search cancel

Image upload fails while upgrading to 22.1.3 container based deployments

book

Article ID: 321667

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:

Image upload will fail for container based controller deployments while upgrading to 22.1.3 from 20.1.1, 20.1.2, 20.1.3, 20.1.4, 20.1.5, 20.1.6, 20.1.7, 21.1.1, 21.1.2, 21.1.3, 21.1.4.

Environment

VMware NSX Advanced Load Balancer 20.1.x

Cause

The image upload fails due to increase in the upgrade image for container based deployments.

Resolution

Please follow the workaround as mentioned in below section, to get around this issue.


Workaround:
Workaround 1: Execute the following command under root user.
 
$> sed -i "s/client_max_body_size 5000M;/client_max_body_size 10000M;/g" /etc/nginx/sites-enabled/default && service nginx restart && service maintenanceportal restart

Workaround 2: Manually update client_max_body_size to 10000M for /api/image in /etc/nginx/sites-enabled/default and restart maintenance_portal and Nginx.