But there I cannot see the bond0.20 interface, just bond0 and bond1Ok, just saw that if I go toNetworks -> br20 -> Hosts -> Unattached -> right click on vm04 -> setup host networks2016-09-21 15:08 GMT+02:00 Davide Ferrari <davide@billymob.com>:What am I missing?My ifcfg-* files:I created a network named "br20" in my case.that basically explains how to create manually a standard bond+vlan+bridge, that I already did on my ovirt hosts, but I can't manage to get the network working in the VMs. Ovirt always complains about that the network is not available on that host.By the way, what are the exact steps to add a new network in oVirt?Because I was following this guide
https://www.ovirt.org/documentation/how-to/networking/ bonding-vlan-bridge/
[root@vm04 network-scripts]# cat ifcfg-bond0.20
DEVICE=bond0.20
VLAN=yes
BOOTPROTO=none
NM_CONTROLLED=no
BRIDGE=br20
MTU=1500
[root@vm04 network-scripts]# cat ifcfg-br20
TYPE=Bridge
NM_CONTROLLED="no"
BOOTPROTO="none"
DEVICE="br20"
IPADDR=192.168.9.228
NETMASK=255.255.255.0
ONBOOT="yes"
DEFROUTE=no--2016-09-21 7:53 GMT+02:00 Edward Haas <ehaas@redhat.com>:On Tue, Sep 20, 2016 at 12:13 PM, Maxence Sartiaux <contact@makz.me> wrote:Okay, i found a workaround.- Create empty ifcfg-lan on all hosts (touch /etc/sysconfig/network-scripts/ifcfg-lan) - Assign the bridge to the bond (Ovirt only add MTU=1500 in the file)- Unassign the bridge (Ovirt rewrite the bond configuration files)- Re-assign the bridge on the bond- yay it work !I would recommend describing the exact steps you do, provide output of the
ifcfg list of files at each step + vdsm and supervdsm logs.
I am not clear what is the 'lan' device is representing, is this your bond name?network name?On Tue, 2016-09-20 at 10:08 +0200, Maxence Sartiaux wrote:I configured the bond manually by editing the ifcfg file like i did inmy old install on ovirt 3.6 and 4.0the only ifcfg file i have are the 4 for the physical interfaces, twofor the bonds and one for the ovirtmgmt bridge.I'll send the vdsm log later.On Mon, 2016-09-19 at 10:14 -0400, Francesco Romani wrote:From: "Maxence Sartiaux" <contact@makz.me>To: "users" <users@ovirt.org>Sent: Monday, September 19, 2016 11:53:12 AMSubject: [ovirt-users] Can't add logical networkHello,On a clean install ovirt 4.0.3-1, i've configured my bond on myhypervisor, created a new network on the engine and now i try toassign the logical network to my bond in the host network settings.When i save the configuration, the engine throw me an error and thefollowing eventVDSM hypervisor1 command failed: [Errno 2] No such file or directory:u'/etc/sysconfig/network-scripts/ifcfg-lan' if i "touch" the file manually i don't have this error but my fileonly contain "MTU=1500" nothing more.Engine bug or i miss something ?How you configured the bond on your hypervisor?Seems like Vdsm doesn't like your changes, perhaps it cannot justidentify the interface configurationEdward, do you have any recommendations about this flow?--Francesco RomaniRedHat Engineering Virtualization R & DPhone: 8261328IRC: fromani_______________________________________________ Users mailing list
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
Davide FerrariSenior Systems Engineer
--Davide FerrariSenior Systems Engineer