LBaaS: PortNotFound error when deleting vip object

Bug #1137697 reported by Oleg Bondarev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Gary Kotton

Bug Description

When deleting a vip object haproxy namespace driver tries to unplug vip port (quantum/plugins/services/agent_loadbalancer/drivers/haproxy/namespace_driver.py:86) while that port was already deleted by loadbalancer db plugin before sending a delete command to the agent (quantum/db/loadbalancer/loadbalancer_db.py:451). As a result PortNotFound error is raised . Also corresponding haproxy config dir is not deleted.

Steps to reproduce: create pool and vip objects using quantum client, then delete vip object. An error cab be seen in quantum server and loadbalancer agent logs.

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

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

Changed in quantum:
assignee: nobody → Gary Kotton (garyk)
status: New → In Progress
Gary Kotton (garyk)
Changed in quantum:
milestone: none → grizzly-rc1
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/23371
Committed: http://github.com/openstack/quantum/commit/71331cd2e609ed0d5ef6d277c7aeaa8a9d11ba32
Submitter: Jenkins
Branch: master

commit 71331cd2e609ed0d5ef6d277c7aeaa8a9d11ba32
Author: Gary Kotton <email address hidden>
Date: Sun Mar 3 14:47:31 2013 +0000

    Prevent exception with VIP deletion

    Fixes bug 1137697

    Change-Id: I6de55c674da1202eb9c1e2e11eda2e6de554750c

Changed in quantum:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in quantum:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: grizzly-rc1 → 2013.1
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.