diff options
author | Josh Durgin <josh.durgin@inktank.com> | 2012-08-14 12:27:48 -0700 |
---|---|---|
committer | Josh Durgin <josh.durgin@inktank.com> | 2012-09-18 08:54:25 -0700 |
commit | 235e5cbe9934097fc8c4f58c99dc11f597dfbed8 (patch) | |
tree | 8694b69868c102522d83cba404c27f2f5be6cb64 /nova/notifications.py | |
parent | 283badb37edb1f676591ad8b3d94f4b2d7cd13dd (diff) | |
download | nova-235e5cbe9934097fc8c4f58c99dc11f597dfbed8.tar.gz nova-235e5cbe9934097fc8c4f58c99dc11f597dfbed8.tar.xz nova-235e5cbe9934097fc8c4f58c99dc11f597dfbed8.zip |
add ability to clone images
Given the backend location from Glance, drivers can determine
whether they can clone or otherwise efficiently create a volume
from the image without downloading all the data from Glance.
For now implement cloning for the RBD driver. There's already a
Glance backend that stores images as RBD snapshots, so they're
ready to be cloned into volumes. Fall back to copying all the
data if cloning is not possible.
Implements: blueprint efficient-volumes-from-images
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Conflicts:
nova/volume/api.py
nova/volume/driver.py
This is based on a cherry-pick of cinder commit
edc11101cbc06bdce95b10cfd00a4849f6c01b33
Change-Id: I71a8172bd22a5bbf64d4c68631630125fcc7fd34
Diffstat (limited to 'nova/notifications.py')
0 files changed, 0 insertions, 0 deletions