Merge "Stop unnecessarily querying storage for stats"
This commit is contained in:
commit
82343ec33b
@ -859,7 +859,6 @@ class VolumeManager(manager.CleanableManager,
|
||||
QUOTAS.commit(context, reservations, project_id=project_id)
|
||||
|
||||
self._update_allocated_capacity(volume, decrement=True)
|
||||
self.publish_service_capabilities(context)
|
||||
|
||||
msg = "Deleted volume successfully."
|
||||
if unmanage_only:
|
||||
@ -2784,7 +2783,6 @@ class VolumeManager(manager.CleanableManager,
|
||||
self._notify_about_volume_usage(
|
||||
context, volume, "retype",
|
||||
extra_usage_info={'volume_type': new_type_id})
|
||||
self.publish_service_capabilities(context)
|
||||
LOG.info("Retype volume completed successfully.",
|
||||
resource=volume)
|
||||
|
||||
@ -3408,7 +3406,6 @@ class VolumeManager(manager.CleanableManager,
|
||||
group.destroy()
|
||||
self._notify_about_group_usage(
|
||||
context, group, "delete.end")
|
||||
self.publish_service_capabilities(context)
|
||||
LOG.info("Delete group "
|
||||
"completed successfully.",
|
||||
resource={'type': 'group',
|
||||
|
Loading…
x
Reference in New Issue
Block a user