Wrong error message when removing interface from router.

Bug #1906508 reported by Mamatisa Nurmatov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Mamatisa Nurmatov

Bug Description

Release: Train (applicable to master as well)
1) Two subnets from different nets with same cidr(10.0.0.0/24): subnet1, subnet2
2) subnet1 is added to router
3) subnet1 has ports with floating IP assigned
4) User is trying to delete subnet2 interface from router

Actual error: interface for subnet2 cannot be deleted as it is required by floating ip
Expected error: router has no interface on subnet2

Changed in neutron:
assignee: nobody → Mamatisa Nurmatov (isabek)
Revision history for this message
Mamatisa Nurmatov (isabek) wrote :
Changed in neutron:
status: New → In Progress
Changed in neutron:
importance: Undecided → Low
Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

That's weird because, as you stated, if both subnets have the same cidr, we check that the FIP internal IP address belongs to subnet_cidr, but in this case both are the same.

Changed in neutron:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 18.0.0.0rc1

This issue was fixed in the openstack/neutron 18.0.0.0rc1 release candidate.

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :
Changed in neutron:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.