← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1278695] [NEW] quota commits to wrong project/user if we use admin user reverts a resized instance of other's

 

Public bug reported:

it is that, if the resized instance is reverted 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.

** Affects: nova
     Importance: Undecided
     Assignee: wangpan (hzwangpan)
         Status: In Progress

** Changed in: nova
     Assignee: (unassigned) => wangpan (hzwangpan)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1278695

Title:
  quota commits to wrong project/user if we use admin user reverts a
  resized instance of other's

Status in OpenStack Compute (Nova):
  In Progress

Bug description:
  it is that, if the resized instance is reverted 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1278695/+subscriptions


Follow ups

References