Fix multiple issues with revert to snapshot in LVM
Reverts with the LVM driver were happening asynchronously
which resulted in unreliable behavior. This change makes
the reverts synchronous.
Also, the driver now unexports and unmounts both the share and
the snapshot during the revert (required to make the operation
synchronous) which requires changing the driver interface to
include the snapshot access rules in addition to the share access
rules.
Reviewed: https:/ /review. openstack. org/488569 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=5cb87d5dc3c c6ac11de07ed997 1f5eff747c6e44
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5cb87d5dc3cc6ac 11de07ed9971f5e ff747c6e44
Author: Ben Swartzlander <email address hidden>
Date: Fri Jul 28 14:50:45 2017 -0400
Fix multiple issues with revert to snapshot in LVM
Reverts with the LVM driver were happening asynchronously
which resulted in unreliable behavior. This change makes
the reverts synchronous.
Also, the driver now unexports and unmounts both the share and
the snapshot during the revert (required to make the operation
synchronous) which requires changing the driver interface to
include the snapshot access rules in addition to the share access
rules.
Closes-bug: #1707943
Change-Id: Ifea1799e1d2e39 63fec7e90ce3f9c b47b9f02f4f