VCF deployment fails during “Configure NSX Fabric Compute Manager” task with error “Unable to configure fabric for vCenter
search cancel

VCF deployment fails during “Configure NSX Fabric Compute Manager” task with error “Unable to configure fabric for vCenter

book

Article ID: 433219

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

  • During deployment, the task “Configure NSX Fabric Compute Manager” fails with the error:  "Unable to configure fabric for vcenter.domain.local on nsxmgr.domain.local".
  • Reviewing logs on the VCF Installer / SDDC Manager at:

    /var/log/vmware/vcf/domainmanager/domainmanager.log

     Shows the following error:
    SDDC Initialize Task "Configure NSX Fabric Compute Manager" failed with error "Unable to configure fabric for vcsa.domain.local on nsxmgr.domain.local."

    Further log entries show:

    YYYY-MM-DDT+0000 ERROR [vcf_dm, 69b39ba308efd5e8b59242bdcxxxx, 3d2a]
    [c.v.v.c.n.s.c.ComplexHelpers, dm-exec-3] Exception occurred during NSX API invocation

    java.util.concurrent.ExecutionException: com.vmware.vapi.std.errors.NotFound:
    NotFound (com.vmware.vapi.std.errors.not_found) (statusCode: 404) => {
        messages = [],
        data = => (
            error_message=The requested object: ccaddb64-c25b-4e1c-9246-ee09c8xxxx could not be found.
            Object identifiers are case sensitive.,
            httpStatus=NOT_FOUND,
            error_code=600,
            module_name=common-services
        ),
        errorType = NOT_FOUND
    }

     

  • In the NSX Manager UI

    Fabric → Compute Managers

      • Connection Status: Down

      • Registration Status: Unregistered
    • Attempting to reconfigure the compute manager results in the following error:

      Error: For the compute manager vcenter.domain.local with id
      77203887-1a32-4712-8c7a-fa0206axxxx, either the FQDN/IP address or
      credentials are invalid. (Error code: 7055)

    • Reviewing logs on the NSX Manager:

       /var/log/cm-inventory/cm-inventory.log:

      Shows:

      registration error {
        error_message {
          value: "DNS configuration for FQDN: vcenter.domain.local is incorrect.
          Please fix DNS configuration and retry Resolve workflow."
        }
      }

  • Running nslookup from the NSX Manager for the vCenter FQDN returns:

    nslookup vcenterxx.domain.local
    Reply from 127.0.0.1: connection refused
     

Environment

NSX 9

VMware vCenter server 9

Cause

This issue occurs when the DNS configuration on the NSX Manager node is incorrect.

The file /etc/resolv.conf references the loopback address (127.0.0.1) as the DNS server. Because of this, DNS queries from the NSX Manager fail, preventing resolution of the vCenter FQDN during compute manager registration.

Resolution

Workaround

  1. Log in to each NSX Manager node using SSH.

  2. Edit the /etc/hosts file

  1. Comment out the loopback DNS entry:

    #127.0.0.1 localhost

 
  1. Save the file.

  2. Verify DNS resolution:

 
nslookup vcenter.domain.local
 
  1. Retry the Configure NSX Fabric Compute Manager task.

After commenting out the 127.0.0.1 entry in /etc/hosts on all NSX Manager nodes, the deployment process proceeds successfully.