Comment 22 for bug 1901783

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to cinder (stable/victoria)

Reviewed: https://review.opendev.org/c/openstack/cinder/+/798356
Committed: https://opendev.org/openstack/cinder/commit/b6d575b34b036c793727db081668156da1884a2b
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit b6d575b34b036c793727db081668156da1884a2b
Author: Eric Harney <email address hidden>
Date: Sat Jul 17 15:39:31 2021 +0000

    Retry "lvs" call on segfault for _get_thin_pool_free_space

    This is a follow-up to I6824ba4f.

    LVM commands segfault occasionally, exiting with code 139.
    Change I6824ba4f introduced a workaround to retry the command
    when code 139 is returned, which generally works. This expands
    that retry to the case where thin pool space is queried, which
    currently results in the LVM driver reporting no free space to
    the scheduler.

    Further work is needed to expand this to other LVM calls, but
    this patch is narrow in scope to target a particular gate
    failure.

    Related-Bug: #1901783
    Partial-Bug: #1932188
    Closes-Bug: #1932287
    Change-Id: I0a2420f3e4a411f5fa52ebe2d22859b138ef387f
    (cherry picked from commit 410306efb82760191e76b4d40817f38842d87eb0)
    (cherry picked from commit 9ad46817e42b577ae2625ce90a32ee96eb00f427)