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 4d75cbf3c35a8aa917d3970beac99d612f13eed3)
Change-Id: Ice78889573a36ff5e8873a0d316ddcf180d0263f
Closes-bug: #1690954
Reviewed: https:/ /review. openstack. org/563150 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=64df0693991 bd3815acc8e445d a912a499198f7e
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 64df0693991bd38 15acc8e445da912 a499198f7e
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 4d75cbf3c35a8aa 917d3970beac99d 612f13eed3) f5e8873a0d316dd cf180d0263f
Change-Id: Ice78889573a36f
Closes-bug: #1690954