Hi all,
I'm installing oVirt for the first time and I'm having some issues with the
Networking.
Setup:
OS: CentOS 7 Mininal
3 Bare Metal Servers(1 for Engine, 2 for Nodes).
Network:
Nn Trunk Interfaces with VLANs and Bridges.
e.g.:
trunk.100, VLAN: 100, Bridge: vmbr100. IPV4 only.
I have already a VLAN for MGMNT, without DHCP Server(not needed for oVirt,
but explaining my setup).
Networking works as expected, I can ping/ssh each host without problems.
On the two nodes, I have a Interface named ovirtmgmt and dhcp...
Question 1: What kind of configuration can I use here? Can I set static IPs
from VLAN MGMNT and put everything from oVirt on that VLAN? oVirt doens't
have a Internal DHCP Server for Nodes, or?
Question 2: Should I leave oVirt to Setup it(ovirtmgmt Interface) for me?
Problems:
I configured the Engine with the IP 1.1.1.1, and I reach the web interface
with
https://FQDN( which is IP: 1.1.1.1)
But, when I add a Host to the Cluster, I have some errors:
"Host XXXX does not comply with the cluster Default networks, the following
networks are missing on host: 'ovirtmgmt'"
Question 3: I saw that Engine tries to call dhclient and Setup an IP for
it, but could I have static IPs? Where can I configure it?
* vdsm.log
*2017-07-03 15:15:01,772+0200 INFO (jsonrpc/7) [jsonrpc.JsonRpcServer] RPC
call Host.getCapabilities succeeded in 0.11 seconds
(__init__:533)2017-07-03 15:15:01,808+0200 INFO (jsonrpc/0)
[jsonrpc.JsonRpcServer] RPC call Host.getHardwareInfo succeeded in 0.01
seconds (__init__:533)2017-07-03 15:15:06,870+0200 INFO (periodic/3)
[dispatcher] Run and protect: repoStats(options=None)
(logUtils:51)2017-07-03 15:15:06,871+0200 INFO (periodic/3) [dispatcher]
Run and protect: repoStats, Return response: {} (logUtils:54)2017-07-03
15:15:10,059+0200 INFO (jsonrpc/1) [jsonrpc.JsonRpcServer] RPC call
Host.getAllVmStats succeeded in 0.00 seconds (__init__:533)2017-07-03
15:15:11,643+0200 INFO (jsonrpc/2) [jsonrpc.JsonRpcServer] RPC call
Host.getAllVmStats succeeded in 0.00 seconds (__init__:533)2017-07-03
15:15:12,270+0200 INFO (jsonrpc/3) [dispatcher] Run and protect:
repoStats(options=None) (logUtils:51)2017-07-03 15:15:12,271+0200 INFO
(jsonrpc/3) [dispatcher] Run and protect: repoStats, Return response: {}
(logUtils:54)2017-07-03 15:15:12,277+0200 INFO (jsonrpc/3)
[jsonrpc.JsonRpcServer] RPC call Host.getStats succeeded in 0.00 seconds
(__init__:533)2017-07-03 15:15:21,915+0200 INFO (periodic/3) [dispatcher]
Run and protect: repoStats(options=None) (logUtils:51)2017-07-03
15:15:21,916+0200 INFO (periodic/3) [dispatcher] Run and protect:
repoStats, Return response: {} (logUtils:54)2017-07-03 15:15:25,078+0200
INFO (jsonrpc/4) [jsonrpc.JsonRpcServer] RPC call Host.getAllVmStats
succeeded in 0.00 seconds (__init__:533)2017-07-03 15:15:27,273+0200 INFO
(jsonrpc/5) [jsonrpc.JsonRpcServer] RPC call Host.getAllVmStats succeeded
in 0.00 seconds (__init__:533)2017-07-03 15:15:28,330+0200 INFO
(jsonrpc/6) [dispatcher] Run and protect: repoStats(options=None)
(logUtils:51)2017-07-03 15:15:28,330+0200 INFO (jsonrpc/6) [dispatcher]
Run and protect: repoStats, Return response: {} (logUtils:54)2017-07-03
15:15:28,337+0200 INFO (jsonrpc/6) [jsonrpc.JsonRpcServer] RPC call
Host.getStats succeeded in 0.00 seconds (__init__:533)2017-07-03
15:15:36,960+0200 INFO (periodic/3) [dispatcher] Run and protect:
repoStats(options=None) (logUtils:51)2017-07-03 15:15:36,960+0200 INFO
(periodic/3) [dispatcher] Run and protect: repoStats, Return response: {}
(logUtils:54)2017-07-03 15:15:40,096+0200 INFO (jsonrpc/7)
[jsonrpc.JsonRpcServer] RPC call Host.getAllVmStats succeeded in 0.00
seconds (__init__:533)2017-07-03 15:15:43,280+0200 INFO (jsonrpc/0)
[jsonrpc.JsonRpcServer] RPC call Host.getAllVmStats succeeded in 0.00
seconds (__init__:533)2017-07-03 15:15:44,408+0200 INFO (jsonrpc/1)
[dispatcher] Run and protect: repoStats(options=None)
(logUtils:51)2017-07-03 15:15:44,408+0200 INFO (jsonrpc/1) [dispatcher]
Run and protect: repoStats, Return response: {} (logUtils:54)2017-07-03
15:15:44,415+0200 INFO (jsonrpc/1) [jsonrpc.JsonRpcServer] RPC call
Host.getStats succeeded in 0.01 seconds (__init__:533)2017-07-03
15:15:52,006+0200 INFO (periodic/3) [dispatcher] Run and protect:
repoStats(options=None) (logUtils:51)2017-07-03 15:15:52,006+0200 INFO
(periodic/3) [dispatcher] Run and protect: repoStats, Return response: {}
(logUtils:54)2017-07-03 15:15:55,115+0200 INFO (jsonrpc/2)
[jsonrpc.JsonRpcServer] RPC call Host.getAllVmStats succeeded in 0.00
seconds (__init__:533)2017-07-03 15:15:59,287+0200 INFO (jsonrpc/3)
[jsonrpc.JsonRpcServer] RPC call Host.getAllVmStats succeeded in 0.00
seconds (__init__:533)2017-07-03 15:16:00,465+0200 INFO (jsonrpc/4)
[dispatcher] Run and protect: repoStats(options=None)
(logUtils:51)2017-07-03 15:16:00,465+0200 INFO (jsonrpc/4) [dispatcher]
Run and protect: repoStats, Return response: {} (logUtils:54)*
* supervdsm.log
*MainProcess|jsonrpc/7::DEBUG::2017-07-03
15:15:01,661::supervdsmServer::93::SuperVdsm.ServerCallback::(wrapper) call
network_caps with () {}MainProcess|jsonrpc/7::DEBUG::2017-07-03
15:15:01,693::commands::69::root::(execCmd) /usr/bin/taskset --cpu-list
0-23 /sbin/ip route show to 0.0.0.0/0 <
http://0.0.0.0/0> table main (cwd
None)MainProcess|jsonrpc/7::DEBUG::2017-07-03
15:15:01,697::commands::93::root::(execCmd) SUCCESS: <err> = ''; <rc>
=
0MainProcess|jsonrpc/7::DEBUG::2017-07-03
15:15:01,748::commands::69::root::(execCmd) /usr/bin/taskset --cpu-list
0-23 /usr/sbin/tc qdisc show (cwd
None)MainProcess|jsonrpc/7::DEBUG::2017-07-03
15:15:01,753::commands::93::root::(execCmd) SUCCESS: <err> = ''; <rc>
=
0MainProcess|jsonrpc/7::DEBUG::2017-07-03
15:15:01,754::supervdsmServer::100::SuperVdsm.ServerCallback::(wrapper)
return network_caps with {'bridges': {'vmbr200': {'ipv6autoconf':
True,
'addr': '', 'dhcpv6': False, 'ipv6addrs': [],
'gateway': '', 'dhcpv4':
False, 'netmask': '', 'ipv4defaultroute': False, 'stp':
'on', 'ipv4addrs':
[], 'mtu': '1500', 'ipv6gateway': '::', 'ports':
['em1.200'], 'opts':
{'multicast_last_member_count': '2', 'hash_elasticity':
'4',
'multicast_query_response_interval': '1000', 'group_fwd_mask':
'0x0',
'multicast_snooping': '1', 'multicast_startup_query_interval':
'3125',
'hello_timer': '50', 'multicast_querier_interval':
'25500', 'max_age':
'2000', 'hash_max': '512', 'stp_state': '1',
'topology_change_detected':
'0', 'priority': '32768', 'multicast_membership_interval':
'26000',
'root_path_cost': '0', 'root_port': '0',
'multicast_querier': '0',
'multicast_startup_query_count': '2', 'nf_call_iptables':
'0',
'topology_change': '0', 'hello_time': '200',
'root_id':
'8000.b8ac6f90cb99', 'bridge_id': '8000.b8ac6f90cb99',
'topology_change_timer': '0', 'ageing_time': '30000',
'nf_call_ip6tables':
'0', 'gc_timer': '525', 'nf_call_arptables': '0',
'group_addr':
'1:80:c2:0:0:0', 'multicast_last_member_interval': '100',
'default_pvid':
'1', 'multicast_query_interval': '12500', 'tcn_timer':
'0',
'multicast_router': '1', 'vlan_filtering': '0',
'forward_delay': '500'}},
'vmbr201': {'ipv6autoconf': True, 'addr': '172.30.0.11',
'dhcpv6': False,
'ipv6addrs': [], 'gateway': '172.30.255.254', 'dhcpv4':
False, 'netmask':
'255.255.0.0', 'ipv4defaultroute': True, 'stp': 'on',
'ipv4addrs':
['1.1.1.1/16' <
http://1.1.1.1/16'>], 'mtu': '1500',
'ipv6gateway':
'fe80::be5f:f4ff:fe52:96c1', 'ports': ['em1.201'],
'opts':
{'multicast_last_member_count': '2', 'hash_elasticity':
'4',
'multicast_query_response_interval': '1000', 'group_fwd_mask':
'0x0',
'multicast_snooping': '1', 'multicast_startup_query_interval':
'3125',
'hello_timer': '0', 'multicast_querier_interval': '25500',
'max_age':
'2000', 'hash_max': '512', 'stp_state': '1',
'topology_change_detected':
'0', 'priority': '32768', 'multicast_membership_interval':
'26000',
'root_path_cost': '100', 'root_port': '1',
'multicast_querier': '0',
'multicast_startup_query_count': '2', 'nf_call_iptables':
'0',
'topology_change': '0', 'hello_time': '200',
'root_id':
'8000.0013725e0ff1', 'bridge_id': '8000.b8ac6f90cb99',
'topology_change_timer': '0', 'ageing_time': '30000',
'nf_call_ip6tables':
'0', 'gc_timer': '627', 'nf_call_arptables': '0',
'group_addr':
'1:80:c2:0:0:0', 'multicast_last_member_interval': '100',
'default_pvid':
'1', 'multicast_query_interval': '12500', 'tcn_timer':
'0',
'multicast_router': '1', 'vlan_filtering': '0',
'forward_delay': '500'}},
'vmbr202': {'ipv6autoconf': True, 'addr': '',
'dhcpv6': False, 'ipv6addrs':
[], 'gateway': '', 'dhcpv4': False, 'netmask': '',
'ipv4defaultroute':
False, 'stp': 'on', 'ipv4addrs': [], 'mtu':
'1500', 'ipv6gateway': '::',
'ports': ['em1.202'], 'opts':
{'multicast_last_member_count': '2',
'hash_elasticity': '4', 'multicast_query_response_interval':
'1000',
'group_fwd_mask': '0x0', 'multicast_snooping': '1',
'multicast_startup_query_interval': '3125', 'hello_timer':
'50',
'multicast_querier_interval': '25500', 'max_age': '2000',
'hash_max':
'512', 'stp_state': '1', 'topology_change_detected':
'0', 'priority':
'32768', 'multicast_membership_interval': '26000',
'root_path_cost': '0',
'root_port': '0', 'multicast_querier': '0',
'multicast_startup_query_count': '2', 'nf_call_iptables':
'0',
'topology_change': '0', 'hello_time': '200',
'root_id':
'8000.b8ac6f90cb99', 'bridge_id': '8000.b8ac6f90cb99',
'topology_change_timer': '0', 'ageing_time': '30000',
'nf_call_ip6tables':
'0', 'gc_timer': '525', 'nf_call_arptables': '0',
'group_addr':
'1:80:c2:0:0:0', 'multicast_last_member_interval': '100',
'default_pvid':
'1', 'multicast_query_interval': '12500', 'tcn_timer':
'0',
'multicast_router': '1', 'vlan_filtering': '0',
'forward_delay': '500'}},
'vmbr210': {'ipv6autoconf': True, 'addr': '',
'dhcpv6': False, 'ipv6addrs':
[], 'gateway': '', 'dhcpv4': False, 'netmask': '',
'ipv4defaultroute':
False, 'stp': 'on', 'ipv4addrs': [], 'mtu':
'1500', 'ipv6gateway': '::',
'ports': ['em1.210'], 'opts':
{'multicast_last_member_count': '2',
'hash_elasticity': '4', 'multicast_query_response_interval':
'1000',
'group_fwd_mask': '0x0', 'multicast_snooping': '1',
'multicast_startup_query_interval': '3125', 'hello_timer':
'51',
'multicast_querier_interval': '25500', 'max_age': '2000',
'hash_max':
'512', 'stp_state': '1', 'topology_change_detected':
'0', 'priority':
'32768', 'multicast_membership_interval': '26000',
'root_path_cost': '0',
'root_port': '0', 'multicast_querier': '0',
'multicast_startup_query_count': '2', 'nf_call_iptables':
'0',
'topology_change': '0', 'hello_time': '200',
'root_id':
'8000.b8ac6f90cb99', 'bridge_id': '8000.b8ac6f90cb99',
'topology_change_timer': '0', 'ageing_time': '30000',
'nf_call_ip6tables':
'0', 'gc_timer': '526', 'nf_call_arptables': '0',
'group_addr':
'1:80:c2:0:0:0', 'multicast_last_member_interval': '100',
'default_pvid':
'1', 'multicast_query_interval': '12500', 'tcn_timer':
'0',
'multicast_router': '1', 'vlan_filtering': '0',
'forward_delay': '500'}},
'vmbr206': {'ipv6autoconf': True, 'addr': '',
'dhcpv6': False, 'ipv6addrs':
[], 'gateway': '', 'dhcpv4': False, 'netmask': '',
'ipv4defaultroute':
False, 'stp': 'on', 'ipv4addrs': [], 'mtu':
'1500', 'ipv6gateway': '::',
'ports': ['em1.206'], 'opts':
{'multicast_last_member_count': '2',
'hash_elasticity': '4', 'multicast_query_response_interval':
'1000',
'group_fwd_mask': '0x0', 'multicast_snooping': '1',
'multicast_startup_query_interval': '3125', 'hello_timer':
'50',
'multicast_querier_interval': '25500', 'max_age': '2000',
'hash_max':
'512', 'stp_state': '1', 'topology_change_detected':
'0', 'priority':
'32768', 'multicast_membership_interval': '26000',
'root_path_cost': '0',
'root_port': '0', 'multicast_querier': '0',
'multicast_startup_query_count': '2', 'nf_call_iptables':
'0',
'topology_change': '0', 'hello_time': '200',
'root_id':
'8000.b8ac6f90cb99', 'bridge_id': '8000.b8ac6f90cb99',
'topology_change_timer': '0', 'ageing_time': '30000',
'nf_call_ip6tables':
'0', 'gc_timer': '526', 'nf_call_arptables': '0',
'group_addr':
'1:80:c2:0:0:0', 'multicast_last_member_interval': '100',
'default_pvid':
'1', 'multicast_query_interval': '12500', 'tcn_timer':
'0',
'multicast_router': '1', 'vlan_filtering': '0',
'forward_delay': '500'}},
'vmbr260': {'ipv6autoconf': True, 'addr': '',
'dhcpv6': False, 'ipv6addrs':
[], 'gateway': '', 'dhcpv4': False, 'netmask': '',
'ipv4defaultroute':
False, 'stp': 'on', 'ipv4addrs': [], 'mtu':
'1500', 'ipv6gateway': '::',
'ports': ['em1.260'], 'opts':
{'multicast_last_member_count': '2',
'hash_elasticity': '4', 'multicast_query_response_interval':
'1000',
'group_fwd_mask': '0x0', 'multicast_snooping': '1',
'multicast_startup_query_interval': '3125', 'hello_timer':
'51',
'multicast_querier_interval': '25500', 'max_age': '2000',
'hash_max':
'512', 'stp_state': '1', 'topology_change_detected':
'0', 'priority':
'32768', 'multicast_membership_interval': '26000',
'root_path_cost': '0',
'root_port': '0', 'multicast_querier': '0',
'multicast_startup_query_count': '2', 'nf_call_iptables':
'0',
'topology_change': '0', 'hello_time': '200',
'root_id':
'8000.b8ac6f90cb99', 'bridge_id': '8000.b8ac6f90cb99',
'topology_change_timer': '0', 'ageing_time': '30000',
'nf_call_ip6tables':
'0', 'gc_timer': '526', 'nf_call_arptables': '0',
'group_addr':
'1:80:c2:0:0:0', 'multicast_last_member_interval': '100',
'default_pvid':
'1', 'multicast_query_interval': '12500', 'tcn_timer':
'0',
'multicast_router': '1', 'vlan_filtering': '0',
'forward_delay': '500'}},
'vmbr207': {'ipv6autoconf': True, 'addr': '',
'dhcpv6': False, 'ipv6addrs':
[], 'gateway': '', 'dhcpv4': False, 'netmask': '',
'ipv4defaultroute':
False, 'stp': 'on', 'ipv4addrs': [], 'mtu':
'1500', 'ipv6gateway': '::',
'ports': ['em1.207'], 'opts':
{'multicast_last_member_count': '2',
'hash_elasticity': '4', 'multicast_query_response_interval':
'1000',
'group_fwd_mask': '0x0', 'multicast_snooping': '1',
'multicast_startup_query_interval': '3125', 'hello_timer':
'51',
'multicast_querier_interval': '25500', 'max_age': '2000',
'hash_max':
'512', 'stp_state': '1', 'topology_change_detected':
'0', 'priority':
'32768', 'multicast_membership_interval': '26000',
'root_path_cost': '0',
'root_port': '0', 'multicast_querier': '0',
'multicast_startup_query_count': '2', 'nf_call_iptables':
'0',
'topology_change': '0', 'hello_time': '200',
'root_id':
'8000.b8ac6f90cb99', 'bridge_id': '8000.b8ac6f90cb99',
'topology_change_timer': '0', 'ageing_time': '30000',
'nf_call_ip6tables':
'0', 'gc_timer': '526', 'nf_call_arptables': '0',
'group_addr':
'1:80:c2:0:0:0', 'multicast_last_member_interval': '100',
'default_pvid':
'1', 'multicast_query_interval': '12500', 'tcn_timer':
'0',
'multicast_router': '1', 'vlan_filtering': '0',
'forward_delay': '500'}},
'vmbr208': {'ipv6autoconf': True, 'addr': '',
'dhcpv6': False, 'ipv6addrs':
[], 'gateway': '', 'dhcpv4': False, 'netmask': '',
'ipv4defaultroute':
False, 'stp': 'on', 'ipv4addrs': [], 'mtu':
'1500', 'ipv6gateway': '::',
'ports': ['em1.208'], 'opts':
{'multicast_last_member_count': '2',
'hash_elasticity': '4', 'multicast_query_response_interval':
'1000',
'group_fwd_mask': '0x0', 'multicast_snooping': '1',
'multicast_startup_query_interval': '3125', 'hello_timer':
'51',
'multicast_querier_interval': '25500', 'max_age': '2000',
'hash_max':
'512', 'stp_state': '1', 'topology_change_detected':
'0', 'priority':
'32768', 'multicast_membership_interval': '26000',
'root_path_cost': '0',
'root_port': '0', 'multicast_querier': '0',
'multicast_startup_query_count': '2', 'nf_call_iptables':
'0',
'topology_change': '0', 'hello_time': '200',
'root_id':
'8000.b8ac6f90cb99', 'bridge_id': '8000.b8ac6f90cb99',
'topology_change_timer': '0', 'ageing_time': '30000',
'nf_call_ip6tables':
'0', 'gc_timer': '526', 'nf_call_arptables': '0',
'group_addr':
'1:80:c2:0:0:0', 'multicast_last_member_interval': '100',
'default_pvid':
'1', 'multicast_query_interval': '12500', 'tcn_timer':
'0',
'multicast_router': '1', 'vlan_filtering': '0',
'forward_delay': '500'}},
'vmbr101': {'ipv6autoconf': True, 'addr': '',
'dhcpv6': False, 'ipv6addrs':
[], 'gateway': '', 'dhcpv4': False, 'netmask': '',
'ipv4defaultroute':
False, 'stp': 'on', 'ipv4addrs': [], 'mtu':
'1500', 'ipv6gateway': '::',
'ports': [], 'opts': {'multicast_last_member_count': '2',
'hash_elasticity': '4', 'multicast_query_response_interval':
'1000',
'group_fwd_mask': '0x0', 'multicast_snooping': '1',
'multicast_startup_query_interval': '3125', 'hello_timer':
'51',
'multicast_querier_interval': '25500', 'max_age': '2000',
'hash_max':
'512', 'stp_state': '1', 'topology_change_detected':
'0', 'priority':
'32768', 'multicast_membership_interval': '26000',
'root_path_cost': '0',
'root_port': '0', 'multicast_querier': '0',
'multicast_startup_query_count': '2', 'nf_call_iptables':
'0',
'topology_change': '0', 'hello_time': '200',
'root_id':
'8000.000000000000', 'bridge_id': '8000.000000000000',
'topology_change_timer': '0', 'ageing_time': '30000',
'nf_call_ip6tables':
'0', 'gc_timer': '527', 'nf_call_arptables': '0',
'group_addr':
'1:80:c2:0:0:0', 'multicast_last_member_interval': '100',
'default_pvid':
'1', 'multicast_query_interval': '12500', 'tcn_timer':
'0',
'multicast_router': '1', 'vlan_filtering': '0',
'forward_delay': '500'}},
'vmbr100': {'ipv6autoconf': True, 'addr': '',
'dhcpv6': False, 'ipv6addrs':
[], 'gateway': '', 'dhcpv4': False, 'netmask': '',
'ipv4defaultroute':
False, 'stp': 'on', 'ipv4addrs': [], 'mtu':
'1500', 'ipv6gateway': '::',
'ports': ['em1.100'], 'opts':
{'multicast_last_member_count': '2',
'hash_elasticity': '4', 'multicast_query_response_interval':
'1000',
'group_fwd_mask': '0x0', 'multicast_snooping': '1',
'multicast_startup_query_interval': '3125', 'hello_timer':
'49',
'multicast_querier_interval': '25500', 'max_age': '2000',
'hash_max':*
Thanks in Advance!
Best Regards,
Gabriel