commit a627a29e7225202475a8cdc927911b3cd80b487c
Author: Jan Vondra <email address hidden>
Date: Mon Aug 28 14:57:35 2017 +0200
CIFS extension failing because of volume in use
Unmouting of the volume from service instance sometimes fails because
Windows clients tends to check the availability of shares even if not
mounted and the volume is in use then.
Fix finds out processes via smbstatus and kill them before unmounting.
Closes-Bug: 1703581
Change-Id: I2cbf959d7cb849d3ead1655b1a0932fd428a9e9f
Signed-off-by: Goutham Pacha Ravi <email address hidden>
(cherry picked from commit 2c9fbc75059ac724cd845317473b7df4a8dcdc35)
(cherry picked from commit 95d251e38b4b4526c862a428da93f568fe7a23ad)
(cherry picked from commit b07c2484b6f0d5165d867651fbc123280e7b012d)
(cherry picked from commit a26b027b73669efb2a99530574051d284595b264)
Reviewed: https:/ /review. opendev. org/738890 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=a627a29e722 5202475a8cdc927 911b3cd80b487c
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit a627a29e7225202 475a8cdc927911b 3cd80b487c
Author: Jan Vondra <email address hidden>
Date: Mon Aug 28 14:57:35 2017 +0200
CIFS extension failing because of volume in use
Unmouting of the volume from service instance sometimes fails because
Windows clients tends to check the availability of shares even if not
mounted and the volume is in use then.
Fix finds out processes via smbstatus and kill them before unmounting.
Closes-Bug: 1703581 d3ead1655b1a093 2fd428a9e9f 4cd845317473b7d f4a8dcdc35) 6c862a428da93f5 68fe7a23ad) 65d867651fbc123 280e7b012d) b2a99530574051d 284595b264)
Change-Id: I2cbf959d7cb849
Signed-off-by: Goutham Pacha Ravi <email address hidden>
(cherry picked from commit 2c9fbc75059ac72
(cherry picked from commit 95d251e38b4b452
(cherry picked from commit b07c2484b6f0d51
(cherry picked from commit a26b027b73669ef