← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1951517] [NEW] Segmentation ID should be lower or equal to 4095

 

Public bug reported:

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.

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
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:
  New

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



Follow ups