Compute API: omit disk/container formats when creating images of snapshots
If making a snapshot, omit the disk and container formats from the
image API request, since the image may have been converted to another
format than what the base image uses. The driver will correctly
populate these values later when uploading the image data.
Reviewed: https:/ /review. openstack. org/226069 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=8cfc8a83759 2c9494608d68db2 bac1954c573a4b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8cfc8a837592c94 94608d68db2bac1 954c573a4b
Author: Nicolas Simonds <email address hidden>
Date: Mon Sep 21 11:17:43 2015 -0700
Compute API: omit disk/container formats when creating images of snapshots
If making a snapshot, omit the disk and container formats from the
image API request, since the image may have been converted to another
format than what the base image uses. The driver will correctly
populate these values later when uploading the image data.
Closes-Bug: 1497484 ae42ac504740c04 247c75022eb
Change-Id: I69522977631be2