diff --git a/cinder/volume/drivers/netapp/dataontap/nfs_cmode.py b/cinder/volume/drivers/netapp/dataontap/nfs_cmode.py index f070fe10ec0..1d53c1a2cd5 100644 --- a/cinder/volume/drivers/netapp/dataontap/nfs_cmode.py +++ b/cinder/volume/drivers/netapp/dataontap/nfs_cmode.py @@ -639,6 +639,8 @@ class NetAppCmodeNfsDriver(nfs_base.NetAppNfsDriver, copied = True elif (cache_copy and self.configuration.netapp_copyoffload_tool_path): + volume['provider_location'] = volume_utils.extract_host( + volume['host'], level='pool') LOG.debug("Trying copy from cache using copy offload.") self._copy_from_remote_cache(volume, image_id, cache_copy) copied = True diff --git a/releasenotes/notes/bug-b3c37df596c7a632.yaml b/releasenotes/notes/bug-b3c37df596c7a632.yaml new file mode 100644 index 00000000000..17c87faa56a --- /dev/null +++ b/releasenotes/notes/bug-b3c37df596c7a632.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + `Bug #1953168 `_: + add netapp copyoffload provider location