Create floating agent gw port for DVR fails

Bug #1943846 reported by Szymon Wróblewski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Szymon Wróblewski

Bug Description

_create_dvr_floating_gw_port fails due to missing notification payload field:

Error during notification for neutron.services.l3_router.l3_router_plugin.DVRResourceOperationHandler._create_dvr_floating_gw_port--9223372036853272501 floatingip, after_create: KeyError: 'fixed_port_id'
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/neutron_lib/callbacks/manager.py", line 197, in _notify_loop
    callback(resource, event, trigger, **kwargs)
  File "/opt/stack/neutron/neutron/db/l3_dvr_db.py", line 359, in _create_dvr_floating_gw_port
    context, fip['fixed_port_id'])
KeyError: 'fixed_port_id'

description: updated
Changed in neutron:
assignee: nobody → Szymon Wróblewski (bluex)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/809438

Changed in neutron:
status: New → In Progress
Akihiro Motoki (amotoki)
tags: added: l3-dvr-backlog
Changed in neutron:
importance: Undecided → High
milestone: none → xena-rc2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/809438
Committed: https://opendev.org/openstack/neutron/commit/0234aa61571c80f8d5fa7f78ae90780d848fd610
Submitter: "Zuul (22348)"
Branch: master

commit 0234aa61571c80f8d5fa7f78ae90780d848fd610
Author: Szymon Wroblewski <email address hidden>
Date: Thu Sep 16 18:37:34 2021 +0200

    Fix _create_dvr_floating_gw_port missing payload field

    Change Ia462ca4b340cd3d9a27341632b24926c3290a4b2 modified some
    notification payload field names.
    Because of that _create_dvr_floating_gw_port fails with missing
    'fixed_port_id' field since it's now 'port_id'.

    Closes-Bug: #1943846
    Change-Id: I37d8722c74dfc122030175f54404703780c4d8b2

Changed in neutron:
status: In Progress → Fix Released
tags: added: neutron-proactive-backport-potential
tags: removed: neutron-proactive-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 20.0.0.0rc1

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

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.