Issue with a LACP bond interface.

The config details: root@lv426 network-scripts]# cat ifcfg-bond0 # Generated by VDSM version 4.19.31-1.el7.centos DEVICE=bond0 BONDING_OPTS='mode=4 lacp_rate=1 miimon=100 xmit_hash_policy=2' BRIDGE=ovirtmgmt ONBOOT=yes MTU=1500 DEFROUTE=no NM_CONTROLLED=no IPV6INIT=no [root@lv426 network-scripts]# cat ifcfg-eno1 # Generated by VDSM version 4.19.31-1.el7.centos DEVICE=eno1 MASTER=bond0 SLAVE=yes ONBOOT=yes MTU=1500 DEFROUTE=no NM_CONTROLLED=no IPV6INIT=no [root@lv426 network-scripts]# cat ifcfg-enp11s0 # Generated by VDSM version 4.19.31-1.el7.centos DEVICE=enp11s0 MASTER=bond0 SLAVE=yes ONBOOT=yes DEFROUTE=no NM_CONTROLLED=no IPV6INIT=no [root@lv426 network-scripts]# cat ifcfg-enp2s0f0 # Generated by VDSM version 4.19.31-1.el7.centos DEVICE=enp2s0f0 MASTER=bond0 SLAVE=yes ONBOOT=yes MTU=1500 DEFROUTE=no NM_CONTROLLED=no IPV6INIT=no [root@lv426 network-scripts]# cat ifcfg-enp2s0f1 # Generated by VDSM version 4.19.31-1.el7.centos DEVICE=enp2s0f1 MASTER=bond0 SLAVE=yes ONBOOT=yes MTU=1500 DEFROUTE=no NM_CONTROLLED=no IPV6INIT=no [root@lv426 network-scripts]# cat ifcfg-ovirtmgmt # Generated by VDSM version 4.19.31-1.el7.centos DEVICE=ovirtmgmt TYPE=Bridge DELAY=0 STP=off ONBOOT=yes BOOTPROTO=dhcp MTU=1500 DEFROUTE=yes NM_CONTROLLED=no IPV6INIT=no DNS1=10.100.100.1 DNS2=10.1.2.2 [root@lv426 network-scripts]# cat /proc/net/bonding/bond0 |grep Slave *Slave* Interface: eno1 *Slave* queue ID: 0 *Slave* Interface: enp2s0f0 *Slave* queue ID: 0 *Slave* Interface: enp2s0f1 *Slave* queue ID: 0 *Slave* Interface: enp11s0 *Slave* queue ID: 0 As you can see by the above all 4 interfaces are configured and up properly and working. I've configured them using the command: vdsClient -s 0 setupNetworks bondings='{bond0:{nics:eno1+enp11s0+enp2s0f0+enp2s0f1,options:mode=4 lacp_rate=1 miimon=100 xmit_hash_policy=2}}' It's all good. But when I reboot interface3 enp11s0 is not part of the bond, [root@lv426 ~]# cat /proc/net/bonding/bond0 |grep Slave *Slave* Interface: eno1 *Slave* queue ID: 0 *Slave* Interface: enp2s0f0 *Slave* queue ID: 0 *Slave* Interface: enp2s0f1 *Slave* queue ID: 0 And looks like it's had it's bonding config removed b y VDSM. [root@lv426 network-scripts]# cat ifcfg-enp11s0 # Generated by VDSM version 4.19.31-1.el7.centos DEVICE=enp11s0 ONBOOT=yes MTU=1500 NM_CONTROLLED=no If I re-=run the vdsClient command and if down/ifup the interface it happily rejoins the bond and carries on working perfectly. For the life of me I can't figure out what I'm missing / done wrong.

