commit 58538ace357d97bd9a06ce042aadc2928b1ff5bc
Author: huanhongda <email address hidden>
Date: Sat May 26 22:40:27 2018 +0800
[Stable Only] Remove soft-deleted instances from quota_usages
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 c881e77819f1b8ca48c0dfd0ebfb75daaabf1033. https://review.openstack.org/#/c/570865/
Reviewed: https:/ /review. openstack. org/579093 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=58538ace357 d97bd9a06ce042a adc2928b1ff5bc
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 58538ace357d97b d9a06ce042aadc2 928b1ff5bc
Author: huanhongda <email address hidden>
Date: Sat May 26 22:40:27 2018 +0800
[Stable Only] Remove soft-deleted instances from quota_usages
The resources in quota_usages table will minus 1 while refresh" . So we filter
soft deleting an instance. But the soft-deleted instances
are counted when synchronizing quota_usages using command
"nova-manage project quota_usage_
out soft-deleted instances when synchronizing quota_usage.
We didn't need to do this on master as the quota_usage_refresh data_get_ for_user function is already removed a48c0dfd0ebfb75 daaabf1033. /review. openstack. org/#/c/ 570865/
command has been removed in 17.0.0 (Queens). And the
_instance_
in commit c881e77819f1b8c
https:/
Change-Id: I8dcbe1e5f3f70d dd7067fed1125ef 3379044ab0f
Closes-bug: #1773542