58538ace35
The resources in quota_usages table will minus 1 while
soft deleting an instance. But the soft-deleted instances
are counted when synchronizing quota_usages using command
"nova-manage project quota_usage_refresh". So we filter
out soft-deleted instances when synchronizing quota_usage.
We didn't need to do this on master as the quota_usage_refresh
command has been removed in 17.0.0 (Queens). And the
_instance_data_get_for_user function is already removed
in commit
|
||
---|---|---|
.. | ||
__init__.py | ||
fakes.py | ||
test_db_api.py | ||
test_migration_utils.py | ||
test_migrations.py | ||
test_models.py | ||
test_sqlalchemy_migration.py |