Merge "Fix deletion of network quotas"

This commit is contained in:
Zuul 2020-04-13 17:01:14 +00:00 committed by Gerrit Code Review
commit 3d13f07ed6
1 changed files with 2 additions and 1 deletions

View File

@ -1048,6 +1048,8 @@ def get_project_associated_cleanup_services():
project_associated_services.append(NovaQuotaService)
if IS_CINDER:
project_associated_services.append(VolumeQuotaService)
if IS_NEUTRON:
project_associated_services.append(NetworkQuotaService)
return project_associated_services
@ -1076,7 +1078,6 @@ def get_resource_cleanup_services():
resource_cleanup_services.append(NetworkService)
resource_cleanup_services.append(NetworkSecGroupService)
resource_cleanup_services.append(NetworkSubnetPoolsService)
resource_cleanup_services.append(NetworkQuotaService)
if IS_CINDER:
resource_cleanup_services.append(SnapshotService)
resource_cleanup_services.append(VolumeService)