Not able to add hypervisor to RHEV-M, getting error as "ConfigNetworkError: (21, 'Missing required nics for bonding device.')"
Issue
-
Problem adding
hypervisortoRHEV-M, fails with errors as below:In Events on RHEVM GUI:
Host <HOSTNAME> installation failed. Command returned failure code 1 during SSH session 'root@<ip-ddress>'.
Failed to install Host <HOSTNAME>. Failed to execute stage 'Misc configuration': Command '/usr/share/vdsm/addNetwork' failed to execute.
Host <HOSTNAME> installation in progress . Cannot validate host name settings, reason: resolved host does not match any of the local addresses.
# less /var/log/ovirt-engine/engine.log
INFO:root:Adding network rhevm with vlan=None, bonding=bond2, nics=(), bondingOptions=None, mtu=None, bridged=True, options={'delay': '0', 'STP': 'no', 'blockingdhcp': 'true', 'onboot': 'yes', 'PEERDNS': 'no'}
Traceback (most recent call last):
File "/usr/share/vdsm/configNetwork.py", line 641, in <module>
File "/usr/share/vdsm/configNetwork.py", line 610, in main
File "/usr/share/vdsm/configNetwork.py", line 203, in addNetwork
File "/usr/share/vdsm/configNetwork.py", line 83, in objectivizeNetwork
File "/usr/share/vdsm/netmodels.py", line 258, in objectivize
ConfigNetworkError: (21, 'Missing required nics for bonding device.')
Environment
- Red Hat Enterprise Virtualization 3.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
