commit e3fea14788471cca01c8219e1ef638007e64c97f
Author: Goutham Pacha Ravi <email address hidden>
Date: Tue Nov 10 13:31:38 2020 -0800
Retry unmount operation on the ZFSOnLinux driver
When a share is mounted on the same host as the manila-share
process, zfs prevents us from destroying the underlying
dataset 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: I4aba76b72df274d0a8cb90fe0ab8799523c260ef
Closes-Bug: #1903773
Related-Bug: #1896672
Signed-off-by: Goutham Pacha Ravi <email address hidden>
Reviewed: https:/ /review. opendev. org/762212 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=e3fea147884 71cca01c8219e1e f638007e64c97f
Committed: https:/
Submitter: Zuul
Branch: master
commit e3fea14788471cc a01c8219e1ef638 007e64c97f
Author: Goutham Pacha Ravi <email address hidden>
Date: Tue Nov 10 13:31:38 2020 -0800
Retry unmount operation on the ZFSOnLinux driver
When a share is mounted on the same host as the manila-share
process, zfs prevents us from destroying the underlying
dataset 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: I4aba76b72df274 d0a8cb90fe0ab87 99523c260ef
Closes-Bug: #1903773
Related-Bug: #1896672
Signed-off-by: Goutham Pacha Ravi <email address hidden>