Not able to add hypervisor to RHEV-M, getting error as "ConfigNetworkError: (21, 'Missing required nics for bonding device.')"

Solution Verified - Updated -

Issue

  • Problem adding hypervisor to RHEV-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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content