MP upgrade failed at start_manager step during NSX Manager upgrade to 4.2.4.1
search cancel

MP upgrade failed at start_manager step during NSX Manager upgrade to 4.2.4.1

book

Article ID: 456988

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

NSX upgrade from 4.1.2.3 to 4.2.4.1 fails at the NSX Manager upgrade phase. The first NSX Manager fails with the error:

"Unexpected error while upgrading upgrade unit: [MPP] Node upgrade failed : MP upgrade failed at start_manager step with error : /image/VMware-NSX-unified-appliance-4.2.4.1.0.25554968/scripts/start_manager.py:12: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.version import LooseVersion"

Symptoms:

  • When running get upgrade progress-status from the CLI, the upgrade is shown as failed at the start_manager stage.
  • The error indicates that the Proton service did not start within the allotted time.
  • The NSX Manager shows as upgraded to version 4.2.4.1 in vCenter, but all services are DOWN and do not start even after multiple reboots or manual service enablement attempts.
  • SSH access to the Manager is also unavailable (though ping may still work between Managers).

From NSX Manager CLI /var/log/cbm/tanuki.log shows errors similar to below:

Failed to initialize SSL_CTX....Provider routines::error retrieving entropy

Environment

NSX 4.2.x

Cause

This issue is caused by the RDRAND (Random Number Generator) CPU instruction being masked by the Sandy Bridge EVC mode.

  • Starting with NSX 4.2.0, the NSX Unified Appliance uses OpenSSL 3.0 (upgraded from OpenSSL 1.1).
  • OpenSSL 3.0 has a stricter provider architecture that explicitly requires hardware entropy via the RDRAND instruction during SSL_CTX initialization.
  • When the Manager VM is running on a Sandy Bridge EVC baseline, the rdrand flag is not exposed to the guest OS.
  • This causes failure to initialize SSL contexts, preventing critical services (including Proton, Java-based services, vgauthservice, and other security/authentication components) from starting.

Resolution

Workaround:

  1. In the vSphere UI at the host cluster view, change the EVC mode of the cluster to Haswell (or any newer generation) or higher.

  2. Power off and then power on (full power cycle) all NSX Manager VMs.
  3. Retry the NSX upgrade from the NSX Manager UI or CLI.

 

Additional Information

The RDRAND instruction has been supported since the Ivy Bridge CPU generation; however, when EVC is set to Sandy Bridge mode, this CPU feature is intentionally masked for vMotion compatibility.

  • All CPU architectures after Sandy Bridge support RDRAND. Sandy Bridge CPUs were discontinued in 2013.
  • RDRAND support is now a hard requirement for NSX 4.2.0 and all newer releases.
  • If your cluster contains older hosts that physically cannot support Haswell EVC mode (e.g., genuine Sandy Bridge or Ivy Bridge hosts), you have two options:
    • Migrate the NSX Managers to a cluster that already has a compatible EVC baseline (Haswell or newer).
    • Create a dedicated cluster with newer CPUs for the NSX Managers.
  • Changing the EVC baseline on a cluster does not impact running virtual machines (no vMotion is forced).
  • VM's will only take this EVC configuration change after a power cycle (Power on and power off).

 

Related Articles