VHDX snapshot from Hyper-V driver is bigger than original instance

Bug #1231911 reported by Alessandro Pilotti on 2013-09-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Medium
Alessandro Pilotti
Havana
Undecided
Unassigned

Bug Description

WIth the introduction of support for the VHDX in the Hyper-V driver, the following bug related to the VHD format must be taken into consideration for VHDX as well: https://bugs.launchpad.net/nova/+bug/1177927

The file structure of a VHDX file differs radically from VHD, so it make sense to file a separate bug.

VHDX format specs: http://www.microsoft.com/en-us/download/details.aspx?id=34750

tags: added: hyper-v
description: updated
tags: added: havana-rc-potential
Changed in nova:
assignee: nobody → Alessandro Pilotti (alexpilotti)
status: New → In Progress
Changed in nova:
importance: Undecided → Medium
Thierry Carrez (ttx) on 2013-10-14
tags: added: havana-backport-potential
removed: havana-rc-potential

Reviewed: https://review.openstack.org/52400
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=9ea92029f7846dc65238b0be3c3c95568862448d
Submitter: Jenkins
Branch: master

commit 9ea92029f7846dc65238b0be3c3c95568862448d
Author: Petrut Lucian <email address hidden>
Date: Fri Sep 27 15:40:56 2013 +0300

    Fixes Hyper-V VHDX snapshot bigger than instance

    In Hyper-V, the deployed images will be extended having their
    metadata size added to their base image size. This may lead to
    snapshots bigger than the flavor size.

    This patch adds support to the V2 utils module, so that the
    maximum internal size of a requested image may be calculated
    in a similar way it is done in the V1 module.

    VHDX format specs:
    http://www.microsoft.com/en-us/download/details.aspx?id=34750

    Closes-bug: #1231911

    Change-Id: I0d6aacb275f8af24554d3e8b6f04fe8a454b913f

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2014-03-05
Changed in nova:
milestone: none → icehouse-3
status: Fix Committed → Fix Released

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/83428

Thierry Carrez (ttx) on 2014-04-17
Changed in nova:
milestone: icehouse-3 → 2014.1

Change abandoned by Petrut Lucian (<email address hidden>) on branch: stable/havana
Review: https://review.openstack.org/83428

Reviewed: https://review.openstack.org/83143
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=d7e8dfb2c3b02c6f29eb888678be45648bf35e39
Submitter: Jenkins
Branch: stable/havana

commit d7e8dfb2c3b02c6f29eb888678be45648bf35e39
Author: Petrut Lucian <email address hidden>
Date: Fri Sep 27 15:40:56 2013 +0300

    Fixes Hyper-V VHDX snapshot bigger than instance

    In Hyper-V, the deployed images will be extended having their
    metadata size added to their base image size. This may lead to
    snapshots bigger than the flavor size.

    This patch adds support to the V2 utils module, so that the
    maximum internal size of a requested image may be calculated
    in a similar way it is done in the V1 module.

    VHDX format specs:
    http://www.microsoft.com/en-us/download/details.aspx?id=34750

    Closes-bug: #1231911

    (cherry-picked from commit 9ea92029f7846dc65238b0be3c3c95568862448d)

    Change-Id: I0d6aacb275f8af24554d3e8b6f04fe8a454b913f

tags: added: in-stable-havana
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers