"Failed to get network info" and adding hosts is failing on "validate IP address availability for edge overlay"
search cancel

"Failed to get network info" and adding hosts is failing on "validate IP address availability for edge overlay"

book

Article ID: 401634

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

Browsing to a cluster within a workload domain , shows this error: "Failed to get network info".

This error may also be seen at the same time if a host is being added:  "validate IP address availability for edge overlay" 

 

Environment

VMware Cloud Foundation 5.x

 

Cause

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

Unable to get vlan id for portgroup <PORTGROUP NAME>

 

This issue is seen in NSX federated environments.

Resolution

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:

  • Turn OFF policy APIs on VCF 5.1 environment
  • Take snapshot of SDDC Manager
  • SSH to sddc manager with vcf user and then elevate to root user with su
  • Edit the file: vi /etc/vmware/vcf/domainmanager/application-prod.properties
  • Add the below entry
  • nsxt.base.version.policy=4.2.0.0.0-0
  • Save the file Esc > :wq!
  • Restart domainmanager: systemctl restart domainmanager
  • Verify that domainmanager is active: systemctl status domainmanager -l

When the add host operation has been completed. Repeat above steps, except to delete the highlighted line above. This turns on policy API's which are enabled by default in 5.1. The domainmanager service also needs to be restarted to revert the above change.