This is a multi-part message in MIME format. ------------15f7a477224476527eab28e872 Content-Type: text/plain; format=flowed; charset="UTF-8" Content-Transfer-Encoding: 8bit You need to save the network configuration. Ovirt calls it "persist". I don't know the vdsClient command but there is one to save the network configuration. -derek Sent using my mobile device. Please excuse any typos. On November 1, 2017 9:07:01 PM CRiMSON <crimson@unspeakable.org> wrote:
The config details:
root@lv426 network-scripts]# cat ifcfg-bond0
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=bond0
BONDING_OPTS='mode=4 lacp_rate=1 miimon=100 xmit_hash_policy=2'
BRIDGE=ovirtmgmt
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-eno1
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=eno1
MASTER=bond0
SLAVE=yes
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-enp11s0
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=enp11s0
MASTER=bond0
SLAVE=yes
ONBOOT=yes
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-enp2s0f0
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=enp2s0f0
MASTER=bond0
SLAVE=yes
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-enp2s0f1
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=enp2s0f1
MASTER=bond0
SLAVE=yes
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-ovirtmgmt
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=ovirtmgmt
TYPE=Bridge
DELAY=0
STP=off
ONBOOT=yes
BOOTPROTO=dhcp
MTU=1500
DEFROUTE=yes
NM_CONTROLLED=no
IPV6INIT=no
DNS1=10.100.100.1
DNS2=10.1.2.2
[root@lv426 network-scripts]# cat /proc/net/bonding/bond0 |grep Slave
*Slave* Interface: eno1
*Slave* queue ID: 0
*Slave* Interface: enp2s0f0
*Slave* queue ID: 0
*Slave* Interface: enp2s0f1
*Slave* queue ID: 0
*Slave* Interface: enp11s0
*Slave* queue ID: 0
As you can see by the above all 4 interfaces are configured and up properly and working.
I've configured them using the command:
vdsClient -s 0 setupNetworks bondings='{bond0:{nics:eno1+enp11s0+enp2s0f0+enp2s0f1,options:mode=4 lacp_rate=1 miimon=100 xmit_hash_policy=2}}'
It's all good.
But when I reboot interface3 enp11s0 is not part of the bond,
[root@lv426 ~]# cat /proc/net/bonding/bond0 |grep Slave
*Slave* Interface: eno1
*Slave* queue ID: 0
*Slave* Interface: enp2s0f0
*Slave* queue ID: 0
*Slave* Interface: enp2s0f1
*Slave* queue ID: 0
And looks like it's had it's bonding config removed b y VDSM.
[root@lv426 network-scripts]# cat ifcfg-enp11s0
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=enp11s0
ONBOOT=yes
MTU=1500
NM_CONTROLLED=no
If I re-=run the vdsClient command and if down/ifup the interface it happily rejoins the bond and carries on working perfectly.
For the life of me I can't figure out what I'm missing / done wrong.
---------- _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
------------15f7a477224476527eab28e872 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: 8bit <html> <head> </head> <body> <div style="color: black;"> <div style="color: black;"> <p style="margin: 0 0 1em 0; color: black;">You need to save the network configuration. Ovirt calls it "persist". I don't know the vdsClient command but there is one to save the network configuration. </p> <p style="margin: 0 0 1em 0; color: black;">-derek<br> Sent using my mobile device. Please excuse any typos. <br> </p> </div> <div style="color: black;"> <p style="color: black; font-size: 10pt; font-family: Arial, sans-serif; margin: 10pt 0;">On November 1, 2017 9:07:01 PM CRiMSON <crimson@unspeakable.org> wrote:</p> <blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #808080; padding-left: 0.75ex;"> <div dir="ltr">The config details:<div><br></div><div><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">root@lv426 network-scripts]# cat ifcfg-bond0</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures"># Generated by VDSM version 4.19.31-1.el7.centos</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">DEVICE=bond0</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">BONDING_OPTS='mode=4 lacp_rate=1 miimon=100 xmit_hash_policy=2'</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">BRIDGE=ovirtmgmt</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">ONBOOT=yes</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">MTU=1500</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">DEFROUTE=no</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">NM_CONTROLLED=no</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">IPV6INIT=no</span></p></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">[root@lv426 network-scripts]# cat ifcfg-eno1</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures"># Generated by VDSM version 4.19.31-1.el7.centos</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">DEVICE=eno1</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">MASTER=bond0</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">SLAVE=yes</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">ONBOOT=yes</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">MTU=1500</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">DEFROUTE=no</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">NM_CONTROLLED=no</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">IPV6INIT=no</span></p><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">[root@lv426 network-scripts]# cat ifcfg-enp11s0</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures"># Generated by VDSM version 4.19.31-1.el7.centos</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">DEVICE=enp11s0</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">MASTER=bond0</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">SLAVE=yes</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">ONBOOT=yes</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">DEFROUTE=no</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">NM_CONTROLLED=no</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">IPV6INIT=no</span></p><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">[root@lv426 network-scripts]# cat ifcfg-enp2s0f0</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures"># Generated by VDSM version 4.19.31-1.el7.centos</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">DEVICE=enp2s0f0</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">MASTER=bond0</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">SLAVE=yes</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">ONBOOT=yes</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">MTU=1500</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">DEFROUTE=no</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">NM_CONTROLLED=no</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">IPV6INIT=no</span></p><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">[root@lv426 network-scripts]# cat ifcfg-enp2s0f1</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures"># Generated by VDSM version 4.19.31-1.el7.centos</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">DEVICE=enp2s0f1</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">MASTER=bond0</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">SLAVE=yes</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">ONBOOT=yes</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">MTU=1500</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">DEFROUTE=no</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">NM_CONTROLLED=no</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">IPV6INIT=no</span></p><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">[root@lv426 network-scripts]# cat ifcfg-ovirtmgmt </span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures"># Generated by VDSM version 4.19.31-1.el7.centos</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">DEVICE=ovirtmgmt</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">TYPE=Bridge</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">DELAY=0</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">STP=off</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">ONBOOT=yes</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">BOOTPROTO=dhcp</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">MTU=1500</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">DEFROUTE=yes</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">NM_CONTROLLED=no</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">IPV6INIT=no</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">DNS1=10.100.100.1</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">DNS2=10.1.2.2</span></p><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">[root@lv426 network-scripts]# cat /proc/net/bonding/bond0 |grep Slave</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(255,59,30)"><b>Slave</b></span><span style="font-variant-ligatures:no-common-ligatures"> Interface: eno1</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(255,59,30)"><b>Slave</b></span><span style="font-variant-ligatures:no-common-ligatures"> queue ID: 0</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(255,59,30)"><b>Slave</b></span><span style="font-variant-ligatures:no-common-ligatures"> Interface: enp2s0f0</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(255,59,30)"><b>Slave</b></span><span style="font-variant-ligatures:no-common-ligatures"> queue ID: 0</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(255,59,30)"><b>Slave</b></span><span style="font-variant-ligatures:no-common-ligatures"> Interface: enp2s0f1</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(255,59,30)"><b>Slave</b></span><span style="font-variant-ligatures:no-common-ligatures"> queue ID: 0</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(255,59,30)"><b>Slave</b></span><span style="font-variant-ligatures:no-common-ligatures"> Interface: enp11s0</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(255,59,30)"><b>Slave</b></span><span style="font-variant-ligatures:no-common-ligatures"> queue ID: 0</span></p><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures">As you can see by the above all 4 interfaces are configured and up properly and working.</span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures">I've configured them using the command:</span></div><div><br></div><div><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures"> vdsClient -s 0 setupNetworks bondings='{bond0:{nics:eno1+enp11s0+enp2s0f0+enp2s0f1,options:mode=4 lacp_rate=1 miimon=100 xmit_hash_policy=2}}'</span></p></div><div><br></div><div>It's all good.</div><div><br></div><div>But when I reboot interface3 enp11s0 is not part of the bond, </div><div><br></div><div><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">[root@lv426 ~]# cat /proc/net/bonding/bond0 |grep Slave</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(255,59,30)"><b>Slave</b></span><span style="font-variant-ligatures:no-common-ligatures"> Interface: eno1</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(255,59,30)"><b>Slave</b></span><span style="font-variant-ligatures:no-common-ligatures"> queue ID: 0</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(255,59,30)"><b>Slave</b></span><span style="font-variant-ligatures:no-common-ligatures"> Interface: enp2s0f0</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(255,59,30)"><b>Slave</b></span><span style="font-variant-ligatures:no-common-ligatures"> queue ID: 0</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(255,59,30)"><b>Slave</b></span><span style="font-variant-ligatures:no-common-ligatures"> Interface: enp2s0f1</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(255,59,30)"><b>Slave</b></span><span style="font-variant-ligatures:no-common-ligatures"> queue ID: 0</span></p></div><div><br></div><div>And looks like it's had it's bonding config removed b y VDSM.</div><div><br></div><div><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">[root@lv426 network-scripts]# cat ifcfg-enp11s0 </span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures"># Generated by VDSM version 4.19.31-1.el7.centos</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">DEVICE=enp11s0</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">ONBOOT=yes</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">MTU=1500</span></p> <p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Anonymous Pro";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">NM_CONTROLLED=no</span></p></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div>If I re-=run the vdsClient command and if down/ifup the interface it happily rejoins the bond and carries on working perfectly.</div><div><br></div><div>For the life of me I can't figure out what I'm missing / done wrong.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></span></div></span></div></span></div></span></div></span></div></span></div></div> _______________________________________________<br> Users mailing list<br> <a class="aqm-autolink aqm-autowrap" href="mailto:Users%40ovirt.org">Users@ovirt.org</a><br> <a class="aqm-autolink aqm-autowrap" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a><br> <br> </blockquote> </div> </div> </body> </html> ------------15f7a477224476527eab28e872--

