"Failed to get management network information." error configuring vCenter HA
book
Article ID: 332712
calendar_today
Updated On:
Products
VMware vCenter Server
Issue/Introduction
Symptoms:
Configuring vCenter HA fails with the error:
Error: Failed to get management network information. verify if management interface (nic0) is configured correctly and is reachable
Running the command /usr/sbin/prepare-vcha on the vCenter Server Appliance fails with the error:
Traceback (most recent call last): File "/usr/sbin/prepare-vcha", line 651, in <module> main() File "/usr/sbin/prepare-vcha", line 632, in main checkIps) File "/usr/sbin/prepare-vcha", line 440, in setupVchaEthCfg selfFailoverIp = getIp.getIpPrfxForIface('eth0') File "/usr/lib/vmware-vcha/scripts/getIp.py", line 64, in getIpPrfxForIface ifaceInfo = ifaces.getIfaceInfo(iface) File "/usr/lib/vmware-vcha/scripts/ifaces.py", line 164, in getIfaceInfo vchaIp, vchaFqdn = iputil.getIpFqdnForEth0(skipResolveOpt) File "/usr/lib/vmware-vcha/scripts/iputil.py", line 200, in getIpFqdnForEth0 raise Exception('Unable to get hostname resolved IP address for eth0')| Exception: Unable to get hostname resolved IP address for eth0
Environment
VMware vCenter Server Appliance 6.5.x
Cause
This issue can occur due to:
A failed reverse lookup after configuring the internal interfaces on the Passive vCenter Server Appliance.
The hostname contains capital letters.
Resolution
To resolve this issue:
Ensure the hostname contains only lower case letters.
Checking for upper case letters in the hostname:
Connect to the vCenter Server Applianc with an SSH session and root credentials.