How to adjust maxIssuesThreshold for SDDC Manager LCM precheck results rendering
search cancel

How to adjust maxIssuesThreshold for SDDC Manager LCM precheck results rendering

book

Article ID: 413530

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer VMware Cloud Foundation

Issue/Introduction

When you prepare for SDDC Manager upgrades, a "Precheck"  can be run to find potential issues (errors or warnings) that might affect the upgrade.

For large VCF environments, this Precheck can generate a huge amount of data in excess of 100 MB.
Attempting to view all these results directly in the SDDC Manager interface (under Workload Domains > Domain > Upgrades > Prechecks > View Details), might take a very long time to load or even freeze completely due to the large amount of information.

The system has a built-in limit (maxIssuesThreshold). It will only display the Precheck results directly in your browser if the number of issues found is below this limit.
If there are too many issues to display directly

Alternatively, the EXPORT FULL REPORT option to view in CSV format and opened in Microsoft Excel or Google Sheets.

Environment

VCF 9.1.x

Cause

Large scale environments may cause slowness in SDDC Manager UI view:
Workload Domains > Domain > Upgrades > Prechecks > View Details

Resolution

  1. SSH into SDDC Manager and change to root.
    su -
  2. Open file /opt/vmware/vcf/sddc-manager-ui-app/server/src/conf/constants.js and change the number for 'maxIssuesThreshold' and save
    vi /opt/vmware/vcf/sddc-manager-ui-app/server/src/conf/constants.js

  3. Restart the NodeJS server 
    systemctl restart sddc-manager-ui-app.service

  4. Reload the browser page "SDDC Manager > UPDATES > Precheck > View Details".

  5. To confirm the chage, open the browsers debug console network tab the newly set maxIssuesThreshold should appear in the response payload:
    GET: ui/api/internal/lcm/upgrades-parameter
    Response:
    {
     ""maxIssuesThreshold"": 500 // <-- updated number