yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #87704
[Bug 1951517] Re: Segmentation ID should be lower or equal to 4095
Hello Mikhail:
"max_tunid" is a read only parameter set by OVN (Neutron can only read
it). It is used to determine the capacity of the cluster depending on
the tunnel types enabled for encapsulation.
This option is useful only when VXLAN is enabled, due to limitations in
the protocol header. For more info, please read [1].
In a nutshell, if you allow VXLAN, then the "max_tunid" value will be
reduced to 4095. If not, the value will be 16711680 (0xFF0000).
Regards.
[1]https://www.mail-archive.com/ovs-discuss@xxxxxxxxxxxxxxx/msg06771.html
** Changed in: neutron
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1951517
Title:
Segmentation ID should be lower or equal to 4095
Status in neutron:
Invalid
Bug description:
Hi,
I am trying to set up OVN using Openstack.
OS: CentOS Stream release 8
OVN 21.06
Openstack wallaby
When 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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1951517/+subscriptions
References