Instance reschedule elevates to admin context

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

Bug Description

Some resources should not be available when launching an instance (networks that belong to other projects for example). For this reason the original context should be maintained when rescheduling an instance. Currently the second launch occurs with an elevated context.

Changed in nova:
importance: Undecided → High
status: New → In Progress
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/119470

Changed in nova:
assignee: nobody → Vish Ishaya (vishvananda)
Andrew Laski (alaski)
tags: added: icehouse-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/119470
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=3920787065f5570501035a7e59e2c5d427e2568d
Submitter: Jenkins
Branch: master

commit 3920787065f5570501035a7e59e2c5d427e2568d
Author: Vishvananda Ishaya <email address hidden>
Date: Fri Sep 5 13:21:05 2014 -0700

    Don't elevate context when rescheduling

    The rescheduled launch should be executed with the same context
    as the original request, so make sure that we aren't passing an
    elevated context to reschedule.

    Change-Id: Ic528f10067fa2977cc375c41b9c65d3517524ff8
    Resolves-bug: 1366181

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