Public bug reported: When creating trunk with a different mtu size(the parent has smaller than subport) it will be fail and give error "ConflictException: 409". in example if we create it on cli:
openstack network create --internal --mtu 1500 internal-1 openstack subnet create --network internal-1 --subnet-range 10.10.10.0/24 internal-1-subnet openstack port create --network internal-1 trunk openstack network create --internal --mtu 5000 internal-2 openstack subnet create --network internal-2 --subnet-range 20.20.20.0/24 internal-2-subnet openstack port create --network internal-2 subport openstack network trunk create --parent-port trunk --subport port=subport,segmentation-type=vlan,segmentation-id=10 trunk1 it's should trow a error ConflictException: 409: Client Error for url: http://38.108.68.19:9696/networking/v2.0/trunks, MTU 5000 of subport adfe2497-af09-4375-94fa-3133cec89111 cannot be greater than MTU 1500 of trunk a5791590-b928-4541-84c7-77a2f77ed058. but if we do the same from horizon it's only showing "Error: Unable to create the trunk." and "TypeError: response is undefined" The error message in horizon should be clear to avoid confusion ** Affects: horizon Importance: Undecided Status: New ** Attachment added: "Screenshot 2025-03-25 204204.png" https://bugs.launchpad.net/bugs/2104147/+attachment/5867205/+files/Screenshot%202025-03-25%20204204.png -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Dashboard (Horizon). https://bugs.launchpad.net/bugs/2104147 Title: Unexpected error message when create Trunk Status in OpenStack Dashboard (Horizon): New Bug description: When creating trunk with a different mtu size(the parent has smaller than subport) it will be fail and give error "ConflictException: 409". in example if we create it on cli: openstack network create --internal --mtu 1500 internal-1 openstack subnet create --network internal-1 --subnet-range 10.10.10.0/24 internal-1-subnet openstack port create --network internal-1 trunk openstack network create --internal --mtu 5000 internal-2 openstack subnet create --network internal-2 --subnet-range 20.20.20.0/24 internal-2-subnet openstack port create --network internal-2 subport openstack network trunk create --parent-port trunk --subport port=subport,segmentation-type=vlan,segmentation-id=10 trunk1 it's should trow a error ConflictException: 409: Client Error for url: http://38.108.68.19:9696/networking/v2.0/trunks, MTU 5000 of subport adfe2497-af09-4375-94fa-3133cec89111 cannot be greater than MTU 1500 of trunk a5791590-b928-4541-84c7-77a2f77ed058. but if we do the same from horizon it's only showing "Error: Unable to create the trunk." and "TypeError: response is undefined" The error message in horizon should be clear to avoid confusion To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/2104147/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp