OpenStack Discussions

Highlighted

Fail to use copy offload in OpenStack

My customer is building on OpenStack infrastructure. They use NetApp FAS as NFS backend for Cinder and Glance, but copy offload is not worked well. Can some one please tell me the solution?

They configured Cinder and Glance by the following procedure.
http://netapp.github.io/openstack-deploy-ops-guide/newton/content/glance.eic.configuration.html


And they tried to create a volume by specifying an arbitrary image file as input. However, according to the following message in cinder-volume.log, regular copy seemed to occur instead of copy offload. 
---------------
2020-03-25 11:25:01.747 78 INFO cinder.volume.drivers.netapp.dataontap.nfs_base [req-5f62f3a6-8b1b-47ac-9cd6-cf26975f2834 df296d1ff49d44189a6c96e359f94d7b aebd16741d79499b8d5c30a2f3c6d752 - default default] Copied image to volume b0e7ce01-6d9d-43dd-9143-c1564dca887b using regular download.
---------------

 

Furthermore, It was found from this log that it could not get a vserver for input IP address. We think it might be the cause of the failure, but we don't know what we should do.
---------------

2020-03-25 11:24:50.225 78 DEBUG cinder.volume.drivers.netapp.dataontap.nfs_cmode [req-5f62f3a6-8b1b-47ac-9cd6-cf26975f2834 df296d1ff49d44189a6c96e359f94d7b aebd16741d79499b8d5c30a2f3c6d752 - default default] Trying copy from image service using copy offload. _copy_from_img_service /usr/lib/python3.6/site-packages/cinder/volume/drivers/netapp/dataontap/nfs_cmode.py:568
2020-03-25 11:24:50.914 78 DEBUG cinder.utils [req-5f62f3a6-8b1b-47ac-9cd6-cf26975f2834 df296d1ff49d44189a6c96e359f94d7b aebd16741d79499b8d5c30a2f3c6d752 - default default] Asked to resolve hostname 192.168.5.70 and got IP 192.168.5.70. resolve_hostname /usr/lib/python3.6/site-packages/cinder/utils.py:1012
2020-03-25 11:24:50.914 78 DEBUG cinder.utils [req-5f62f3a6-8b1b-47ac-9cd6-cf26975f2834 df296d1ff49d44189a6c96e359f94d7b aebd16741d79499b8d5c30a2f3c6d752 - default default] Asked to resolve hostname 192.168.5.70 and got IP 192.168.5.70. resolve_hostname /usr/lib/python3.6/site-packages/cinder/utils.py:1012
2020-03-25 11:24:50.930 78 INFO cinder.volume.drivers.netapp.dataontap.nfs_base [req-5f62f3a6-8b1b-47ac-9cd6-cf26975f2834 df296d1ff49d44189a6c96e359f94d7b aebd16741d79499b8d5c30a2f3c6d752 - default default] Image cloning unsuccessful for image 08bcdbf5-b499-4cba-9841-ad938fe1dc18. Message: Source host details not found.
---------------

 

Please and thank you for any help!

Try the NEW Knowledgebase!
NetApp KB Site
Forums