commit bd19642dfd69af3c63dd4d3711d25c353eed4ab6
Author: Goutham Pacha Ravi <email address hidden>
Date: Wed Nov 11 23:25:32 2020 -0800
Retry unmount operation on the LVM driver
When a share is mounted on the same host as the manila-share
process, the kernel prevents us from destroying the
mount directory until the share has been cleanly unmounted
from the host. Kernel mounts can take a few seconds to get
unmounted fully especially when there are a lot of
linux namespaces that the mountpoint has been shared to.
Add a retry on these operations to harden the deletion
process and prevent spurious failures.
Change-Id: I3c1a2ec19d6bc18638db0875519ce60f2c89f33a
Closes-Bug: #1903773
Related-Bug: #1896672
Signed-off-by: Goutham Pacha Ravi <email address hidden>
(cherry picked from commit 8a691d8631b9fdb18996566e0706e05776fa0ec4)
Reviewed: https:/ /review. opendev. org/763061 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=bd19642dfd6 9af3c63dd4d3711 d25c353eed4ab6
Committed: https:/
Submitter: Zuul
Branch: stable/victoria
commit bd19642dfd69af3 c63dd4d3711d25c 353eed4ab6
Author: Goutham Pacha Ravi <email address hidden>
Date: Wed Nov 11 23:25:32 2020 -0800
Retry unmount operation on the LVM driver
When a share is mounted on the same host as the manila-share
process, the kernel prevents us from destroying the
mount directory until the share has been cleanly unmounted
from the host. Kernel mounts can take a few seconds to get
unmounted fully especially when there are a lot of
linux namespaces that the mountpoint has been shared to.
Add a retry on these operations to harden the deletion
process and prevent spurious failures.
Change-Id: I3c1a2ec19d6bc1 8638db0875519ce 60f2c89f33a 18996566e0706e0 5776fa0ec4)
Closes-Bug: #1903773
Related-Bug: #1896672
Signed-off-by: Goutham Pacha Ravi <email address hidden>
(cherry picked from commit 8a691d8631b9fdb