Something is messing up my network bond

Hi, I'm trying to setup an Ovirt 4.2.2 host (CentOS based) with a network bond containing 2 network interfaces. I need to use an active-passive network setup as my switch doesn't seem to like the XOR mode. I tried updating my /etc/sysconfig/network-scripts/ifcfg-bond0 file manually to set BONDING_OPTS='mode=1 miimon=100' however each time I reboot the file gets reverted to mode=2 by vdsm. I tried setting hidden_bonds=bond0 in /etc/vdsm/vdsm.confm but now my hosted-engine doesn't want to start anymore. I assume because by doing that I basically disabled the network for my VM's completely. /var/log/messages shows: Apr 27 11:05:14 hypervisor1 vdsm[2337]: WARN Attempting to remove a non existing network: ovirtmgmt/14ad9ae1-d9a2-4ca4-8120-948f41e3a5b9 Apr 27 11:05:14 hypervisor1 vdsm[2337]: WARN Attempting to remove a non existing net user: ovirtmgmt/14ad9ae1-d9a2-4ca4-8120-948f41e3a5b9 How can I change the type of network bond I want to use? I found a nice tutorial video on the ovirt website showing an interface that would allow me to make a bond and set it to the type I need, but I cannot find that GUI anywhere on my system (does it even exist in 4.2.2? The webinterface in the videos looks totaly different than what I am seeing) Nico -- Nico De Ranter Operations Engineer T. +32 16 38 72 10 <http://www.esaturnus.com> <http://www.esaturnus.com> eSATURNUS Romeinse straat 12 3001 Leuven – Belgium T. +32 16 40 12 82 F. +32 16 40 84 77 www.esaturnus.com <http://www.esaturnus.com/> *For Service & Support * Support Line: +32 16 387210 or via email : support@esaturnus.com

On Fri, Apr 27, 2018 at 11:12 AM, Nico De Ranter < nico.deranter@esaturnus.com> wrote:
Hi,
I'm trying to setup an Ovirt 4.2.2 host (CentOS based) with a network bond containing 2 network interfaces. I need to use an active-passive network setup as my switch doesn't seem to like the XOR mode. I tried updating my /etc/sysconfig/network-scripts/ifcfg-bond0 file manually to set
BONDING_OPTS='mode=1 miimon=100'
however each time I reboot the file gets reverted to mode=2 by vdsm. I tried setting
hidden_bonds=bond0
in /etc/vdsm/vdsm.confm but now my hosted-engine doesn't want to start anymore. I assume because by doing that I basically disabled the network for my VM's completely. /var/log/messages shows:
Apr 27 11:05:14 hypervisor1 vdsm[2337]: WARN Attempting to remove a non existing network: ovirtmgmt/14ad9ae1-d9a2-4ca4-8120-948f41e3a5b9 Apr 27 11:05:14 hypervisor1 vdsm[2337]: WARN Attempting to remove a non existing net user: ovirtmgmt/14ad9ae1-d9a2-4ca4-8120-948f41e3a5b9
How can I change the type of network bond I want to use? I found a nice tutorial video on the ovirt website showing an interface that would allow me to make a bond and set it to the type I need, but I cannot find that GUI anywhere on my system (does it even exist in 4.2.2? The webinterface in the videos looks totaly different than what I am seeing)
Hi, this can be done via the web UI. Go to Compute -> Hosts. Here click on the name of host you want to configure bond on. Then Network Interfaces -> Setup Host Networks. Here you should see your bond, by clicking on the pencil you should be able change the bond mode. Hopefully this helps. Regards, Ales.
Nico
--
Nico De Ranter
Operations Engineer
T. +32 16 38 72 10
eSATURNUS Romeinse straat 12 3001 Leuven – Belgium
T. +32 16 40 12 82 F. +32 16 40 84 77 www.esaturnus.com
*For Service & Support *
Support Line: +32 16 387210 or via email : support@esaturnus.com
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- ALES MUSIL INTERN - rhv network Red Hat EMEA <https://www.redhat.com/> amusil@redhat.com IM: amusil <https://red.ht/sig>

Thanks! that was what I was looking for. Nico On Fri, Apr 27, 2018 at 12:07 PM, Ales Musil <amusil@redhat.com> wrote:
On Fri, Apr 27, 2018 at 11:12 AM, Nico De Ranter < nico.deranter@esaturnus.com> wrote:
Hi,
I'm trying to setup an Ovirt 4.2.2 host (CentOS based) with a network bond containing 2 network interfaces. I need to use an active-passive network setup as my switch doesn't seem to like the XOR mode. I tried updating my /etc/sysconfig/network-scripts/ifcfg-bond0 file manually to set
BONDING_OPTS='mode=1 miimon=100'
however each time I reboot the file gets reverted to mode=2 by vdsm. I tried setting
hidden_bonds=bond0
in /etc/vdsm/vdsm.confm but now my hosted-engine doesn't want to start anymore. I assume because by doing that I basically disabled the network for my VM's completely. /var/log/messages shows:
Apr 27 11:05:14 hypervisor1 vdsm[2337]: WARN Attempting to remove a non existing network: ovirtmgmt/14ad9ae1-d9a2-4ca4-8120-948f41e3a5b9 Apr 27 11:05:14 hypervisor1 vdsm[2337]: WARN Attempting to remove a non existing net user: ovirtmgmt/14ad9ae1-d9a2-4ca4-8120-948f41e3a5b9
How can I change the type of network bond I want to use? I found a nice tutorial video on the ovirt website showing an interface that would allow me to make a bond and set it to the type I need, but I cannot find that GUI anywhere on my system (does it even exist in 4.2.2? The webinterface in the videos looks totaly different than what I am seeing)
Hi, this can be done via the web UI. Go to Compute -> Hosts. Here click on the name of host you want to configure bond on. Then Network Interfaces -> Setup Host Networks. Here you should see your bond, by clicking on the pencil you should be able change the bond mode.
Hopefully this helps.
Regards, Ales.
Nico
--
Nico De Ranter
Operations Engineer
T. +32 16 38 72 10
eSATURNUS Romeinse straat 12 <https://maps.google.com/?q=Romeinse+straat+12+3001+Leuven+%E2%80%93+Belgium&entry=gmail&source=g> 3001 Leuven – Belgium <https://maps.google.com/?q=Romeinse+straat+12+3001+Leuven+%E2%80%93+Belgium&entry=gmail&source=g>
T. +32 16 40 12 82 F. +32 16 40 84 77 www.esaturnus.com
*For Service & Support *
Support Line: +32 16 387210 or via email : support@esaturnus.com
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--
ALES MUSIL INTERN - rhv network
Red Hat EMEA <https://www.redhat.com/>
amusil@redhat.com IM: amusil <https://red.ht/sig>
-- Nico De Ranter Operations Engineer T. +32 16 38 72 10 <http://www.esaturnus.com> <http://www.esaturnus.com> eSATURNUS Romeinse straat 12 3001 Leuven – Belgium T. +32 16 40 12 82 F. +32 16 40 84 77 www.esaturnus.com <http://www.esaturnus.com/> *For Service & Support * Support Line: +32 16 387210 or via email : support@esaturnus.com
participants (2)
-
Ales Musil
-
Nico De Ranter