[ovs-discuss] Segmentation ID should be lower or equal to 4095

Mikhail Okhrimenko mikhail.okhrimenko at ps.kz
Fri Nov 12 09:44:21 UTC 2021


Hi,

I am trying to set up OVN using Openstack. OVN 21.06 Openstack 
wallabyWhen creating a network in openstack, we get an error:

"Segmentation ID should be lower or equal to 4095."

ml2 config:

# ML2 general
[ml2]
type_drivers = flat,vlan,vxlan,geneve
tenant_network_types = geneve
mechanism_drivers = ovn
extension_drivers = port_security,dns
physical_network_mtus = vlan:1500,floating:1500
path_mtu = 1558
overlay_ip_version = 4

# ML2 geneve networks
[ml2_type_geneve]
vni_ranges = 5000:6000
max_header_size = 38

# ML2 VLAN networks
[ml2_type_vlan]
network_vlan_ranges = vlan:3900:3999

# ML2 VXLAN networks
[ml2_type_vxlan]
vni_ranges = 5000:6000


# Security groups
[securitygroup]
enable_security_group = True
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

[ovn]
ovn_nb_connection = tcp:<IP>:6641
ovn_sb_connection = tcp:<IP>:6642
ovn_l3_scheduler = leastloaded
ovn_metadata_enabled = True
isolated_metadata = True


When I execute the command
$ ovn-nbctl get NB_Global. options:max_tunid
or
$ ovn-sbctl get SB_Global. options:max_tunid
I get "4095"

If I manually try to change max_tunid using the command
$ ovn-nbctl set NB_Global. options:max_tunid="16777215"
or
$ ovn-sbctl set SB_Global. options:max_tunid="16777215"
then no change occurs.

How can I change max_tunid from 4095 to 16777215 for supporting geneve or vxlan networks in Openstack.

-- 
---

Mikhail Okhrimenko

System administrator at "PS Internet Company"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20211112/6712113d/attachment.html>


More information about the discuss mailing list