← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

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

** Description changed:

  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 same as 1271429.
+ this bug is similar as Bug #1271429.

-- 
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/1278686

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

Status in OpenStack Compute (Nova):
  New

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.

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


Follow ups

References