When 'NetApp NFS Copy Offload' tool is configured to download Glance
images, these images are downloaded twice because the tool is doing
the job after Cinder has already done it.
This patch fixes the bug by executing the copy offload tool inside the
clone_image function instead of using the copy_image_to_volume.
Reviewed: https:/ /review. openstack. org/542773 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=d090efe57bc 2988e1573f4c36c 86d1faea03fda3
Committed: https:/
Submitter: Zuul
Branch: driverfixes/ocata
commit d090efe57bc2988 e1573f4c36c86d1 faea03fda3
Author: Adriano Rosso <email address hidden>
Date: Wed Nov 8 15:51:36 2017 -0200
NetApp ONTAP: Copy offload bugfix
When 'NetApp NFS Copy Offload' tool is configured to download Glance to_volume.
images, these images are downloaded twice because the tool is doing
the job after Cinder has already done it.
This patch fixes the bug by executing the copy offload tool inside the
clone_image function instead of using the copy_image_
Closes-bug: #1632333 /review. openstack. org/542770
Depends-on: https:/
Change-Id: I5c6ad150543213 acfd0c78dbbdb1d c1584d22d26 89a5237cf2becc1 4bb6fc578a)
(cherry-picked from commit c27173bad69da48