
This is a multi-part message in MIME format. --------------64B770B2D51E52B8F7EF8908 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit You are welcome. I'm happy you can replicate the problem. Infact the problem is the name "default" used for the bridge any other name works (i can't test all the names :) ) Claudio On 10/09/17 08:39, Edward Haas wrote:
This is a limitation of the brctl tool.
Attempting to define a bridge named 'default' fails: # brctl addbr default add bridge failed: Invalid argument
Thanks, Edy.
On Thu, Sep 7, 2017 at 8:26 PM, Claudio Soprano <Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@lnf.infn.it>> wrote:
Ok
After installed the host, i need to attach it the networks
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.
I attached:
- a screenshoot of all the network we have
- two screenshoots for the "default" network proprierties (one for vnic profile, other for the proprierties)
- supervdsm.log from host ovc2n06 (i attached all the file, but you will find all at the beginning)
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. 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.
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.
All the hosts now are ovirt v4.1.5 and CentOS v7.3 we have also some old hosts on CentOS v7.2
Claudio
On 07/09/17 13:46, Dan Kenigsberg wrote:
I do not understand which steps you are doing until you get the "Unexpected Exception" dialog. Could you detail them?
Also, can you share supervdsm.log from the relevant host, so we can understand the nature of that unexpected exception?
On Wed, Aug 30, 2017 at 12:31 PM, Claudio Soprano <Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@lnf.infn.it>> wrote:
The problem is not the host-deploy, infact the deploy finished without errors, if i remember good in the deploy process the network are not set, i need to attach each network i need manually, under hosts, network interface, setup host networks
and the problem is there, when i attach all the VLANs (including the default, that is VLAN 1) it gave error, default is not present in the system, if i add all the VLANS (excluding the default, that is VLAN 1) it is OK, but the host will not activate because missing the default vlan.
If i manually add the 2 configuration files (ifcfg-default and ifcfg-intX.1) to the host and make a systemctl network restart, it gave error then
ip addr reports
the vlan 1 is added, but not the Bridge to default (the default is missing error).
I don't know if the name "default" (for the network, VLAN 1) could be the problem, but i can't rename now, because i need to detach from the hosts, but actually i can't.
I added 3 screenshoots to show you the situation, before adding VLAN 1 ("default" network), the error when adding it, and the info on the error.
--
/ | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/
Claudio Soprano phone: (+39)-06-9403.2349 <tel:%28%2B39%29-06-9403.2349>/2355 Computing Service fax: (+39)-06-9403.2649 <tel:%28%2B39%29-06-9403.2649> LNF-INFN e-mail: Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@lnf.infn.it> Via Enrico Fermi, 40 www: http://www.lnf.infn.it/ I-00044 Frascati, Italy
-- / | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/ Claudio Soprano phone: (+39)-06-9403.2349/2355 Computing Service fax: (+39)-06-9403.2649 LNF-INFN e-mail: Claudio.Soprano@lnf.infn.it Via Enrico Fermi, 40 www: http://www.lnf.infn.it/ I-00044 Frascati, Italy --------------64B770B2D51E52B8F7EF8908 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body text="#000000" bgcolor="#FFFFFF"> <p>You are welcome.</p> <p>I'm happy you can replicate the problem.</p> <p>Infact the problem is the name "default" used for the bridge any other name works (i can't test all the names :) )</p> <p>Claudio<br> </p> On 10/09/17 08:39, Edward Haas wrote:<br> <blockquote type="cite" cite="mid:CALmkdFQUKvohdp-FVvRW77MUPZ8wAD25RWqvd-BAJ7yinJS78w@mail.gmail.com"> <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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">(+39)-06-9403.2349</a>/2355<br> Computing Service fax: <a href="tel:%28%2B39%29-06-9403.2649" value="+390694032649" target="_blank" moz-do-not-send="true">(+39)-06-9403.2649</a><br> LNF-INFN e-mail: <a href="mailto:Claudio.Soprano@lnf.infn.it" target="_blank" moz-do-not-send="true">Claudio.Soprano@lnf.infn.it</a><br> Via Enrico Fermi, 40 www: <a href="http://www.lnf.infn.it/" rel="noreferrer" target="_blank" moz-do-not-send="true">http://www.lnf.infn.it/</a><br> I-00044 Frascati, Italy<br> <br> </div> </div> </blockquote> </div> <br> </div> </blockquote> <br> <pre class="moz-signature" cols="72">-- / | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/ Claudio Soprano phone: (+39)-06-9403.2349/2355 Computing Service fax: (+39)-06-9403.2649 LNF-INFN e-mail: <a class="moz-txt-link-abbreviated" href="mailto:Claudio.Soprano@lnf.infn.it">Claudio.Soprano@lnf.infn.it</a> Via Enrico Fermi, 40 www: <a class="moz-txt-link-freetext" href="http://www.lnf.infn.it/">http://www.lnf.infn.it/</a> I-00044 Frascati, Italy </pre> </body> </html> --------------64B770B2D51E52B8F7EF8908--