Error 'Will not send event port_delete_end for network xxx' when agents are alive

Bug #1522471 reported by Sergey Belous
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Sergey Belous

Bug Description

This happens when agents are alive, but none of them managing the network.

Log:
2015-11-24 12:58:48.973 25277 INFO neutron.callbacks.manager [req-6495acd9-ac68-42f4-917d-f3c9fdc6b430 ] Notify callbacks for port, before_delete
2015-11-24 12:58:48.973 25277 INFO neutron.callbacks.manager [req-6495acd9-ac68-42f4-917d-f3c9fdc6b430 ] Calling callback neutron.db.l3_db._prevent_l3_port_delete_callback
2015-11-24 12:58:49.069 25277 INFO neutron.callbacks.manager [req-6495acd9-ac68-42f4-917d-f3c9fdc6b430 ] Notify callbacks for port, after_delete
2015-11-24 12:58:49.070 25277 INFO neutron.callbacks.manager [req-6495acd9-ac68-42f4-917d-f3c9fdc6b430 ] Calling callback neutron.db.l3_db._notify_routers_callback
2015-11-24 12:58:49.070 25277 INFO neutron.callbacks.manager [req-6495acd9-ac68-42f4-917d-f3c9fdc6b430 ] Calling callback neutron.db.l3_dvrscheduler_db._notify_port_delete
2015-11-24 12:58:49.076 25277 WARNING neutron.plugins.ml2.drivers.l2pop.mech_driver [req-6495acd9-ac68-42f4-917d-f3c9fdc6b430 ] Unable to retrieve the agent ip, check the agent configuration.
2015-11-24 12:58:49.495 25277 ERROR neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api [req-6495acd9-ac68-42f4-917d-f3c9fdc6b430 ] Will not send event port_delete_end for network fa002ff9-0df9-4b5f-b8cf-89a933a2f710: no agent available. Payload: {'port_id': u'be3e3447-94a6-4bcc-914c-1c4a87b32b37'}

Sergey Belous (sbelous)
Changed in neutron:
assignee: nobody → Sergey Belous (sbelous)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/253032

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/258894

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/253032
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=7d42ee769cdd4f4dc7b2ca1d85557bc471ce4b7e
Submitter: Jenkins
Branch: master

commit 7d42ee769cdd4f4dc7b2ca1d85557bc471ce4b7e
Author: Sergey Belous <email address hidden>
Date: Thu Dec 3 18:49:13 2015 +0300

    Add check that list of agents is not empty in _get_enabled_agents

    No reason to try get enabled_agents and send notification
    if there are no any agents associated with network.

    Closes-bug: #1522471
    Change-Id: I111967415ce600253fc679837d03c9cd75f19656

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/liberty)

Reviewed: https://review.openstack.org/258894
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=53c46fe9652e149f0743f8e233a74770e3664602
Submitter: Jenkins
Branch: stable/liberty

commit 53c46fe9652e149f0743f8e233a74770e3664602
Author: Sergey Belous <email address hidden>
Date: Thu Dec 3 18:49:13 2015 +0300

    Add check that list of agents is not empty in _get_enabled_agents

    No reason to try get enabled_agents and send notification
    if there are no any agents associated with network.

    Closes-bug: #1522471
    Change-Id: I111967415ce600253fc679837d03c9cd75f19656
    (cherry picked from commit 7d42ee769cdd4f4dc7b2ca1d85557bc471ce4b7e)

tags: added: in-stable-liberty
Akihiro Motoki (amotoki)
Changed in neutron:
importance: Undecided → Low
tags: added: l3-ipam-dhcp
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.