quota commits to wrong project/user if we use admin user to verify a resized instance of other's
Bug #1278686 reported by
wangpan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
wangpan |
Bug Description
it is that, if the confirmation is launched through admin user,
then the project_id and user_id in context are all admin's, which
result in reservations in DB are also have wrong project_id and
user_id, when these reservations are committed, the quotas usage of
the instance's project/user will become wrong eventually.
this bug can be reproduced both in stable havana and master.
so we need to backport this fix patch to stable havana.
this bug is similar as Bug #1271429.
description: | updated |
Changed in nova: | |
assignee: | nobody → wangpan (hzwangpan) |
Changed in nova: | |
status: | New → In Progress |
tags: | added: icehouse-rc-potential |
tags: |
added: icehouse-backport-potential removed: icehouse-rc-potential |
Changed in nova: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-1 → 2014.2 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/82538 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=bf936b4e582 1ef55260ff714a8 e91b736c37dbd6
Committed: https:/
Submitter: Jenkins
Branch: master
commit bf936b4e5821ef5 5260ff714a8e91b 736c37dbd6
Author: Chris Behrens <email address hidden>
Date: Mon Mar 24 16:20:39 2014 +0000
Use project/user from instance for quotas
If an admin confirms a resize, a periodic task auto-confirms a resize,
or if an admin reverts a resize, these should all use the instance
project/user for quota updates.
Closes-bug: 1271429
Closes-bug: 1278686
Closes-bug: 1278695
Change-Id: I1e128cd4035d01 40e35582de795eb 4d6fb8603f2