oVirt: bond0: option slaves: invalid value (-eth1)
Looking around the oVirt configs to troubleshoot an issue earlier yielded no results. This is because oVirt manages the host networks through it's UI instead. All automated and GUI controlled. Some of the error messages we needed to troubleshoot:
ovirtmgmt: received packet on bond0 with own address as source address (addr:78:e7:d1:8f:4d:26, vlan:0)
bond0: option slaves: invalid value (-eth1)
Config Files controllec by oVirt UI:
/var/lib/vdsm/persistence/netconf/bonds/bond0
/etc/resolve.conf
/etc/sysconfig/network-scripts/bond0
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-eth1
/etc/sysconfig/network-scripts/ifcfg-eth2
/etc/sysconfig/network-scripts/ifcfg-eth3
Log Files:
/var/log/vdsm/
/var/log/messages
Messages such as these pop up:
restore-net::DEBUG::2019-09-21 22:32:54,292::ifcfg::571::root::(writeConfFile) Writing to file /etc/sysconfig/network-scripts/ifcfg-eth2 configuration:
# Generated by VDSM version 4.20.46-1.el7
DEVICE=eth2
MASTER=bond0
SLAVE=yes
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
Telling us oVirt Engine is controlling these.
Just the same, our host network configs were stored in the following folders:
/var/lib/vdsm/persistence/netconf/
But what you need to do is visit the oVirt Engine UI. Navigate to Compute -> Hosts -> (Click the name of the host) -> Network Interfaces -> Setup Host Networks