Pre Check Error: Cannot connect to NSX Manager while upgrading to VCF 9.1.1
search cancel

Pre Check Error: Cannot connect to NSX Manager while upgrading to VCF 9.1.1

book

Article ID: 463894

calendar_today

Updated On:

Products

VMware Cloud Foundation VMware NSX

Issue/Introduction

  • While upgrading NSX to 9.1.1 through VCF Operations, the pre-check shows error :

    Pre Check Failed, Cannot connect to <NSX Manager FQDN>

  • This error can be seen on the VCF Operations node at Build > Life Cycle:

 

Environment

  • VCF 9.0.2
  • NSX 9.0.2

Resolution

  1. Ensure that there are no connectivity issues to the NSX Managers, including port connectivity.
  2. If there are no connectivity issue, perform the below steps at the NSX Managers:
    1. Reset the admin account lockout counter by running the following command on NSX Manager:
      /usr/sbin/faillock --user admin --reset

    2. Switch to the admin user context:
      su admin
    3. Temporarily disable the API lockout and lockout reset policies by setting their values to zero:
      set auth-policy api lockout-period 0
      set auth-policy api lockout-reset-period 0
    4. Set the password expiration for all system accounts to a valid integer (e.g., 90 days) instead of never expire:
      set user admin password-expiration 90
      set user root password-expiration 90
      set user audit password-expiration 90
      Note: Set the expiration period between 1 and 9999 days. 
    5. Return to VCF Operations node.
    6. Re-run the Workload Domain NSX upgrade pre-check. The Pre-check validation should now complete successfully.
    7. Return to the NSX Manager SSH session (as the admin user) and restore the original security policies:
      set auth-policy api lockout-period 900
      set auth-policy api lockout-reset-period 900