← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1430519] Re: Quota drivers should not throw QuotaResourceUknown

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1430519

Title:
  Quota drivers should not throw QuotaResourceUknown

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  Resource registration for Quota enforcement and management is
  performed by the quota engine [1].

  However the task of verifying whether a resource is registered is left
  to the drivers [2]. This is conceptually wrong, and it also has the
  not so nice effect that the engine must pass registered resources to
  the driver as a parameter in limit_check.

  [1] http://git.openstack.org/cgit/openstack/neutron/tree/neutron/quota.py#n238
  [2] http://git.openstack.org/cgit/openstack/neutron/tree/neutron/db/quota_db.py#n115

  This was discovered during the implementation of a reservation system
  within the quota engine. The bug, albeit not critical, grants for a
  standalone patch not squashed into the commits for
  https://blueprints.launchpad.net/neutron/+spec/better-quotas

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


References