[OVN]after create port forwarding, floating ip status is not running

Bug #1910334 reported by ZhouHeng
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
ZhouHeng

Bug Description

env
mechanism_drivers = ovn
service_plugins = ovn-router

after create port forwaring, floating ip status is still down.

Tags: api ovn
tags: added: api ovn
removed: api-ref
Changed in neutron:
importance: Undecided → Low
Changed in neutron:
assignee: nobody → Flavio Fernandes (ffernand)
Revision history for this message
Flavio Fernandes (ffernand) wrote :

Hi ZhouHeng,

I took a look at this and see that indeed the ovn port forwarding implementation makes no attempt
to update the 'status' attribute of the neutron floating ip object. Is that what you are ferring to in this bug?

script: https://gist.github.com/flavio-fernandes/863e48f012b7975e1d46c896b262dfc9

output: https://gist.github.com/flavio-fernandes/f6fdd6cdce461c5e7ba07bedfbc23750#file-log-txt-L176

    +---------------------+--------------------------------------+
    | Field | Value |
    +---------------------+--------------------------------------+
    | created_at | 2021-01-08T15:14:27Z |
    | description | |
    | dns_domain | |
    | dns_name | |
    | fixed_ip_address | None |
    | floating_ip_address | 172.24.4.8 |
    | floating_network_id | bfbcc7c1-c0a6-4581-8afc-e1a9c7bf7fba |
    | id | 6956adad-5fa2-4196-8e4e-07aa5bbd4f5f |
    | name | 172.24.4.8 |
    | port_details | None |
    | port_id | None |
    | project_id | 00de0aa650a7493ebf5dab7dea0dbed6 |
    | qos_policy_id | None |
    | revision_number | 1 |
    | router_id | 1b7c35a3-f5a1-4997-b755-bff64d42901b |
    | status | DOWN | <--- LOOK HERE
    | subnet_id | None |
    | tags | [] |
    | updated_at | 2021-01-08T15:14:33Z |
    +---------------------+--------------------------------------+

Revision history for this message
ZhouHeng (zhouhenglc) wrote :

hi Flavio, is the bug you mentioned. I submitted a patch(https://review.opendev.org/c/openstack/neutron/+/769462/3) to fix this bug.

Akihiro Motoki (amotoki)
Changed in neutron:
status: New → In Progress
assignee: Flavio Fernandes (ffernand) → ZhouHeng (zhouhenglc)
Revision history for this message
Flavio Fernandes (ffernand) wrote :

Excellent. Thank you, ZhouHeng!

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: In Progress → 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.