Current code retries three times for deactivation to complete,
waiting one second between retries. On some heavily loaded
systems, and apparently the gate, this is not enough time for
the operation to complete.
This attempts to work around those slower systems by increasing
our retries to 5 and adding a backoff of 2 seconds to give it
more time.
Change-Id: I4f40a1984fe828c8ff965033f7e25b1d7516ab1e
Closes-bug: #1687044
(cherry picked from commit 5744301777e6c557bd44436ad5a45613631d0f08)
Reviewed: https:/ /review. openstack. org/461827 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=30de1d709e7 256c38976a4d11c 1ccae99b8b869b
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit 30de1d709e7256c 38976a4d11c1cca e99b8b869b
Author: Sean McGinnis <email address hidden>
Date: Fri Apr 28 14:14:16 2017 -0500
Give more time for LVM deactivation
Current code retries three times for deactivation to complete,
waiting one second between retries. On some heavily loaded
systems, and apparently the gate, this is not enough time for
the operation to complete.
This attempts to work around those slower systems by increasing
our retries to 5 and adding a backoff of 2 seconds to give it
more time.
Change-Id: I4f40a1984fe828 c8ff965033f7e25 b1d7516ab1e 7bd44436ad5a456 13631d0f08)
Closes-bug: #1687044
(cherry picked from commit 5744301777e6c55