Incorrect snapshot image format
Bug #1805442 reported by
Lucian Petrut
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
compute-hyperv |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When taking instance snapshots, the image format is always set to "vhd", but it may as well be vhdx. This happens because of legacy reasons, as Glance used to reject vhdx images.
Cinder started to validate the image formats a few releases ago for security reasons, so it will reject creating volumes from Glance images that have incorrect image formats.
The Nova Hyper-V driver will have to set the right image format when taking snapshots.
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/620907 /git.openstack. org/cgit/ openstack/ compute- hyperv/ commit/ ?id=a9a82b2e9bd f0549cdbc2b8ad1 f6d81e5ca63de3
Committed: https:/
Submitter: Zuul
Branch: master
commit a9a82b2e9bdf054 9cdbc2b8ad1f6d8 1e5ca63de3
Author: Lucian Petrut <email address hidden>
Date: Thu Nov 29 13:48:56 2018 +0200
Report the correct image format to glance when snapshotting
When taking instance snapshots, the image format is always set to
"vhd", but it may as well be vhdx. This happens because of legacy
reasons, as Glance used to reject vhdx images.
Cinder started to validate the image formats a few releases ago for
security reasons, so it will reject creating volumes from Glance
images that have incorrect image formats.
This change ensures that we'll set the right image format when taking
snapshots.
Closes-Bug: #1805442
Change-Id: Ie151ed15bc806e 0c16a363734d0c0 78fe358b899