7c4a5b1ee7
Xen deployments don't support qcow2 images which is what the
glance v2 API code in nova defaults to, so basically you can't
create a snapshot of a volume-backed instance with glance v2 and
Xen right now.
This change uses the glance v2 image schema to determine the
disk_format to use based on some rules:
1. Look for a preferred disk_format using an ordered list.
2. If we still can't figure it out, just use the first
supported disk_format available.
Change-Id: Ifaa150fda393e2b49114e30dd5e30e5bf52b4ed1
Closes-Bug: #1616938
(cherry picked from commit
|
||
---|---|---|
.. | ||
download | ||
__init__.py | ||
api.py | ||
glance.py | ||
s3.py |