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(a)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(a)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/2355
> Computing Service fax: (+39)-06-9403.2649
> LNF-INFN e-mail: Claudio.Soprano(a)lnf.infn.it
> Via Enrico Fermi, 40 www:
http://www.lnf.infn.it/
> I-00044 Frascati, Italy
>
>