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)
Reviewed: https:/ /review. opendev. org/c/openstack /cinder/ +/798356 /opendev. org/openstack/ cinder/ commit/ b6d575b34b036c7 93727db08166815 6da1884a2b
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/victoria
commit b6d575b34b036c7 93727db08166815 6da1884a2b
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) ae2625ce90a32ee 96eb00f427)
Partial-Bug: #1932188
Closes-Bug: #1932287
Change-Id: I0a2420f3e4a411
(cherry picked from commit 410306efb827601
(cherry picked from commit 9ad46817e42b577