commit 2fe5daeb5fcd2750b0eb083fc5c8bfd3fdb992e2
Author: Matt Riedemann <email address hidden>
Date: Sat Sep 24 11:24:40 2016 -0400
Determine disk_format for volume-backed snapshot from schema
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.
Reviewed: https:/ /review. openstack. org/375875 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=2fe5daeb5fc d2750b0eb083fc5 c8bfd3fdb992e2
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2fe5daeb5fcd275 0b0eb083fc5c8bf d3fdb992e2
Author: Matt Riedemann <email address hidden>
Date: Sat Sep 24 11:24:40 2016 -0400
Determine disk_format for volume-backed snapshot from schema
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: Ifaa150fda393e2 b49114e30dd5e30 e5bf52b4ed1
Closes-Bug: #1616938