Ok, didn't read the doc properly, now it works as expected. Sorry for the noise!
2016-09-21 15:55 GMT+02:00 Davide Ferrari <dav...@billymob.com>: > Ok, just saw that if I go to > > Networks -> br20 -> Hosts -> Unattached -> right click on vm04 -> setup > host networks > > But there I cannot see the bond0.20 interface, just bond0 and bond1 > > 2016-09-21 15:08 GMT+02:00 Davide Ferrari <dav...@billymob.com>: > >> 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/ >> >> 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. >> I created a network named "br20" in my case. >> My ifcfg-* files: >> >> [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 >> >> What am I missing? >> >> 2016-09-21 7:53 GMT+02:00 Edward Haas <eh...@redhat.com>: >> >>> >>> >>> On Tue, Sep 20, 2016 at 12:13 PM, Maxence Sartiaux <cont...@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 in >>>> my old install on ovirt 3.6 and 4.0 >>>> >>>> the only ifcfg file i have are the 4 for the physical interfaces, two >>>> for 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" <cont...@makz.me> >>>> To: "users" <users@ovirt.org> >>>> Sent: Monday, September 19, 2016 11:53:12 AM >>>> Subject: [ovirt-users] Can't add logical network >>>> >>>> Hello, >>>> >>>> On a clean install ovirt 4.0.3-1, i've configured my bond on my >>>> hypervisor, created a new network on the engine and now i try to >>>> assign the logical network to my bond in the host network settings. >>>> >>>> When i save the configuration, the engine throw me an error and the >>>> following event >>>> >>>> VDSM 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 file >>>> only 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 just >>>> identify the interface configuration >>>> >>>> Edward, do you have any recommendations about this flow? >>>> >>>> -- >>>> Francesco Romani >>>> RedHat Engineering Virtualization R & D >>>> Phone: 8261328 >>>> IRC: fromani >>>> >>>> _______________________________________________ >>>> 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 >>>> >>>> >>> >>> _______________________________________________ >>> Users mailing list >>> Users@ovirt.org >>> http://lists.ovirt.org/mailman/listinfo/users >>> >>> >> >> >> -- >> Davide Ferrari >> Senior Systems Engineer >> > > > > -- > Davide Ferrari > Senior Systems Engineer > -- Davide Ferrari Senior Systems Engineer
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users