NSX Upgrade failing with error NSX Upgrade Coordinator - error_message: Cannot invoke "java.lang.Long.longValue()" because "this.nsxtUpgradeUtil.sleepTimeInMillisForUcUpgraded" is null, httpsStatus: .,error_code: 0"
search cancel

NSX Upgrade failing with error NSX Upgrade Coordinator - error_message: Cannot invoke "java.lang.Long.longValue()" because "this.nsxtUpgradeUtil.sleepTimeInMillisForUcUpgraded" is null, httpsStatus: .,error_code: 0"

book

Article ID: 454119

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer VMware NSX

Issue/Introduction

  • Attempting to upgrade NSX Manager fails with error "NSX Upgrade Coordinator - error_message: Cannot invoke "java.lang.Long.longValue()" because "this.nsxtUpgradeUtil.sleepTimeInMillisForUcUpgraded" is null, httpsStatus: .,error_code: 0"
  • Additionally might see the following error : "NSX Upgrade Coordinator - Failed to enable NSX Compute Manager bi-directional trust.

Environment

VMware Cloud Foundation 9.1x

VMware NSX 9.1.x 

Resolution

  1. SSH into SDDC Manager with the vcf user and su to root. 
  2. Take a look at the application-prod.properties file with the following command: 
    cat /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties
  3. If there are any entries with lcm.nsxt that are added to resolve issues with the Upgrade Coordinator timeout remove these and/or restore the application-prod.properties file to the original file (if there are backups). 
  4. Reboot SDDC Manager. 
  5. Retry the NSX Upgrade.