Domainmanager tasks fail in SDDC Manager for VCF 5.x with Federated NSX.
search cancel

Domainmanager tasks fail in SDDC Manager for VCF 5.x with Federated NSX.

book

Article ID: 327201

calendar_today

Updated On:

Products

VMware Cloud Foundation VMware Cloud Foundation 5.x

Issue/Introduction

  • Domainmanager tasks include:

    • Adding ESXi hosts to existing clusters.
    • Creating/Deleting a cluster
    • Creating/Deleting a WLD domain.

  • Error seen in the SDDC Manager UI under the cluster object.
    Failed to get network info. Http failure response for https://sddc-manager.example.com/ui/api/v1/clusters/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx4435/network/queries/yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyya40e: 500 Internal Server Error

     

  • Error seen in the /var/log/vmware/vcf/domainmanager/domainmanager.log
    INFO [vcf_dm,e26f6ee5ff524f82,3fd5] [c.v.v.c.n.s.c.c.NsxtManagerTransportNodeOperationsPolicyHandler,dm-exec-6] nsx-policy-transportnode: Getting the transport node by name hostname.example.com using the policy API.
    ERROR [vcf_dm,e26f6ee5ff524f82,3fd5] [c.v.e.s.c.s.ClusterNetworkConfigFetcher,dm-exec-6] Unable to get healthy transport node for healthy host hostname.example.com


Environment

VMware Cloud Foundation 5.1

Cause

SDDC Manager is using the wrong API library to communicate with Federated NSX Managers. 

Resolution

Issue is fixed in VCF 5.2


As a workaround, policy APIs (introduced in 5.1) can be turned off, and add host(s) operation be performed.

  • Please ensure to turn on the APIs back once add host(s) operation is done.

 

Steps to apply the workaround:

  1. Turn OFF policy APIs on VCF 5.1 environment
    1. Take snapshot of SDDC Manager
    2. SSH to sddc manager with vcf user and then elevate to root user with su
    3. Edit the file /etc/vmware/vcf/domainmanager/application-prod.properties
      vi /etc/vmware/vcf/domainmanager/application-prod.properties
    4. Add the below entry
      nsxt.base.version.policy=4.2.0.0.0-0
    5. Save the file
      Esc > :wq!
    6. Restart domainmanager
      systemctl restart domainmanager
       
    7. Verify that domainmanager is active
      systemctl status domainmanager -l
  2. Perform add host(s) operation on SDDC Manager (UI / API)
  3. Turn ON policy APIs on VCF 5.1 environment:
    1. SSH to sddc manager with vcf user and then elevate to root user with su
    2. Edit the file /etc/vmware/vcf/domainmanager/application-prod.properties
      vi /etc/vmware/vcf/domainmanager/application-prod.properties
    3. Remove the below entry
      nsxt.base.version.policy=4.2.0.0.0-0
    4. Save the file
      Esc > :wq!
    5. Restart domain manager
      systemctl restart domainmanager
    6. Verify that domainmanager is active
      systemctl status domainmanager -l