nova/nova
Jay Pipes 8153cddad1 quota: remove QuotaDriver.destroy_all_by_project()
Removes the unnecessary QuotaDriver.destroy_all_by_project() and
destroy_all_by_project_and_users() methods. nova.objects.Quotas already
had these methods and this patch changes the one place that was calling
the old QuotaDriver method (from the nova API /quota_sets endpoint) to
just call the nova.objects.Quotas methods of the same name.

Note that the NoopQuotaDriver's destroy_all_by_project() and
destroy_all_by_project_and_user() methods were no-ops. Now the
quota-sets API will be calling the objects.Quotas.destroy_xxx() methods
which will raise ProjectUserQuotaNotFound instead of returning a 204.
If the user is calling DELETE /os-quota-sets and there is the Noop quota
driver configured, and the response is a 404 Not Found, do we really
care?

In the future, we should be getting rid of the os-quota-sets API
entirely and using Keystone's /limits API.

One more set of methods gone from QuotaDriver...

Change-Id: Ifc0a409bd179807db18f2e7b59ea9d4d67e9a798
2018-10-24 11:14:31 -04:00
..
api quota: remove QuotaDriver.destroy_all_by_project() 2018-10-24 11:14:31 -04:00
cells Add instance action record for snapshot instances 2017-12-11 17:46:38 +08:00
cmd Handle online_data_migrations exceptions 2018-10-16 15:49:51 +00:00
common
compute Merge "Ensure attachment cleanup on failure in driver.pre_live_migration" 2018-10-22 19:33:16 +00:00
conductor conductor: Recreate volume attachments during a reschedule 2018-10-22 15:29:15 -04:00
conf Document each libvirt.sysinfo_serial choice 2018-10-19 08:38:45 -04:00
console Use nova-consoleauth only if workaround enabled 2018-10-11 18:23:02 +00:00
consoleauth Fix stacktraces with redis caching backend 2018-09-27 13:15:11 -04:00
db Merge "Add volume_type field to BlockDeviceMapping object" 2018-10-12 05:54:20 +00:00
hacking Use nova.db.api directly 2018-07-10 14:56:27 +00:00
image Implement certificate_utils 2018-06-12 14:44:32 -04:00
ipv6
keymgr
locale Imported Translations from Zanata 2018-09-23 06:53:32 +00:00
network Merge "Handle IndexError in _populate_neutron_binding_profile" 2018-10-11 22:09:58 +00:00
notifications Transform volume.usage notification 2018-10-09 06:28:11 +00:00
objects Merge "Don't persist RequestSpec.requested_destination" 2018-10-19 20:03:47 +00:00
pci network: update pci request spec to handle trusted tags 2018-05-31 13:55:40 -04:00
policies Merge "Allow ability for non admin users to use all filters on server list." 2018-09-23 05:17:23 +00:00
privsep privsep: Handle ENOENT when checking for direct IO support 2018-08-27 17:03:46 +01:00
scheduler Enable nested allocation candidates in scheduler 2018-10-04 13:44:49 +02:00
servicegroup Fix service list for disabled compute using MC driver 2018-08-14 14:11:22 +08:00
tests quota: remove QuotaDriver.destroy_all_by_project() 2018-10-24 11:14:31 -04:00
virt Merge "Fix NoneType error in _notify_volume_usage_detach" 2018-10-17 13:54:39 +00:00
vnc
volume Add compute API validation for when a volume_type is requested 2018-10-11 16:04:53 -04:00
__init__.py
availability_zones.py
baserpc.py
block_device.py Add microversion 2.67 to support volume_type 2018-10-12 02:57:58 -04:00
cache_utils.py
config.py Configure placement DB context manager for nova-manage/status 2018-09-05 10:29:48 -04:00
context.py Add scatter-gather-single-cell utility 2018-10-03 19:22:49 +02:00
crypto.py Convert certificate generation to processutils. 2018-05-02 19:18:41 +10:00
debugger.py
exception.py Merge "Add compute API validation for when a volume_type is requested" 2018-10-12 05:56:48 +00:00
exception_wrapper.py Add full traceback to ExceptionPayload in versioned notifications 2018-06-19 16:46:46 +08:00
filters.py
hooks.py
i18n.py correct referenced url in comments 2018-01-18 09:16:37 +08:00
loadables.py
manager.py conf: Remove 'db_driver' config opt 2018-03-16 17:23:16 +00:00
policy.py
profiler.py
quota.py quota: remove QuotaDriver.destroy_all_by_project() 2018-10-24 11:14:31 -04:00
rc_fields.py Nix unused raise_if_custom_resource_class_pre_v1_1 2018-06-18 19:52:45 +00:00
rpc.py Use oslo.messaging per-call monitoring 2018-06-11 14:44:10 -07:00
safe_utils.py
service.py Move conductor wait_until_ready() delay before manager init 2018-08-31 12:50:10 -07:00
service_auth.py
test.py Move test.nested to utils.nested_contexts 2018-10-06 18:16:58 +01:00
utils.py Move test.nested to utils.nested_contexts 2018-10-06 18:16:58 +01:00
version.py
weights.py
wsgi.py Refactor WSGI apps and utils to limit imports 2018-03-06 22:05:12 +00:00