Floating IP disassociation does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Removing a FIP from a port does not work:
[centos@centos networking-ovn]$ openstack floating ip set --port 51cebfef-
[centos@centos networking-ovn]$ sudo ovn-nbctl list nat |grep dnat_and_snat -B5
external_ids : {"neutron:
external_ip : "172.24.4.24"
external_mac : []
logical_ip : "10.0.0.10"
logical_port : []
type : dnat_and_snat
[centos@centos networking-ovn]$ openstack floating ip unset 172.24.4.24
[centos@centos networking-ovn]$ ping 172.24.4.24
PING 172.24.4.24 (172.24.4.24) 56(84) bytes of data.
64 bytes from 172.24.4.24: icmp_seq=1 ttl=63 time=0.925 ms
64 bytes from 172.24.4.24: icmp_seq=2 ttl=63 time=0.385 ms
^C
--- 172.24.4.24 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.385/0.
[centos@centos networking-ovn]$ sudo ovn-nbctl list nat |grep dnat_and_snat -B5
external_ids : {"neutron:
external_ip : "172.24.4.24"
external_mac : []
logical_ip : "10.0.0.10"
logical_port : []
type : dnat_and_snat
If I try to unset the FIP it still "succeeds" from an API perspective:
[centos@centos networking-ovn]$ openstack floating ip unset 172.24.4.24ç
[centos@centos networking-ovn]$ ping 172.24.4.24
PING 172.24.4.24 (172.24.4.24) 56(84) bytes of data.
64 bytes from 172.24.4.24: icmp_seq=1 ttl=63 time=0.925 ms
64 bytes from 172.24.4.24: icmp_seq=2 ttl=63 time=0.385 ms
^C
--- 172.24.4.24 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.385/0.
[centos@centos networking-ovn]$ sudo ovn-nbctl list nat |grep dnat_and_snat -B5
external_ids : {"neutron:
external_ip : "172.24.4.24"
external_mac : []
logical_ip : "10.0.0.10"
logical_port : []
type : dnat_and_snat
Looks like DeleteNATRuleIn
Changed in networking-ovn: | |
assignee: | nobody → Daniel Alvarez (dalvarezs) |
affects: | osc → python-openstackclient |
Problem seems to be earlier as I can't see neutron calling l3_ovn service plugin to disassociate (nor update) the floating ip here:
http:// git.openstack. org/cgit/ openstack/ networking- ovn/tree/ networking_ ovn/l3/ l3_ovn. py#n254