Local img-cache files ignored for image transfers--NetApp CDOT driver

Bug #1490641 reported by Mike Rooney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Mike Rooney

Bug Description

The cDOT NFS driver will only attempt to use the local img-cache-* files if the copy offload path is defined in the cinder.conf file. This should be attempted regardless of copy-offload's configuration.

In nfs_cmode.py copy_image_to_volume:

col_path = self.configuration.netapp_copyoffload_tool_path
if major == 1 and minor >= 20 and col_path:
    self._try_copyoffload(context, volume, image_service, image_id)

_try_copyoffload is where the img-cache is attempted to be used.

Mike Rooney (rooneym)
Changed in cinder:
assignee: nobody → Mike Rooney (rooneym)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/223695

Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/223695
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=acc7ddfb6d8edc7e6df7204089b25ba2e996ebef
Submitter: Jenkins
Branch: master

commit acc7ddfb6d8edc7e6df7204089b25ba2e996ebef
Author: Mike Rooney <email address hidden>
Date: Mon Aug 31 11:29:53 2015 -0400

    Local img-cache files ignored for image transfers

    The cDOT NFS driver will only attempt to use the local img-cache-*
    files if the copy offload path is defined in the cinder.conf file.
    This should be attempted regardless of copy-offload's configuration.

    Change-Id: I29e19da7c1e083e9c76cbcea1f397deefe30b016
    Closes-Bug: #1490641

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → liberty-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: liberty-rc1 → 7.0.0
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.