nova/releasenotes/notes/bug-1874032-2b01ed05bc7f6f8d.yaml
Alexandre Arents be9b735847 Snapshot: offload glance upload in a native thread
Execute glance upload in a native thread as it may block the current
coroutine until it completes.

Despite the fact we use eventlet monkey_patching [1] to achieve cooperative
yielding for network IO, file IO on busy file system may still get
nova-compute hanging.

Stick those IO in a native thread using eventlet tpool.execute() [2]
avoid this issue.

[1] https://eventlet.net/doc/patching.html
[2] https://eventlet.net/doc/threading.html

Closes-Bug: #1874032
Change-Id: I8dbc579e0037969aab4f2bb500fccfbde4190726
2020-06-30 07:21:02 +00:00

9 lines
347 B
YAML

fixes:
- |
This release contains a fix for `bug 1874032`_ which delegates snapshot
upload into a dedicated thread. This ensures nova compute service stability
on busy environment during snapshot, when concurrent snapshots or any
other tasks slow down storage performance.
.. _bug 1874032: https://launchpad.net/bugs/1874032