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
Change-Id: I69522977631be2ae42ac504740c04247c75022eb
(cherry picked from commit 8cfc8a837592c9494608d68db2bac1954c573a4b)
Reviewed: https:/ /review. openstack. org/322084 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=0c21aff7e16 24b6877b2e4289d 8d19700adc9b8d
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 0c21aff7e1624b6 877b2e4289d8d19 700adc9b8d
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 94608d68db2bac1 954c573a4b)
Change-Id: I69522977631be2
(cherry picked from commit 8cfc8a837592c94