Beta VXLAN Issue

Keyninja

New Member
Apr 15, 2019
19
30
3
29
Hi Guys,

So, I'm attempting to roll out the new GUI SDN at my home Prox lab. Currently, when I create a VXLAN Zone "mynet" and a VNet "vnet1", and attempt to apply the config, I get an error on all nodes, picture attached.

I checked in Syslog and all I can really see is an entry of "pvestatd[2577]: local sdn network configuration is too old, please reload", and some ovsctl commands clearing LACP and a few other items. Nothing really seems to point to where the error is.

Does anyone know of some more verbose troubleshooting for SDN? Also, if there's any better docu around for the EVPN zone, I'd love to try that out too.

Thanks,
 

Attachments

  • 2021-01-19 08_18_44-pxmx01 - Proxmox Virtual Environment - Brave.png
    2021-01-19 08_18_44-pxmx01 - Proxmox Virtual Environment - Brave.png
    4.2 KB · Views: 28
Hi Guys,

So, I'm attempting to roll out the new GUI SDN at my home Prox lab. Currently, when I create a VXLAN Zone "mynet" and a VNet "vnet1", and attempt to apply the config, I get an error on all nodes, picture attached.

I checked in Syslog and all I can really see is an entry of "pvestatd[2577]: local sdn network configuration is too old, please reload", and some ovsctl commands clearing LACP and a few other items. Nothing really seems to point to where the error is.

Does anyone know of some more verbose troubleshooting for SDN? Also, if there's any better docu around for the EVPN zone, I'd love to try that out too.

Thanks,
can you send content of /etc/pve/sdn/vnets.cfg && /etc/pve/sdn/zones.cfg , + /etc/network/interfaces config file ?


do you /etc/network/interfaces have a line
"source /etc/network/interfaces.d/*" ?

because sdn generate an /etc/network/interfaces.d/sdn config, and it must need to be include in main config.


about documentation, I'm currently working on new sdn version with a lot of new features, including an improved doc, but it's not yet commited yet
 
root@pxmx01:~# cat /etc/pve/sdn/vnets.cfg
vnet: vnet1
tag 500
zone mynet
vlanaware 1

root@pxmx01:~# cat /etc/pve/sdn/zones.cfg
vxlan: mynet
peers 10.0.10.10, 10.0.10.11, 10.0.10.12
mtu 1450


root@pxmx01:~# cat /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

iface eno1 inet manual

iface idrac inet manual

iface eno3 inet manual

iface eno4 inet manual

iface enp65s0f0 inet manual

auto enp65s0f1
iface enp65s0f1 inet manual
ovs_type OVSPort
ovs_bridge vmbr1
#192.168.1.2/24

iface eno2 inet manual

auto inband1
iface inband1 inet static
address 192.168.1.2/24
ovs_type OVSIntPort
ovs_bridge vmbr1
ovs_options tag=20
#Ceph Public Network

auto inband2
iface inband2 inet static
address 192.168.2.2/24
ovs_type OVSIntPort
ovs_bridge vmbr1
ovs_options tag=20
#Ceph Private Replication Network

auto inband3
iface inband3 inet static
address 10.0.10.22/24
ovs_type OVSIntPort
ovs_bridge vmbr1
ovs_options tag=10
#ovs-vswitchd control plane

auto vmbr0
iface vmbr0 inet static
address 10.0.10.10/24
gateway 10.0.10.1
bridge-ports eno1
bridge-stp off
bridge-fd 0

auto vmbr1
iface vmbr1 inet manual
ovs_type OVSBridge
ovs_ports enp65s0f1 inband1 inband2 inband3
#Open-VSwitch L2 Bridge

Sorry my interfaces is a bit busy, I was playing with using OpenvSwitch bridges for my 10G Ceph traffic.
 
Found it!

By echoing that line onto my interfaces file:

echo "source /etc/network/interfaces.d/*" >> /etc/network/interfaces

And reloading network from the main SDN tab, that made them available! Thanks for the help! I'm surprised it doesn't add that line by default though when it applies the SDN configuration.
 
ok, just add ""source /etc/network/interfaces.d/*" at the end of /etc/network/interfaces , and re-apply sdn config, it should works.

This is in documentation, but not at the begin. (you are not the first to ask for this). I have rewrote the documentation to not forget it.
 
ok, just add ""source /etc/network/interfaces.d/*" at the end of /etc/network/interfaces , and re-apply sdn config, it should works.

This is in documentation, but not at the begin. (you are not the first to ask for this). I have rewrote the documentation to not forget it.
Missed me by 1 minute :p
 
yes, currently I don't change /etc/network/interfaces. I'll try to auto-add it for next version
One other thing too, is clicking on the "mynet" zone under each host tab freezes the Web UI. I'll be testing the VXLANs today and hopefully EVPN in the future.
 
One other thing too, is clicking on the "mynet" zone under each host tab freezes the Web UI. I'll be testing the VXLANs today and hopefully EVPN in the future.
yes, it's a known bug. I have already fixed it for next release. (currently it's not blocking, it's only for monitoring state of a special vnet in a zone and add permissions)

Coming version have also support for evpn with ebgp, if you use ebgp in your environnement. (currently it's only ibgp with full mesh between proxmox nodes). but evpn is already working.

if you have question/bug, you can use this central thread :
https://forum.proxmox.com/threads/proxmox-6-2-sdn-beta-test.69655/
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!