Problem updating Costs and Calculations under Additional Cost - Server Busy Error
search cancel

Problem updating Costs and Calculations under Additional Cost - Server Busy Error

book

Article ID: 384879

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

When trying to add additional lines to existing "Additional Cost" section of the Cost Driver, UI is not saving the changes and responded with a "Server Busy" error.

Environment

Aria Operations 8.17

Aria Operations 8.18

Cause

On Aria Operations, there is a 16384KB size limitation on Additional Cost parameter predefined.  When too many attributes are being added to Additional Cost, and the size limit is reached, the server will reject any additional cost to be added.

 

Resolution

The following workaround can be performed to adjust the Additional Cost size limitation to 131KB.
Note:  This update will not persist after an upgrade.  The workaround will need to be re-adjusted after an upgrade. 

Perform the following steps on each of the Aria Operations nodes:

  • Log in to each Aria Operations nodes as root via SSH.
  • Execute the following command to replace the value of "struts.multipart.maxStringLength" from 16384 to 131072:
    • cd /usr/lib/vmware-vcops/tomcat-web-app/webapps/ui/WEB-INF/classes/
    • sed -ri '/struts.multipart.maxStringLength/s/[0-9]+/131072/'
  • Save the change and close the file.
  • Perform a restart on the web service by executing the following command:
    • systemctl restart vmware-vcops-web

Once the above changes have been made, the Additional Cost UI will no longer reject the update.