exception when associating floating IP with mismatched tenants

Bug #1048104 reported by dan wendlandt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
dan wendlandt

Bug Description

if a port is owned by a tenant, the floating ip associated with that port must be owned by the same tenant.

the current code correctly checks for this, but there can be an exception when generating the exception reporting a tenant mismatch. This, combined with bad error reporting in the client, can lead people to think they correctly associated a floating IP when they did not.

dan wendlandt (danwent)
Changed in quantum:
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → dan wendlandt (danwent)
milestone: none → folsom-rc1
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/12665

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

Reviewed: https://review.openstack.org/12665
Committed: http://github.com/openstack/quantum/commit/1820686852fe5742547f106a4696bf4530fa970c
Submitter: Jenkins
Branch: master

commit 1820686852fe5742547f106a4696bf4530fa970c
Author: Dan Wendlandt <email address hidden>
Date: Sat Sep 8 22:25:19 2012 -0700

    fix generation of exception for mismatched floating ip tenant-ids

    bug 1048104

    There was a KeyError in the case where we tried to throw an exception
    to inform the user that a newly created floating ip could not be
    associated with the requested port because they belonged to different
    tenants.

    Change-Id: I387e5f166761da78b941b62a9a396809491b8f09

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: folsom-rc1 → 2012.2
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.