commit 9ad46817e42b577ae2625ce90a32ee96eb00f427
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.
Reviewed: https:/ /review. opendev. org/c/openstack /cinder/ +/797161 /opendev. org/openstack/ cinder/ commit/ 9ad46817e42b577 ae2625ce90a32ee 96eb00f427
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 9ad46817e42b577 ae2625ce90a32ee 96eb00f427
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 f5fa52ebe2d2285 9b138ef387f 91e76b4d40817f3 8842d87eb0)
Partial-Bug: #1932188
Closes-Bug: #1932287
Change-Id: I0a2420f3e4a411
(cherry picked from commit 410306efb827601