[Users] hosted engine setup (network)
René Koch
rkoch at linuxland.at
Mon Mar 3 11:48:43 UTC 2014
Hi,
During hosted engine setup I faced issues with network configuration on
my CentOS 6.5 hosts:
My network setup was the following which doesn't work with hosted engine
setup:
- eth0.200 (VLAN tag 200) should become ovirtmgmt interface
- GATEWAY is in /etc/sysconfig/network and not in ifcfg-eth0.200
The following errors occured:
014-02-25 15:42:31 INFO
otopi.plugins.ovirt_hosted_engine_setup.network.bridge bridge._misc:189
Configuring the management bridge
2014-02-25 15:42:31 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.network.bridge bridge._misc:198
getVdsCaps for eth0: {'addr': '', 'cfg': {'DEVICE': 'eth0', 'PEERDNS':
'no', 'NM_CONTROLLED': 'no', 'BOOTPROTO': 'none', 'HWADDR': '00:25:9
0:75:87:C2', 'ONBOOT': 'yes'}, 'ipv6addrs':
['fe80::225:90ff:fe75:87c2/64'], 'mtu': '1500', 'netmask': '', 'hwaddr':
'00:25:90:75:87:c2', 'speed': 1000}
2014-02-25 15:42:31 DEBUG otopi.context context._executeMethod:152
method exception
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/otopi/context.py", line 142,
in _executeMethod
method['method']()
File
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/network/bridge.py",
line 231, in _misc
'gateway=%s' % caps['cfg']['GATEWAY'],
KeyError: 'GATEWAY'
This can be solved by setting GATEWAY in ifcfg-eth* file instead of
/etc/sysconfig/network
Next, VLAN tagged interfaces don't work:
2014-02-25 15:35:20 INFO
otopi.plugins.ovirt_hosted_engine_setup.network.bridge bridge._misc:189
Configuring the management bridge
2014-02-25 15:35:20 DEBUG otopi.context context._executeMethod:152
method exception
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/otopi/context.py", line 142,
in _executeMethod
method['method']()
File
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/network/bridge.py",
line 194, in _misc
].s.getVdsCapabilities()['info']['nics'][nics]
KeyError: 'eth0.200'
So I had to do the following:
- Set switch port to untagged for this VLAN
- Configure eth0 instead of eth0.200
- Run hosted engine setup
- Configure VLAN for ovirtmgmt in oVirt (which surprisingly worked for
an active interface)
- Configure VLAN tagging on hosts
- Reconfigure switch ports
- Sync networks in oVirt network setup tab
As this was a real pain to do I would love to see support for VLAN
tagging in hosted engine setup :)
Shall I open bug reports for these 2 issues or are they already known?
--
Best Regards
René Koch
Senior Solution Architect
============================================
LIS-Linuxland GmbH
Brünner Straße 163, A-1210 Vienna
Phone: +43 1 236 91 60
Mobile: +43 660 / 512 21 31
E-Mail: rkoch at linuxland.at
============================================
More information about the Users
mailing list