Using NetApp ONTAP file copy for copy offload needs volume provider_location set

Bug #2021739 reported by Michael Arndt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Low
Felipe Rodrigues

Bug Description

The NetApp ONTAP copy offload functionality has the following fix:

https://review.opendev.org/c/openstack/cinder/+/834822

Per the commit, we fixed this by adding these two lines:

                volume['provider_location'] = volume_utils.extract_host(
                    volume['host'], level='pool')

The patch only has them added in nfs_cmode.py def _copy_from_cache just before LOG.debug("Trying copy from cache using copy offload."), however I think we would also need it just before LOG.debug("Trying copy from cache using file copy.").

tags: added: drivers netapp ontap
Changed in cinder:
importance: Undecided → Low
Changed in cinder:
assignee: nobody → Felipe Rodrigues (felipefutty)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.