vmware: snapshot not passing image properties

Bug #1430941 reported by Marcelo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Unassigned

Bug Description

Tried on ice-house.

Uploaded an vmdk image to glance passing the parameter vmware_disktype=thin. I know that it's still not implemented the automatic conversion from thick to thin, so after the upload I went in the ESX, accessed glance folder in the datastore, and converted the image manually to a thin disk (vmkfstools -i...).

Then when I launch an instance the disk is thin, so the image is ok.

But when I take a snapshot, the image created seems to ignore the previous properties, creating an image with vmware_disktype=preallocated, occupying a lot more of space in the data store.

Gary Kotton (garyk)
Changed in nova:
importance: Undecided → Medium
Gary Kotton (garyk)
Changed in nova:
importance: Medium → Low
Revision history for this message
Radoslav Gerganov (rgerganov) wrote :

In Kilo we create the snapshots in streamOptimized format, please see:

https://github.com/openstack/nova/commit/806bdaf94794532132a933c170520629da4ceb0e

Unfortunately, I don't think we will backport this behavior to Icehouse.

Revision history for this message
Sean Dague (sdague) wrote :

so this is fixed in master? (marking as Fix Released accordingly, please change back to New if that's not the case).

Changed in nova:
status: New → Fix Committed
Marcelo (raxidex)
description: updated
Thierry Carrez (ttx)
Changed in nova:
milestone: none → kilo-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: kilo-rc1 → 2015.1.0
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.