Quantum manager is not removing vifs/interfaces in Melange when deleting instances

Bug #925618 reported by Troy Toman
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Medium
Troy Toman

Bug Description

The quantum manager creates vifs in melange through the following call:

        vif['address'] = m_ipam.create_vif(vif['uuid'],
                                           vif['instance_id'],
                                           context.project_id)

However, it does not do a corresponding removal when instances are deleted. As a result, interfaces remain in the Melange table after instances are torn down. This is happening with the current Essex trunk code.

Troy Toman (troy-toman)
Changed in nova:
status: New → Confirmed
assignee: nobody → Troy Toman (troy-toman)
Revision history for this message
dan wendlandt (danwent) wrote :

Thanks for catching this. I don't believe the melange stuff has had anything but fairly basic manual testing up until the work your team has started doing.

With Quantum, we're taking the first baby step in this direction using excercise.sh within devstack. We will be extending these tests to verify tear-down as well. Now that melange is in devstack (hooray!), it should be pretty easy to have a similar exercise file for melange. My real goal is to get such tests into tempest so that checks are all in python and directly against the API, but the exercise.sh stuff is a big improvement over our status quo :)

Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Medium
tags: added: quantum-manager
Jian Wen (wenjianhn)
Changed in nova:
status: Confirmed → Invalid
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.