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 !


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" <contact@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