NSX-T upgrade initiated from SDDC Manager fails at pre-check stage due to timeout
search cancel

NSX-T upgrade initiated from SDDC Manager fails at pre-check stage due to timeout

book

Article ID: 318755

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

The NSX-T upgrade fails due to a timeout. The following error message is observed in the lcm-debug.log file, which is located at /var/log/vmware/vcf/lcm/lcm-debug.log:

YYYY-MM-DD HH:MM:SS ERROR [vcf_lcm,06de7cd39b78427c,a309,upgradeId=########-####-####-####-##########,resourceType=NSX_T_PARALLEL_CLUSTER,resourceId=vip-nsxt-wld-<number>.<site-code>.<domain>.local:_ParallelClusterUpgradeElement,bundleElementId=########-####-####-####-##########] [c.v.e.s.l.p.i.n.s.NsxtEdgeClusterParallelUpgradeStageRunner,ThreadPoolTaskExecutor-6] Marking upgrade elements batch as NSXT_UPGRADE_PRECHECK_TIMEDOUT

Environment

VMware Cloud Foundation (VCF) 5.x

Cause

The timeout from LCM occurs because NSX-T requires additional time to complete the precheck process.

Resolution

To resolve this issue, increase the timeout values by following these steps:

  1. Open the application-prod.properties file located at /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties.

  2. Update the properties below to increase the timeout values:

    lcm.nsxt.edge.precheck.timeout=3600000
    lcm.nsxt.host.precheck.timeout=3600000

  3. Restart the LCM service.

  4. Retry the upgrade from the SDDC Manager UI.