You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Hean Seng <he...@gmail.com> on 2020/11/09 14:46:13 UTC

Unable to create bridge

Suddnly encounter issue :

2020-11-09 14:40:43,556 WARN  [resource.wrapper.LibvirtStartCommandWrapper]
(agentRequest-Handler-1:null) (logid:c6bda6be) InternalErrorException

com.cloud.exception.InternalErrorException: Failed to create vnet 206:
Error: argument "brenp130s0f1-206" is wrong: "name" not a valid
ifnameError: argument "brenp130s0f1-206" is wrong: "dev" not a valid
ifnameFailed to create br: brenp130s0f1-206



I manually create bridge


brctl addbr brenp130s0f1-206

brctl addif brenp130s0f1-206 enp130s0f1.*206*

It seem not return any error , but has issue in cloudstack agent log


-- 
Regards,
Hean Seng

Re: Unable to create bridge

Posted by Andrija Panic <an...@gmail.com>.
(rant: so called "predictive' interface names = most stupid thing they have
done in the newer centos/ubunut, right after the systemd...  :facepalm:
:facepalm: :facepalm: )
keep it eth0/1/2/3 and enjoy :)

On Wed, 11 Nov 2020 at 10:59, Hean Seng <he...@gmail.com> wrote:

> Hi Andrija
>
> I manage to solve this, But not sure why CloudStack not able to accept name
> convention of enp130s0f1 ,which is at the PCI-card for 10G card
>
> I change the name convention of Ubuntu Netowrk card naming convention to
> eth0 , 1 ,2 those, and it is working fine .
>
>
>
>
>
>
> On Tue, Nov 10, 2020 at 3:51 PM Andrija Panic <an...@gmail.com>
> wrote:
>
> > put agent log in debug mode, which should then print exact commands ACS
> > used to set a bridge - see here:
> > https://cwiki.apache.org/confluence/display/CLOUDSTACK/KVM+agent+debug
> >
> > best,
> >
> > On Mon, 9 Nov 2020 at 15:46, Hean Seng <he...@gmail.com> wrote:
> >
> > > Suddnly encounter issue :
> > >
> > > 2020-11-09 14:40:43,556 WARN
> > [resource.wrapper.LibvirtStartCommandWrapper]
> > > (agentRequest-Handler-1:null) (logid:c6bda6be) InternalErrorException
> > >
> > > com.cloud.exception.InternalErrorException: Failed to create vnet 206:
> > > Error: argument "brenp130s0f1-206" is wrong: "name" not a valid
> > > ifnameError: argument "brenp130s0f1-206" is wrong: "dev" not a valid
> > > ifnameFailed to create br: brenp130s0f1-206
> > >
> > >
> > >
> > > I manually create bridge
> > >
> > >
> > > brctl addbr brenp130s0f1-206
> > >
> > > brctl addif brenp130s0f1-206 enp130s0f1.*206*
> > >
> > > It seem not return any error , but has issue in cloudstack agent log
> > >
> > >
> > > --
> > > Regards,
> > > Hean Seng
> > >
> >
> >
> > --
> >
> > Andrija Panić
> >
>
>
> --
> Regards,
> Hean Seng
>


-- 

Andrija Panić

Re: Unable to create bridge

Posted by Hean Seng <he...@gmail.com>.
Hi Andrija

I manage to solve this, But not sure why CloudStack not able to accept name
convention of enp130s0f1 ,which is at the PCI-card for 10G card

I change the name convention of Ubuntu Netowrk card naming convention to
eth0 , 1 ,2 those, and it is working fine .






On Tue, Nov 10, 2020 at 3:51 PM Andrija Panic <an...@gmail.com>
wrote:

> put agent log in debug mode, which should then print exact commands ACS
> used to set a bridge - see here:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/KVM+agent+debug
>
> best,
>
> On Mon, 9 Nov 2020 at 15:46, Hean Seng <he...@gmail.com> wrote:
>
> > Suddnly encounter issue :
> >
> > 2020-11-09 14:40:43,556 WARN
> [resource.wrapper.LibvirtStartCommandWrapper]
> > (agentRequest-Handler-1:null) (logid:c6bda6be) InternalErrorException
> >
> > com.cloud.exception.InternalErrorException: Failed to create vnet 206:
> > Error: argument "brenp130s0f1-206" is wrong: "name" not a valid
> > ifnameError: argument "brenp130s0f1-206" is wrong: "dev" not a valid
> > ifnameFailed to create br: brenp130s0f1-206
> >
> >
> >
> > I manually create bridge
> >
> >
> > brctl addbr brenp130s0f1-206
> >
> > brctl addif brenp130s0f1-206 enp130s0f1.*206*
> >
> > It seem not return any error , but has issue in cloudstack agent log
> >
> >
> > --
> > Regards,
> > Hean Seng
> >
>
>
> --
>
> Andrija Panić
>


-- 
Regards,
Hean Seng

Re: Unable to create bridge

Posted by Andrija Panic <an...@gmail.com>.
put agent log in debug mode, which should then print exact commands ACS
used to set a bridge - see here:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/KVM+agent+debug

best,

On Mon, 9 Nov 2020 at 15:46, Hean Seng <he...@gmail.com> wrote:

> Suddnly encounter issue :
>
> 2020-11-09 14:40:43,556 WARN  [resource.wrapper.LibvirtStartCommandWrapper]
> (agentRequest-Handler-1:null) (logid:c6bda6be) InternalErrorException
>
> com.cloud.exception.InternalErrorException: Failed to create vnet 206:
> Error: argument "brenp130s0f1-206" is wrong: "name" not a valid
> ifnameError: argument "brenp130s0f1-206" is wrong: "dev" not a valid
> ifnameFailed to create br: brenp130s0f1-206
>
>
>
> I manually create bridge
>
>
> brctl addbr brenp130s0f1-206
>
> brctl addif brenp130s0f1-206 enp130s0f1.*206*
>
> It seem not return any error , but has issue in cloudstack agent log
>
>
> --
> Regards,
> Hean Seng
>


-- 

Andrija Panić