On ONTAP NFS driver, the export path was being used as the volume
name. If the export path is different than the volume name, the
API call to delete files would fail and the driver would invoke
a fallback method that deletes the files manually. This patch fixes
that by finding the correct volume name.
(cherry-picked from commit 64df0693991bd3815acc8e445da912a499198f7e)
Change-Id: Ice78889573a36ff5e8873a0d316ddcf180d0263f
Closes-bug: #1690954
Reviewed: https:/ /review. openstack. org/564626 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=fd2c17edc03 32e20149e1aed65 2a613f2f90de61
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit fd2c17edc0332e2 0149e1aed652a61 3f2f90de61
Author: tpsilva <email address hidden>
Date: Wed Apr 4 13:24:33 2018 -0300
NetApp ONTAP: Fix export path used as volume name
On ONTAP NFS driver, the export path was being used as the volume
name. If the export path is different than the volume name, the
API call to delete files would fail and the driver would invoke
a fallback method that deletes the files manually. This patch fixes
that by finding the correct volume name.
(cherry-picked from commit 64df0693991bd38 15acc8e445da912 a499198f7e) f5e8873a0d316dd cf180d0263f
Change-Id: Ice78889573a36f
Closes-bug: #1690954