The NSX connection can check for all the NSX connections configured in the NSX resource.

Symptoms

Health check reports detect nsx connection issue.

Solution

  • Get the list of NSX.
    osctl get nsx
  • Get the access information to NSX.
    osctl get nsx ${nsx_name} -o=jsonpath="{.spec['hostname', 'username', 'password']}"
  • Decrypt the password.
  • Check NSX connection.
    curl --connect-timeout 10 -k -X GET -u "${nsx_user}:${nsx_pwd}" https://"${nsx_host}"/api/v1/node/version
  • From UI, update the NSX connection.

For more information on LDAP and vCenter connection check, see LDAP Connection Check and vCenter Connection Check.