Ohhh ok weir only 1 interface falls out. Let's find that command. On 1 November 2017 at 21:10, Derek Atkins <derek@ihtfp.com> wrote:
You need to save the network configuration. Ovirt calls it "persist". I don't know the vdsClient command but there is one to save the network configuration.
-derek Sent using my mobile device. Please excuse any typos.
On November 1, 2017 9:07:01 PM CRiMSON <crimson@unspeakable.org> wrote:
The config details:
root@lv426 network-scripts]# cat ifcfg-bond0
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=bond0
BONDING_OPTS='mode=4 lacp_rate=1 miimon=100 xmit_hash_policy=2'
BRIDGE=ovirtmgmt
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-eno1
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=eno1
MASTER=bond0
SLAVE=yes
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-enp11s0
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=enp11s0
MASTER=bond0
SLAVE=yes
ONBOOT=yes
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-enp2s0f0
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=enp2s0f0
MASTER=bond0
SLAVE=yes
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-enp2s0f1
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=enp2s0f1
MASTER=bond0
SLAVE=yes
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-ovirtmgmt
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=ovirtmgmt
TYPE=Bridge
DELAY=0
STP=off
ONBOOT=yes
BOOTPROTO=dhcp
MTU=1500
DEFROUTE=yes
NM_CONTROLLED=no
IPV6INIT=no
DNS1=10.100.100.1
DNS2=10.1.2.2
[root@lv426 network-scripts]# cat /proc/net/bonding/bond0 |grep Slave
*Slave* Interface: eno1
*Slave* queue ID: 0
*Slave* Interface: enp2s0f0
*Slave* queue ID: 0
*Slave* Interface: enp2s0f1
*Slave* queue ID: 0
*Slave* Interface: enp11s0
*Slave* queue ID: 0
As you can see by the above all 4 interfaces are configured and up properly and working.
I've configured them using the command:
vdsClient -s 0 setupNetworks bondings='{bond0:{nics:eno1+ enp11s0+enp2s0f0+enp2s0f1,options:mode=4 lacp_rate=1 miimon=100 xmit_hash_policy=2}}'
It's all good.
But when I reboot interface3 enp11s0 is not part of the bond,
[root@lv426 ~]# cat /proc/net/bonding/bond0 |grep Slave
*Slave* Interface: eno1
*Slave* queue ID: 0
*Slave* Interface: enp2s0f0
*Slave* queue ID: 0
*Slave* Interface: enp2s0f1
*Slave* queue ID: 0
And looks like it's had it's bonding config removed b y VDSM.
[root@lv426 network-scripts]# cat ifcfg-enp11s0
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=enp11s0
ONBOOT=yes
MTU=1500
NM_CONTROLLED=no
If I re-=run the vdsClient command and if down/ifup the interface it happily rejoins the bond and carries on working perfectly.
For the life of me I can't figure out what I'm missing / done wrong.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

