"Registered with Error" when adding a new Compute Manager
search cancel

"Registered with Error" when adding a new Compute Manager

book

Article ID: 425254

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • Registering a compute manager to NSX results in "Registered with Error" and the following error is displayed on the UI

Failed to enable trust on Compute Manager due to error Unexpected error IpTablesUpdateException while accessing https:al/.well-known/openid-configuration.. Please check https://<vCenter Name>/openidconnect/vsphere.local/.well-known/openid-configuration is reachable from NSX manager nodes. (Error code: 90011)

  • As admin cli user on NSX Manager, NSX cannot resolve the IP of vCenter

    NSX> nslookup <vCenter Name>
    ;; Got SERVFAIL reply from <>
    Server: <>
    Address: <>
    ** server can't find <vCenter Name>: SERVFAIL

  • As admin cli user on NSX Manager, no DNS server is configured

    NSX> get name-servers
    NSX>

Environment

VMware NSX

Cause

NSX is unable to resolve the hostname of vCenter to an IP address because DNS is not configured on the NSX Managers.

Resolution

Configure a DNS server on each of the NSX Managers via admin cli

set name-server <DNS_IP>
set search-domains <domain>

Confirm the changes

get name-server

get search-domains