Public bug reported: The nova notifier is being called 3 different times for each port event due to multiple instantiations of db_base_plugin_v2 each constructing a new notifier and subscribing it to sqlalchemy events. This can be seen in the logs on each event:
2016-09-10 01:25:52.375 14798 DEBUG neutron.notifiers.nova [req-35cf2ca3-edaa-4e88-9551-c106ab84a031 neutron -] Ignoring state change previous_port_status: DOWN current_port_status: DOWN port_id 92aa19ff-c9c9-4771-ad68-ebe1910ba3dc record_port_status_changed /opt/stack/new/neutron/neutron/notifiers/nova.py:223 2016-09-10 01:25:52.376 14798 DEBUG neutron.notifiers.nova [req-35cf2ca3-edaa-4e88-9551-c106ab84a031 neutron -] Ignoring state change previous_port_status: DOWN current_port_status: DOWN port_id 92aa19ff-c9c9-4771-ad68-ebe1910ba3dc record_port_status_changed /opt/stack/new/neutron/neutron/notifiers/nova.py:223 2016-09-10 01:25:52.376 14798 DEBUG neutron.notifiers.nova [req-35cf2ca3-edaa-4e88-9551-c106ab84a031 neutron -] Ignoring state change previous_port_status: DOWN current_port_status: DOWN port_id 92aa19ff-c9c9-4771-ad68-ebe1910ba3dc record_port_status_changed /opt/stack/new/neutron/neutron/notifiers/nova.py:223 ** Affects: neutron Importance: Undecided Assignee: Kevin Benton (kevinbenton) Status: In Progress ** Changed in: neutron Assignee: (unassigned) => Kevin Benton (kevinbenton) ** Changed in: neutron Milestone: None => mitaka-rc1 -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1622503 Title: nova notifier called 3 times for each port Status in neutron: In Progress Bug description: The nova notifier is being called 3 different times for each port event due to multiple instantiations of db_base_plugin_v2 each constructing a new notifier and subscribing it to sqlalchemy events. This can be seen in the logs on each event: 2016-09-10 01:25:52.375 14798 DEBUG neutron.notifiers.nova [req-35cf2ca3-edaa-4e88-9551-c106ab84a031 neutron -] Ignoring state change previous_port_status: DOWN current_port_status: DOWN port_id 92aa19ff-c9c9-4771-ad68-ebe1910ba3dc record_port_status_changed /opt/stack/new/neutron/neutron/notifiers/nova.py:223 2016-09-10 01:25:52.376 14798 DEBUG neutron.notifiers.nova [req-35cf2ca3-edaa-4e88-9551-c106ab84a031 neutron -] Ignoring state change previous_port_status: DOWN current_port_status: DOWN port_id 92aa19ff-c9c9-4771-ad68-ebe1910ba3dc record_port_status_changed /opt/stack/new/neutron/neutron/notifiers/nova.py:223 2016-09-10 01:25:52.376 14798 DEBUG neutron.notifiers.nova [req-35cf2ca3-edaa-4e88-9551-c106ab84a031 neutron -] Ignoring state change previous_port_status: DOWN current_port_status: DOWN port_id 92aa19ff-c9c9-4771-ad68-ebe1910ba3dc record_port_status_changed /opt/stack/new/neutron/neutron/notifiers/nova.py:223 To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1622503/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp