when create volume from image, image is fetched twice
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Wishlist
|
Unassigned |
Bug Description
hello,
I am reading cinder source code got confused on creating volume from an image. The problem I am seeing is the image is fetched.
The first time is here
if not cloned:
and the second time is here
def _copy_image_
tmp_dir = volume_
with tempfile.
if encrypted:
def _delete_
IMO downloading image two times is not very efficient especially the image type is raw and original size is huge.
Changed in cinder: | |
importance: | Undecided → Wishlist |
tags: | added: image |
description: | updated |