commit 8a691d8631b9fdb18996566e0706e05776fa0ec4
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>
Reviewed: https:/ /review. opendev. org/762468 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=8a691d8631b 9fdb18996566e07 06e05776fa0ec4
Committed: https:/
Submitter: Zuul
Branch: master
commit 8a691d8631b9fdb 18996566e0706e0 5776fa0ec4
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
Closes-Bug: #1903773
Related-Bug: #1896672
Signed-off-by: Goutham Pacha Ravi <email address hidden>