Merge "add netapp copyoffload provider location"

This commit is contained in:
Zuul 2023-01-21 00:03:59 +00:00 committed by Gerrit Code Review
commit 1566d81f80
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,5 @@
---
fixes:
- |
`Bug #1953168 <https://bugs.launchpad.net/cinder/+bug/1965952>`_:
add netapp copyoffload provider location