net_persistence = ifcfg in /etc/vdsm/vdsm.conf Seems to have fixed the issue. On 1 November 2017 at 21:11, CRiMSON <crimson@unspeakable.org> wrote:
Ohhh ok weir only 1 interface falls out. Let's find that command.
On 1 November 2017 at 21:10, Derek Atkins <derek@ihtfp.com> wrote:
You need to save the network configuration. Ovirt calls it "persist". I don't know the vdsClient command but there is one to save the network configuration.
-derek Sent using my mobile device. Please excuse any typos.
On November 1, 2017 9:07:01 PM CRiMSON <crimson@unspeakable.org> wrote:
The config details:
root@lv426 network-scripts]# cat ifcfg-bond0
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=bond0
BONDING_OPTS='mode=4 lacp_rate=1 miimon=100 xmit_hash_policy=2'
BRIDGE=ovirtmgmt
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-eno1
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=eno1
MASTER=bond0
SLAVE=yes
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-enp11s0
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=enp11s0
MASTER=bond0
SLAVE=yes
ONBOOT=yes
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-enp2s0f0
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=enp2s0f0
MASTER=bond0
SLAVE=yes
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-enp2s0f1
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=enp2s0f1
MASTER=bond0
SLAVE=yes
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-ovirtmgmt
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=ovirtmgmt
TYPE=Bridge
DELAY=0
STP=off
ONBOOT=yes
BOOTPROTO=dhcp
MTU=1500
DEFROUTE=yes
NM_CONTROLLED=no
IPV6INIT=no
DNS1=10.100.100.1
DNS2=10.1.2.2
[root@lv426 network-scripts]# cat /proc/net/bonding/bond0 |grep Slave
*Slave* Interface: eno1
*Slave* queue ID: 0
*Slave* Interface: enp2s0f0
*Slave* queue ID: 0
*Slave* Interface: enp2s0f1
*Slave* queue ID: 0
*Slave* Interface: enp11s0
*Slave* queue ID: 0
As you can see by the above all 4 interfaces are configured and up properly and working.
I've configured them using the command:
vdsClient -s 0 setupNetworks bondings='{bond0:{nics:eno1+en p11s0+enp2s0f0+enp2s0f1,options:mode=4 lacp_rate=1 miimon=100 xmit_hash_policy=2}}'
It's all good.
But when I reboot interface3 enp11s0 is not part of the bond,
[root@lv426 ~]# cat /proc/net/bonding/bond0 |grep Slave
*Slave* Interface: eno1
*Slave* queue ID: 0
*Slave* Interface: enp2s0f0
*Slave* queue ID: 0
*Slave* Interface: enp2s0f1
*Slave* queue ID: 0
And looks like it's had it's bonding config removed b y VDSM.
[root@lv426 network-scripts]# cat ifcfg-enp11s0
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=enp11s0
ONBOOT=yes
MTU=1500
NM_CONTROLLED=no
If I re-=run the vdsClient command and if down/ifup the interface it happily rejoins the bond and carries on working perfectly.
For the life of me I can't figure out what I'm missing / done wrong.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Thu, Nov 2, 2017 at 3:06 AM, CRiMSON <crimson@unspeakable.org> wrote:
The config details:
root@lv426 network-scripts]# cat ifcfg-bond0
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=bond0
BONDING_OPTS='mode=4 lacp_rate=1 miimon=100 xmit_hash_policy=2'
BRIDGE=ovirtmgmt
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-eno1
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=eno1
MASTER=bond0
SLAVE=yes
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-enp11s0
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=enp11s0
MASTER=bond0
SLAVE=yes
ONBOOT=yes
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-enp2s0f0
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=enp2s0f0
MASTER=bond0
SLAVE=yes
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-enp2s0f1
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=enp2s0f1
MASTER=bond0
SLAVE=yes
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-ovirtmgmt
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=ovirtmgmt
TYPE=Bridge
DELAY=0
STP=off
ONBOOT=yes
BOOTPROTO=dhcp
MTU=1500
DEFROUTE=yes
NM_CONTROLLED=no
IPV6INIT=no
DNS1=10.100.100.1
DNS2=10.1.2.2
[root@lv426 network-scripts]# cat /proc/net/bonding/bond0 |grep Slave
*Slave* Interface: eno1
*Slave* queue ID: 0
*Slave* Interface: enp2s0f0
*Slave* queue ID: 0
*Slave* Interface: enp2s0f1
*Slave* queue ID: 0
*Slave* Interface: enp11s0
*Slave* queue ID: 0
As you can see by the above all 4 interfaces are configured and up properly and working.
I've configured them using the command:
vdsClient -s 0 setupNetworks bondings='{bond0:{nics:eno1+ enp11s0+enp2s0f0+enp2s0f1,options:mode=4 lacp_rate=1 miimon=100 xmit_hash_policy=2}}'
Why are you using vdsClient to configure the network? Y.
It's all good.
But when I reboot interface3 enp11s0 is not part of the bond,
[root@lv426 ~]# cat /proc/net/bonding/bond0 |grep Slave
*Slave* Interface: eno1
*Slave* queue ID: 0
*Slave* Interface: enp2s0f0
*Slave* queue ID: 0
*Slave* Interface: enp2s0f1
*Slave* queue ID: 0
And looks like it's had it's bonding config removed b y VDSM.
[root@lv426 network-scripts]# cat ifcfg-enp11s0
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=enp11s0
ONBOOT=yes
MTU=1500
NM_CONTROLLED=no
If I re-=run the vdsClient command and if down/ifup the interface it happily rejoins the bond and carries on working perfectly.
For the life of me I can't figure out what I'm missing / done wrong.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

