Why hosted-engine setup is failing with error "Please make sure that the hostname got from the interface for the management network resolves only there."?
Issue
-
Installation via Cockpit fails for Self Hosted Engine fails with error below
-
The hosted-engine setup is failing with error below in the ovirt-hosted-engine-setup logs
2017-03-03 00:22:18 DEBUG otopi.plugins.gr_he_common.network.bridge bridge._get_hostname_from_bridge_if:290 Network info: {'netmask': u'255.255.255.0', 'ipaddr': u'192.168.1.10', 'gateway': u'192.168.1.1'}
2017-03-03 00:22:18 DEBUG otopi.plugins.gr_he_common.network.bridge bridge._get_hostname_from_bridge_if:326 hostname: 'host1.redhat.com', aliaslist: '[]', ipaddrlist: '['192.168.1.10', '10.100.224.11']'
2017-03-03 00:22:18 DEBUG otopi.context context._executeMethod:142 method exception
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in _executeMethod
method['method']()
File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-common/network/bridge.py", line 343, in _get_hostname_from_bridge_if
o=other_ip,
RuntimeError: hostname 'host1.redhat.com' doesn't uniquely match the interface 'enp2s0f0' selected for the management bridge; it matches also interface with IP set(['10.100.224.11']). Please make sure that the hostname got from the interface for the management network resolves only there.
2017-03-03 00:22:18 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Setup validation': hostname 'host1.redhat.com' doesn't uniquely match the interface 'enp2s0f0' selected for the management bridge; it matches also interface with IP set(['10.100.224.11']). Please make sure that the hostname got from the interface for the management network resolves only there.
Environment
- Red Hat Virtualization 4.0
- Self Hosted Engine
- Red Hat Enterprise Virtualization host
- Cockpit Installation
- Multiple NIC's
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.