Comment 7 for bug 1874032

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.opendev.org/734776
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=be9b7358473ca5276cff3c6491f88cd512d118b8
Submitter: Zuul
Branch: master

commit be9b7358473ca5276cff3c6491f88cd512d118b8
Author: Alexandre Arents <email address hidden>
Date: Tue Jun 9 14:17:37 2020 +0000

    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