← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2112569] [NEW] [ml2/ovn] Neutron sending network-vif-plugged event to nova on port down

 

Public bug reported:

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

** Affects: neutron
     Importance: Undecided
         Status: In Progress

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

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



Follow ups