Periodic Task _reclaim_queued_deletes fail on deallocating floating IP

Bug #1045508 reported by Dongdong Zhou
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Dongdong Zhou

Bug Description

If we use queued delete, the task _reclaim_queued_deletes will fail on de-allocating floating IP. It will validate whether the project owns the floating IP by comparing the project_id of the floating IP and the context. However, the periodic task will pass an admin context which doesn't have a proect_id and this will cause the NotAuthorized exception.

Changed in nova:
assignee: nobody → Dongdong Zhou (dzhou121)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/12327
Committed: http://github.com/openstack/nova/commit/c44ce398eacbd95331fb8990390a662cf4ce8f24
Submitter: Jenkins
Branch: master

commit c44ce398eacbd95331fb8990390a662cf4ce8f24
Author: Dongdong Zhou <email address hidden>
Date: Mon Sep 3 21:44:36 2012 +0100

    Allow admins to de-allocate any floating IPs

    Fix bug 1045508

    Change-Id: Ie5be3748c16a592209934cc85777f534e84842bc

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