- This is a known issue affecting the mentioned versions, this will be fixed in future release. Please see the below section to workaround this issue.
Workaround:
- Take a snapshot of SDDC manager Controller VM.
- Download the extract vxrail-scale-fixitup-v2.2.py script attached to the KB.
- Use a file transfer utility to upload the vxrail-scale-fixitup-v2.2.py script to the /tmp/ directory on the SDDC Manager Controller VM.
- SSH to the SDDC Manager Controller VM as the vcf user.
- Issue the following command to switch to the root user account:
# su
- Run the following command to check the health state of nginx.
# nginx -t
Example:
root@sddc-manager [ ~ ]# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Note: Do not run the vxrail-scale-fixitup-v2.2.py script if nginx.conf is not in a healthy state.
- Run the following command to confirm the sddc-manager-ui-app service is up.
# curl localhost/sddc-manager-ui-app/about | json_pp
Example:
root@sddc-manager [ ~ ]# curl localhost/sddc-manager-ui-app/about | json_pp
{
"author" : "VMware",
"version" : "3.8.0-RELEASE-14212073",
"dbSchemaVersion" : 1,
"builtBy" : "mts",
"createdBy" : "Apache Maven 3.5.0",
"buildDate" : "2019-07-22T03:13:24Z",
"id" : "c091bdb5-6558-40e6-9011-2794e9fc61de",
"name" : "SDDC-MANAGER-UI-APP"
- Navigate to path /tmp/ directory.
- Run the following command to execute the script to increase the nginx and SDDC_MANAGER_UI time out.
# python vxrail-scale-fixitup-v2.2.py
Note: The script will backup the following files at their original locations before modifying them:
- /opt/vmware/vcf/sddc-manager-ui-app/server/src/servers/sddcManagerServer/www.js file.
- /etc/nginx/nginx.conf file.
- Re-run the commands in steps 6 and 7 to verify the status of nginx and sddc-manager-ui-app after running the vxrail-scale-fixitup-v2.2.py script.
Note:
- If nginx and sddc-manager-ui-app are not in healthy state after running the script and and the SDDC Manager UI is not loading, please restore the www.js and the nginx.conf files from their backups or revert the SDDC Manager to the snapshot that was taken before running the script.
- The vxrail-scale-fixitup-v2.2.py script should only be run once on a system, running it twice without restoring www.js and nginx.conf files from their backup files or reverting the snapshot will cause nginx service to not startup.
- The VCF upgrade to any version prior to VCF 3.9.1 will overwrite the www.js and nginx.conf files and revert the Time-out value back to default. So the vxrail-scale-fixitup-v2.2.py script will need to be re-run again after upgrading to any VCF version prior to 3.9.1.