4f6f1888db
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 |
||
---|---|---|
.. | ||
auth | ||
common | ||
compat | ||
openstack | ||
rootwrap | ||
scheduler | ||
testing | ||
tests | ||
__init__.py | ||
block_device.py | ||
exception.py | ||
flags.py | ||
manager.py | ||
notifications.py | ||
policy.py | ||
quota.py | ||
service.py | ||
test.py | ||
utils.py | ||
wsgi.py |