Changes to the cost values for ESXi hardware or additional cost drivers in the UI fail to save.
The UI displays error: "Save failed" or "Server is busy. Please try again later."
Browser developer tools show: "Request failed with status code 400."
There was another error in the bottom of edit dialog box: "error while saving server details."
VMware Aria Operations 8.17.x, 8.18.x
VCF Operations 9.0.x
The Apache Struts framework has a default limit on the data payload size sent from the UI to the server. When cost driver configurations are large (e.g., many server groups), the payload exceeds the maxStringLength of 16KB, causing the server to reject the request.
Workaround:
root./usr/lib/vmware-vcops/tomcat-web-app/webapps/ui/WEB-INF/classes/struts.xmlstruts.multipart.maxStringLength.16384 to 131072.systemctl restart vmware-vcops-web