<div dir="ltr"><div><div>Ok, just saw that if I go to<br><br></div>Networks -&gt; br20 -&gt; Hosts -&gt; Unattached -&gt; right click on  vm04 -&gt; setup host networks<br><br></div>But there I cannot see the bond0.20 interface, just bond0 and bond1<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-21 15:08 GMT+02:00 Davide Ferrari <span dir="ltr">&lt;<a href="mailto:davide@billymob.com" target="_blank">davide@billymob.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>By the way, what are the exact steps to add a new network in oVirt?<br></div>Because I was following this guide<br><br><a href="https://www.ovirt.org/documentation/how-to/networking/bonding-vlan-bridge/" target="_blank">https://www.ovirt.org/<wbr>documentation/how-to/<wbr>networking/bonding-vlan-<wbr>bridge/</a><br><br></div>that basically explains how to create manually a standard bond+vlan+bridge, that I already did on my ovirt hosts, but I can&#39;t manage to get the network working in the VMs. Ovirt always complains about that the network is not available on that host.<br></div>I created a network named &quot;br20&quot; in my case.<br></div>My ifcfg-* files:<br><br>[root@vm04 network-scripts]# cat ifcfg-bond0.20 <br>DEVICE=bond0.20<br>VLAN=yes<br>BOOTPROTO=none<br>NM_CONTROLLED=no<br>BRIDGE=br20<br>MTU=1500<br>[root@vm04 network-scripts]# cat ifcfg-br20 <br>TYPE=Bridge<br>NM_CONTROLLED=&quot;no&quot;<br>BOOTPROTO=&quot;none&quot;<br>DEVICE=&quot;br20&quot;<br>IPADDR=192.168.9.228<br>NETMASK=255.255.255.0<br>ONBOOT=&quot;yes&quot;<br>DEFROUTE=no<br><br></div>What am I missing?<br></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">2016-09-21 7:53 GMT+02:00 Edward Haas <span dir="ltr">&lt;<a href="mailto:ehaas@redhat.com" target="_blank">ehaas@redhat.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Tue, Sep 20, 2016 at 12:13 PM, Maxence Sartiaux <span dir="ltr">&lt;<a href="mailto:contact@makz.me" target="_blank">contact@makz.me</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Okay, i found a workaround.</div><div><br></div><div>- Create empty ifcfg-lan on all hosts (touch /etc/sysconfig/network-scripts<wbr>/ifcfg-lan)</div><div>- Assign the bridge to the bond (Ovirt only add MTU=1500 in the file)</div><div>- Unassign the bridge (Ovirt rewrite the bond configuration files)</div><div>- Re-assign the bridge on the bond</div><div>- yay it work !</div></div></blockquote><div><br></div></span><div>I would recommend describing the exact steps you do, provide output of the<br>ifcfg list of files at each step + vdsm and supervdsm logs.<br></div><div><br>I am not clear what is the &#39;lan&#39; device is representing, is this your bond name?<br></div><div>network name?<br><br></div><div><div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div><div><br></div><div><br></div><div>On Tue, 2016-09-20 at 10:08 +0200, Maxence Sartiaux wrote:</div><blockquote type="cite"><div>I configured the bond manually by editing the ifcfg file like i did in</div><div>my old install on ovirt 3.6 and 4.0</div><div><br></div><div>the only ifcfg file i have are the 4 for the physical interfaces, two</div><div>for the bonds and one for the ovirtmgmt bridge.</div><div><br></div><div>I&#39;ll send the vdsm log later.</div><div><br></div><div>On Mon, 2016-09-19 at 10:14 -0400, Francesco Romani wrote:</div><blockquote type="cite"><div><br></div><div>From: &quot;Maxence Sartiaux&quot; &lt;<a href="mailto:contact@makz.me" target="_blank">contact@makz.me</a>&gt;</div><div>To: &quot;users&quot; &lt;<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>&gt;</div><div>Sent: Monday, September 19, 2016 11:53:12 AM</div><div>Subject: [ovirt-users] Can&#39;t add logical network</div><div><br></div><div>Hello,</div><div><br></div><div>On a clean install ovirt 4.0.3-1, i&#39;ve configured my bond on my</div><div>hypervisor, created a new network on the engine and now i try to</div><div>assign the logical network to my bond in the host network settings.</div><div><br></div><div>When i save the configuration, the engine throw me an error and the</div><div>following event</div><div><br></div><div>VDSM hypervisor1 command failed: [Errno 2] No such file or directory:</div><div>u&#39;/etc/sysconfig/network-scrip<wbr>ts/ifcfg-lan&#39;</div><div><br></div><div>if i &quot;touch&quot; the file manually i don&#39;t have this error but my file</div><div>only contain &quot;MTU=1500&quot; nothing more.</div><div><br></div><div>Engine bug or i miss something ?</div><div><br></div><div>How you configured the bond on your hypervisor?</div><div>Seems like Vdsm doesn&#39;t like your changes, perhaps it cannot just</div><div>identify the interface configuration</div><div><br></div><div>Edward, do you have any recommendations about this flow?</div><div><br></div><div>-- </div><div>Francesco Romani</div><div>RedHat Engineering Virtualization R &amp; D</div><div>Phone: 8261328</div><div>IRC: fromani</div></blockquote><div>______________________________<wbr>_________________</div><div>Users mailing list</div><div><a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a></div><div><a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a></div></blockquote></div></div></div><br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<br></blockquote></div></div></div><br></div></div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div>Davide Ferrari<br></div>Senior Systems Engineer<br></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Davide Ferrari<br></div>Senior Systems Engineer<br></div></div>
</div>