What is the *proper* way. Cause I've come across quite a few different ways reading on this how to get it done. Some say do it by hand, others say never do it by hand use the vdsClient, others say do it this way. I mean between forum posts, blogs, it seems there are multiple ways to do this. With no concrete "This is how you should do it" On 2 November 2017 at 04:19, Yaniv Kaul <ykaul@redhat.com> wrote:
On Thu, Nov 2, 2017 at 3:06 AM, CRiMSON <crimson@unspeakable.org> wrote:
The config details:
root@lv426 network-scripts]# cat ifcfg-bond0
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=bond0
BONDING_OPTS='mode=4 lacp_rate=1 miimon=100 xmit_hash_policy=2'
BRIDGE=ovirtmgmt
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-eno1
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=eno1
MASTER=bond0
SLAVE=yes
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-enp11s0
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=enp11s0
MASTER=bond0
SLAVE=yes
ONBOOT=yes
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-enp2s0f0
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=enp2s0f0
MASTER=bond0
SLAVE=yes
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-enp2s0f1
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=enp2s0f1
MASTER=bond0
SLAVE=yes
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@lv426 network-scripts]# cat ifcfg-ovirtmgmt
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=ovirtmgmt
TYPE=Bridge
DELAY=0
STP=off
ONBOOT=yes
BOOTPROTO=dhcp
MTU=1500
DEFROUTE=yes
NM_CONTROLLED=no
IPV6INIT=no
DNS1=10.100.100.1
DNS2=10.1.2.2
[root@lv426 network-scripts]# cat /proc/net/bonding/bond0 |grep Slave
*Slave* Interface: eno1
*Slave* queue ID: 0
*Slave* Interface: enp2s0f0
*Slave* queue ID: 0
*Slave* Interface: enp2s0f1
*Slave* queue ID: 0
*Slave* Interface: enp11s0
*Slave* queue ID: 0
As you can see by the above all 4 interfaces are configured and up properly and working.
I've configured them using the command:
vdsClient -s 0 setupNetworks bondings='{bond0:{nics:eno1+en p11s0+enp2s0f0+enp2s0f1,options:mode=4 lacp_rate=1 miimon=100 xmit_hash_policy=2}}'
Why are you using vdsClient to configure the network? Y.
It's all good.
But when I reboot interface3 enp11s0 is not part of the bond,
[root@lv426 ~]# cat /proc/net/bonding/bond0 |grep Slave
*Slave* Interface: eno1
*Slave* queue ID: 0
*Slave* Interface: enp2s0f0
*Slave* queue ID: 0
*Slave* Interface: enp2s0f1
*Slave* queue ID: 0
And looks like it's had it's bonding config removed b y VDSM.
[root@lv426 network-scripts]# cat ifcfg-enp11s0
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=enp11s0
ONBOOT=yes
MTU=1500
NM_CONTROLLED=no
If I re-=run the vdsClient command and if down/ifup the interface it happily rejoins the bond and carries on working perfectly.
For the life of me I can't figure out what I'm missing / done wrong.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Thu, Nov 2, 2017 at 2:45 PM, CRiMSON <crimson@unspeakable.org> wrote:
What is the *proper* way. Cause I've come across quite a few different ways reading on this how to get it done. Some say do it by hand, others say never do it by hand use the vdsClient, others say do it this way. I mean between forum posts, blogs, it seems there are multiple ways to do this. With no concrete "This is how you should do it"
Through the GUI in admin portal. Main page about logical network i here: https://ovirt.org/documentation/admin-guide/chap-Logical_Networks/ Near the end of the page there is the section regarding Bonds, how to create them and also how to configure with particular customization. HIH, Gianluca

Gianluca Cecchi <gianluca.cecchi@gmail.com> writes:
On Thu, Nov 2, 2017 at 2:45 PM, CRiMSON <crimson@unspeakable.org> wrote:
What is the *proper* way. Cause I've come across quite a few different ways reading on this how to get it done. Some say do it by hand, others say never do it by hand use the vdsClient, others say do it this way. I mean between forum posts, blogs, it seems there are multiple ways to do this. With no concrete "This is how you should do it"
Through the GUI in admin portal. Main page about logical network i here: https://ovirt.org/documentation/admin-guide/chap-Logical_Networks/
Near the end of the page there is the section regarding Bonds, how to create them and also how to configure with particular customization.
That works if you want to add to the bond. It doesn't work if you want to completely remove/change the bond (because -- oops -- you'll lose connectivity)!
HIH, Gianluca
-derek -- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant
participants (4)
-
CRiMSON
-
Derek Atkins
-
Gianluca Cecchi
-
Yaniv Kaul