<div dir="ltr"><div><div><div>This is a limitation of the brctl tool.<br><br></div>Attempting to define a bridge named 'default' fails:<br># brctl addbr default<br>add bridge failed: Invalid argument<br><br></div>Thanks,<br></div>Edy.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 7, 2017 at 8:26 PM, Claudio Soprano <span dir="ltr"><<a href="mailto:Claudio.Soprano@lnf.infn.it" target="_blank">Claudio.Soprano@lnf.infn.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ok<br>
<br>
After installed the host, i need to attach it the networks<br>
<br>
so I got the Unexpected Exception while I'm trying to add a vlan 1 (called default) to a Host, in the Setup_networks gui.<br>
<br>
I attached:<br>
<br>
- a screenshoot of all the network we have<br>
<br>
- two screenshoots for the "default" network proprierties (one for vnic profile, other for the proprierties)<br>
<br>
- supervdsm.log from host ovc2n06 (i attached all the file, but you will find all at the beginning)<br>
<br>
Like already explained, it is simple to replicate the problem with a CentOS v7.3 host, you need to create a Bridge called default (ifcfg-default) and a Vlan 1 attached to it (ifcfg-enp12s0.1), do a systemctl restart network and you will get the error.<br>
To fix the problem rename the bridge to "def" for example and change the Vlan 1 file configuration to link the new name and then all works.<br>
<br>
This problem is found only on the CentOS v7.3 on old CentOS v7.2 hosts the "default" bridge works, to override this problem we changed the name to "def" for now.<br>
<br>
All the hosts now are ovirt v4.1.5 and CentOS v7.3 we have also some old hosts on CentOS v7.2<span class="HOEnZb"><font color="#888888"><br>
<br>
Claudio</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On 07/09/17 13:46, Dan Kenigsberg wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I do not understand which steps you are doing until you get the<br>
"Unexpected Exception" dialog.<br>
Could you detail them?<br>
<br>
Also, can you share supervdsm.log from the relevant host, so we can<br>
understand the nature of that unexpected exception?<br>
<br>
On Wed, Aug 30, 2017 at 12:31 PM, Claudio Soprano<br>
<<a href="mailto:Claudio.Soprano@lnf.infn.it" target="_blank">Claudio.Soprano@lnf.infn.it</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The problem is not the host-deploy, infact the deploy finished without<br>
errors, if i remember good in the deploy process the network are not set, i<br>
need to attach each network i need manually, under hosts, network interface,<br>
setup host networks<br>
<br>
and the problem is there, when i attach all the VLANs (including the<br>
default, that is VLAN 1) it gave error, default is not present in the<br>
system, if i add all the VLANS (excluding the default, that is VLAN 1) it is<br>
OK, but the host will not activate because missing the default vlan.<br>
<br>
If i manually add the 2 configuration files (ifcfg-default and ifcfg-intX.1)<br>
to the host and make a systemctl network restart, it gave error then<br>
<br>
ip addr reports<br>
<br>
the vlan 1 is added, but not the Bridge to default (the default is missing<br>
error).<br>
<br>
I don't know if the name "default" (for the network, VLAN 1) could be the<br>
problem, but i can't rename now, because i need to detach from the hosts,<br>
but actually i can't.<br>
<br>
I added 3 screenshoots to show you the situation, before adding VLAN 1<br>
("default" network), the error when adding it, and the info on the error.<br>
</blockquote></blockquote>
<br></div></div><div class="HOEnZb"><div class="h5">
-- <br>
<br>
/ | / _____/ / | / _____/ | /<br>
/ / | / / / / | / / / | /<br>
/ / | / ___/ _____/ / / | / ___/ / | /<br>
/ / | / / / / | / / / | /<br>
______/ _/ __/ _/ _/ _/ __/ _/ _/ __/<br>
<br>
Claudio Soprano phone: <a href="tel:%28%2B39%29-06-9403.2349" value="+390694032349" target="_blank">(+39)-06-9403.2349</a>/2355<br>
Computing Service fax: <a href="tel:%28%2B39%29-06-9403.2649" value="+390694032649" target="_blank">(+39)-06-9403.2649</a><br>
LNF-INFN e-mail: <a href="mailto:Claudio.Soprano@lnf.infn.it" target="_blank">Claudio.Soprano@lnf.infn.it</a><br>
Via Enrico Fermi, 40 www: <a href="http://www.lnf.infn.it/" rel="noreferrer" target="_blank">http://www.lnf.infn.it/</a><br>
I-00044 Frascati, Italy<br>
<br>
</div></div></blockquote></div><br></div>