diff --git a/nova/db/sqlalchemy/api.py b/nova/db/sqlalchemy/api.py index 4438b2b37..f88955944 100644 --- a/nova/db/sqlalchemy/api.py +++ b/nova/db/sqlalchemy/api.py @@ -3210,6 +3210,11 @@ def quota_destroy_all_by_project(context, project_id): filter_by(project_id=project_id).\ soft_delete(synchronize_session=False) + model_query(context, models.ProjectUserQuota, session=session, + read_deleted="no").\ + filter_by(project_id=project_id).\ + soft_delete(synchronize_session=False) + model_query(context, models.QuotaUsage, session=session, read_deleted="no").\ filter_by(project_id=project_id).\