Merge "Enable service capabilities update at less than 60 seconds"
This commit is contained in:
commit
931816722d
@ -2627,7 +2627,7 @@ class VolumeManager(manager.CleanableManager,
|
|||||||
|
|
||||||
return volume_stats
|
return volume_stats
|
||||||
|
|
||||||
@periodic_task.periodic_task
|
@periodic_task.periodic_task(spacing=CONF.periodic_interval)
|
||||||
def publish_service_capabilities(self, context):
|
def publish_service_capabilities(self, context):
|
||||||
"""Collect driver status and then publish."""
|
"""Collect driver status and then publish."""
|
||||||
self._report_driver_status(context)
|
self._report_driver_status(context)
|
||||||
|
6
releasenotes/notes/bug-1695018-a2c01fb9e638a105.yaml
Normal file
6
releasenotes/notes/bug-1695018-a2c01fb9e638a105.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixed issue where Cinder periodic tasks could not be configured to run
|
||||||
|
more often than every 60 seconds. Setting ``periodic_interval`` in
|
||||||
|
cinder.conf to less than 60 will now work as expected.
|
Loading…
x
Reference in New Issue
Block a user