Filter scheduler elevates context before run_instance

Bug #1072205 reported by Vish Ishaya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Vish Ishaya

Bug Description

The filter scheduler always passes an elevated context to run instance. This prevents the run_instance method in compute manager from verifying if the context is an admin or not. The context should be (and is) elevated on the compute manager side when it is necessary.

Changed in nova:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Vish Ishaya (vishvananda)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

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

Reviewed: https://review.openstack.org/14925
Committed: http://github.com/openstack/nova/commit/7137280f4bc62f70c0a1eb838488a2864d08e3f2
Submitter: Jenkins
Branch: master

commit 7137280f4bc62f70c0a1eb838488a2864d08e3f2
Author: Vishvananda Ishaya <email address hidden>
Date: Sat Oct 27 21:14:41 2012 +0000

    Don't elevate context when calling run_instance

    The filter scheduler should be passing a regular context to compute
    when calling run_instance instead of an elevated context.

    Fixes bug 1072205

    Change-Id: I4d4f96e17eef8050c25b63f4b26d7d376a91cb80

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