Hyper-v VHDX resizing not working when using differencing images

Bug #1294682 reported by Lucian Petrut
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
High
Lucian Petrut

Bug Description

When spawning a new VM using cow images, the root image won't get the size of the flavor. Instead, it will have the size of the base image no resize is attempted. In this case, the proper size should be specified when creating the differencing image.

If after that one attempts to resize the VM, the get_internal_vhd_size_by_file_size method will raise an exception as it can't get this info out of the differencing image. Instead of raising this exception, this method may recurse by calling itself on the parent of the differencing image. This happens on both V1 and V2 namespaces.

Trace: http://paste.openstack.org/show/73825/

Changed in nova:
importance: Undecided → High
status: New → Triaged
milestone: none → icehouse-rc1
summary: - Hyper-v resizing issues when using differencing images
+ Hyper-v VHDX resizing not working when using differencing images
Tracy Jones (tjones-i)
Changed in nova:
assignee: nobody → Petrut Lucian (petrutlucian94)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/81779

Revision history for this message
Russell Bryant (russellb) wrote :

As far as I can tell this is not a regression, so I'm moving it to icehouse-rc-potential

tags: added: icehouse-rc-potential
Changed in nova:
milestone: icehouse-rc1 → none
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/havana)

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

Thierry Carrez (ttx)
tags: added: icehouse-backport-potential
removed: icehouse-rc-potential
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to nova (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/92163

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (stable/havana)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (stable/icehouse)

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

Revision history for this message
Alessandro Pilotti (alexpilotti) wrote :
Changed in nova:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.