cinder/releasenotes/notes/bug-2008017-netapp-fix-native-threads-04d8f58f4c29b03d.yaml
Fernando Ferraz a869c8e222 Fix NetApp NFS driver to never spawn a native thread again
The NetApp NFS driver is spawning a Python native thread to
schedule image cache cleanups, which can lead to unpredictable
behavior such as thread starvation due to its hunger to preempt
other Cinder's fellow threads.

This patch fixes it by reimplementing the NFS image cache cleanup
task as a green thread with a customized periodic interval.

The patch adds the configuration
option ´netapp_nfs_image_cache_cleanup_interval´ to allow
operators to set an interval in seconds between calls to the image
cleanup task.

Closes-Bug: #2008017
Change-Id: I609a4f056d19f67aa7b8113bb38b9e9083f24124
2023-02-24 15:15:06 -03:00

7 lines
200 B
YAML

---
fixes:
- |
`Bug #2008017 <https://bugs.launchpad.net/cinder/+bug/2008017>`_: Fixed
NetApp NFS driver to never spawn a native thread avoid thread starvation
and other related issues.