yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #29217
[Bug 1430519] [NEW] Quota drivers should not throw QuotaResourceUknown
Public bug reported:
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
** Affects: neutron
Importance: Medium
Assignee: Salvatore Orlando (salvatore-orlando)
Status: New
** Tags: quota
--
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):
New
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
Follow ups
References