cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrija Panic <andrija.pa...@gmail.com>
Subject Re: Cannot provision on newly added hosts due to bridge network not being created
Date Thu, 05 Aug 2021 14:31:13 GMT
Yeah, "predictable" interface names, one of the more stupid moves done
recently....

On Thu, 5 Aug 2021 at 07:40, SVI <jcapagcuan@svi.com.ph> wrote:

> I guess I overlooked the interface naming conventions required by KVM.
> After disabling renaming of NIC (so the interface name will be eth0 and
> eth1), everything works.
>
> Thanks.
>
> > On Aug 5, 2021, at 11:57 AM, SVI <jcapagcuan@svi.com.ph> wrote:
> >
> > Hi,
> >
> > I followed setting up of KVM hosts on my ubuntu 20.04 and added it as in
> my cloudstack cluster. I tried launching an instance but always gets this
> error in the hypervisor:
> >
> >  WARN  [resource.wrapper.LibvirtStartCommandWrapper]
> (agentRequest-Handler-2:null) (logid:3851fa03) InternalErrorException
> > com.cloud.exception.InternalErrorException: Failed to create vnet 225:
> Error: argument "brenp129s0f1-225" is wrong: "name" not a valid
> ifnameCannot find device "brenp129s0f1-225"Failed to create br:
> brenp129s0f1-225
> >
> > Bridging seems ok based on the guide I followed. Here’s my
> /etc/network/interfaces:
> >
> > auto lo
> > iface lo inet loopback
> > # The primary network interface
> > auto enp129s0f0
> > iface enp129s0f0 inet manual
> > # The second network interface
> > auto enp129s0f1
> > iface enp129s0f1 inet manual
> > # management network
> > auto cloudbr0
> > iface cloudbr0 inet static
> >     bridge_ports enp129s0f0
> >     bridge_fd 5
> >     bridge_stp off
> >     bridge_maxwait 1
> >     address 192.168.1.120
> >     netmask 255.255.255.0
> >     gateway 192.168.1.1
> >     dns-nameservers 8.8.8.8 8.8.4.4
> >     dns-domain dev.cloudstack.io <http://dev.cloudstack.io/>
> > # guest network
> > auto cloudbr1
> > iface cloudbr1 inet manual
> >     bridge_ports enp129s0f1
> >     bridge_fd 5
> >     bridge_stp off
> >     bridge_maxwait 1
> >
> > Help is very much appreciated.
> >
> > Btw, this is almost the same configuration as my other 2 hypervisors and
> everything works fine on the other 2.
> >
> > Here’s the ip a:
> >
> > 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
> group default qlen 1000
> >     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> >     inet 127.0.0.1/8 scope host lo
> >        valid_lft forever preferred_lft forever
> >     inet6 ::1/128 scope host
> >        valid_lft forever preferred_lft forever
> > 2: enp129s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq
> master cloudbr0 state UP group default qlen 1000
> >     link/ether ac:1f:6b:25:87:c2 brd ff:ff:ff:ff:ff:ff
> > 3: enp129s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq
> master cloudbr1 state UP group default qlen 1000
> >     link/ether ac:1f:6b:25:87:c3 brd ff:ff:ff:ff:ff:ff
> > 4: ens3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group
> default qlen 1000
> >     link/ether 00:02:c9:54:3a:94 brd ff:ff:ff:ff:ff:ff
> > 5: cloudbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
> state UP group default qlen 1000
> >     link/ether ac:1f:6b:25:87:c2 brd ff:ff:ff:ff:ff:ff
> >     inet 192.168.1.120/24 brd 192.168.1.255 scope global cloudbr0
> >        valid_lft forever preferred_lft forever
> >     inet6 fe80::ae1f:6bff:fe25:87c2/64 scope link
> >        valid_lft forever preferred_lft forever
> > 6: cloudbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
> state UP group default qlen 1000
> >     link/ether ac:1f:6b:25:87:c3 brd ff:ff:ff:ff:ff:ff
> >     inet6 fe80::ae1f:6bff:fe25:87c3/64 scope link
> >        valid_lft forever preferred_lft forever
> > 7: cloud0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
> state UNKNOWN group default qlen 1000
> >     link/ether ae:18:19:bc:36:07 brd ff:ff:ff:ff:ff:ff
> >     inet 169.254.0.1/16 scope global cloud0
> >        valid_lft forever preferred_lft forever
> >     inet6 fe80::ac18:19ff:febc:3607/64 scope link
> >        valid_lft forever preferred_lft forever
> > 8: enp129s0f1.225@enp129s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu
> 1500 qdisc noqueue state UP group default qlen 1000
> >     link/ether ac:1f:6b:25:87:c3 brd ff:ff:ff:ff:ff:ff
> >     inet6 fe80::ae1f:6bff:fe25:87c3/64 scope link
> >        valid_lft forever preferred_lft forever
> >
> >
> >
> > Thanks.
> >
>
>

-- 

Andrija Panić

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message