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 fd2c17edc0332e20149e1aed652a613f2f90de61)
Change-Id: Ice78889573a36ff5e8873a0d316ddcf180d0263f
Closes-bug: #1690954
Reviewed: https:/ /review. openstack. org/567893 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=dbca62c207d 63bbc192acf75ae 39c6b56702295a
Committed: https:/
Submitter: Zuul
Branch: stable/ocata
commit dbca62c207d63bb c192acf75ae39c6 b56702295a
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 fd2c17edc0332e2 0149e1aed652a61 3f2f90de61) f5e8873a0d316dd cf180d0263f
Change-Id: Ice78889573a36f
Closes-bug: #1690954