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 dbca62c207d63bbc192acf75ae39c6b56702295a)
Change-Id: Ice78889573a36ff5e8873a0d316ddcf180d0263f
Closes-bug: #1690954
Reviewed: https:/ /review. openstack. org/572754 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=21b39d24dbd 6fd496f6ba3e211 6b5e705f64a76f
Committed: https:/
Submitter: Zuul
Branch: driverfixes/newton
commit 21b39d24dbd6fd4 96f6ba3e2116b5e 705f64a76f
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 dbca62c207d63bb c192acf75ae39c6 b56702295a) f5e8873a0d316dd cf180d0263f
Change-Id: Ice78889573a36f
Closes-bug: #1690954