Fix confirm resize policy issue

Bug #928649 reported by Rick Harris
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Mark Washenberger

Bug Description

https://paste.slicehost.com/show/5923/

Two issues appear to be at play here:

1. compute_api.confirm_resize takes an instance object not, not a UUID

2. nova/common/policy relies on context.roles for determining admin-ness and not is_admin. This means we need to set 'admin' role if is_admin=True.

Changed in nova:
assignee: nobody → Rick Harris (rconradharris)
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/3886

Changed in nova:
assignee: Rick Harris (rconradharris) → Mark Washenberger (markwash)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit f33de5c9ad6217a9daa1bafd8f1d3e71f618dda2
Author: Rick Harris <email address hidden>
Date: Wed Feb 8 06:52:14 2012 +0000

    Fix confirm_resize policy handling

    Fixes bug 928649

    markwash:
     - fixed pep8 violation

    Change-Id: Ie1c3136256dac0e350e430ac7c69eba4cb98b158

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