nova/nova/virt/libvirt
Nicolas Simonds 824c3706a3 libvirt: make snapshot use RBD snapshot/clone when available
When rbd is used for ephemeral disks and image storage, make snapshot
use ceph directly, and update glance with the new location.  In
case of failure, it will gracefully fallback to the "generic"
snapshot method.

This requires changing the typical permissions for the nova ceph
user (if using authx) to allow writing to the pool where vm images
are stored, and it also requires configuring Glance to provide a
v2 endpoint with direct_url support enabled (there are security
implications to doing this).

Spec: Ia3666d53e663eacf8c65dbffbd4bc847dd948171

DocImpact: Ceph and Glance configuration changes
Implements: blueprint rbd-instance-snapshots
Change-Id: If13d25b6c94e247d2505583b524ae3af9c34b5dc
2016-01-20 15:36:05 -08:00
..
storage libvirt: make snapshot use RBD snapshot/clone when available 2016-01-20 15:36:05 -08:00
volume libvirt: add discard support for attached volumes 2016-01-08 13:07:36 -08:00
__init__.py Remove vi modelines 2014-02-03 14:19:44 +00:00
blockinfo.py Merge "libvirt: only get instance.flavor if needed in get_disk_mapping" 2016-01-16 14:17:41 +00:00
compat.py Workaround for race condition in libvirt 2015-03-14 20:17:41 -03:00
config.py enable uefi boot 2016-01-18 11:34:10 +08:00
designer.py Merge "libvirt: fix direct OVS plugging" 2015-09-21 11:47:55 +00:00
driver.py libvirt: make snapshot use RBD snapshot/clone when available 2016-01-20 15:36:05 -08:00
firewall.py libvirt: retry to undefine network filters during _post_live_migration 2015-04-29 10:48:23 -07:00
guest.py Merge "Add retry logic for detaching device using LibVirt" 2015-12-19 00:39:42 +00:00
host.py Fix unit tests on Mac OS X 2016-01-08 19:37:57 -05:00
imagebackend.py libvirt: make snapshot use RBD snapshot/clone when available 2016-01-20 15:36:05 -08:00
imagecache.py Optimize "open" method with context manager 2015-12-03 10:12:52 +08:00
instancejobtracker.py libvirt: Kill rsync/scp processes before deleting instance 2015-07-29 02:00:50 -07:00
utils.py libvirt: Fix/implement revert-resize for RBD-backed images 2016-01-20 11:34:30 -08:00
vif.py libvirt: mlnx_direct vif type removal 2015-11-18 08:48:46 +02:00