Skip to main content
NetApp Knowledge Base

OpenStack: During new Cinder volume creation copying image from Glance takes long time

Views:
282
Visibility:
Public
Votes:
4
Category:
openstack
Specialty:
virt
Last Updated:

Applies to

  • OpenStack Yoga and earlier releases
  • NFS

Issue

When provisioning a new Cinder volume:

  • Volume provisioning can take 10 minutes or more
  • When reviewing the Cinder volume.log, a bulk of the time is spent pulling the Glance image:

2022-07-12 10:58:56.195 190 DEBUG cinder.image.image_utils [req-xxxx] Image fetch details: dest /var/lib/cinder/conversion/image_fetch_1234host@netapp, size 3012.00 MB, duration 544.82 sec fetch /usr/lib/python3.6/site-packages/cinder/image/image_utils.py:465

2022-07-12 10:58:56.195 190 INFO cinder.image.image_utils [req-xxxx] Image download 3012.00 MB at 5.53 MB/s   

  • The above image fetch task took over 9 minutes to complete.

Performing a copy outside of OpenStack takes seconds:

# time cp /var/lib/glance/images/1234-5678-abcd-1234-123456789012 temp/     
                                                                
real    0m4.030s
user    0m0.004s
sys     0m1.495s

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.