← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1337991] [NEW] absolute limits API doesn't take user quotas into account

 

Public bug reported:

The limits API always returns the per tenant limits and not any per-user
limits that may exist.

https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/limits.py#L94-95

The call to get_project_quotas should be replaced with a call to
get_user_quotas.

I suspect this just got missed when per-user project quotas were
introduced.

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  absolute limits API doesn't take user quotas into account

Status in OpenStack Compute (Nova):
  New

Bug description:
  The limits API always returns the per tenant limits and not any per-
  user limits that may exist.

  https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/limits.py#L94-95

  The call to get_project_quotas should be replaced with a call to
  get_user_quotas.

  I suspect this just got missed when per-user project quotas were
  introduced.

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


Follow ups

References