Reviewed: https://review.opendev.org/c/openstack/neutron/+/951863 Committed: https://opendev.org/openstack/neutron/commit/ffc150932552c0c8410435e71bb18155448ad6d5 Submitter: "Zuul (22348)" Branch: master
commit ffc150932552c0c8410435e71bb18155448ad6d5 Author: yatinkarel <[email protected]> Date: Thu Jun 5 19:49:14 2025 +0530 Fix nova notification on port unplug Wrong event was send on port unplug which is misleading, this patch fixes it. Closes-Bug: #2112569 Change-Id: I95f50519f1eaf9023804bcd36a8b8e834b53d140 ** Changed in: neutron Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/2112569 Title: [ml2/ovn] Neutron sending network-vif-plugged event to nova on port down Status in neutron: Fix Released Bug description: The method signature[1][2] expects current and previous state but we passing[3] previous and current state and this leads to incorrect event being send to nova with port unplug i.e openstack server remove port <server> <port> This bug is to track the fix for this. [1] https://github.com/openstack/neutron/blob/66e0b19004c3b9145884747a3ebceb7e5b3c5993/neutron/notifiers/nova.py#L209-L210 [2] def record_port_status_changed(self, port, current_port_status, previous_port_status, initiator): [3] https://github.com/openstack/neutron/blob/66e0b19004c3b9145884747a3ebceb7e5b3c5993/neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py#L1328 To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/2112569/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

