neutron_lib.exceptions.InvalidInput: Invalid input for operation: Segmentation ID should be lower or equal to 4095
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I am using ubuntu 22.04 lts with openstack yoga. I have followed the docs and trying a basic selfservice option. I am not that familiar with ovn and hoping to get everything working using the docs in openstack
$ openstack network agent list
+------
| ID | Agent Type | Host | Availability Zone | Alive | State | Binary |
+------
| 2c5f8c3d-
| 4833fd16-
| 4909e7f0-
| 7e04f3df-
| d646ace9-
| bbb33d2c-
| e8cc2321-
after ovn install verify:
sudo ovn-sbctl show
Chassis "bbb33d2c-
hostname: compute1
Encap vxlan
ip: "192.168.122.16"
options: {csum="true"}
Encap geneve
ip: "192.168.122.16"
options: {csum="true"}
Chassis "e8cc2321-
hostname: controller1
Encap geneve
ip: "10.0.0.154"
options: {csum="true"}
I am trying to go through this https:/
but it does not create the network
Hi,
Perhaps first thing: your setup looks strange, you have linuxbridge agent and OVN also, some fixing there is necessary I am sure (OVN controller is Alive state is also strange.
The exception which you receive back is from OVN mech driver (see [1]), and as I see the max_tun_id here is coming from OVN global settings.
So you have to check your OVN settings to see why this max_tunid is set to 4095, and from the other perspcetive if this value is set for some reason why you try to use larger segmentation id than that?
[1]: https:/ /opendev. org/openstack/ neutron/ src/branch/ master/ neutron/ plugins/ ml2/drivers/ ovn/mech_ driver/ mech_driver. py#L495- L516