libvirt.connection.pre_block_migration() may pass wrong size
Bug #932179 reported by
Pádraig Brady
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Pádraig Brady |
Bug Description
in the call to self._cache_image() size=instance_
Note _cache_image() expects a full size for the size param. I.E. 10737418240 not 10
Also why is ephemeral_gb passed here. Shouldn't it be info['disk_size'] or something?
Changed in nova: | |
milestone: | none → essex-4 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-4 → 2012.1 |
To post a comment you must log in.
That code has been buggy for a while. It was previously instance_ ref['local_ gb'], which was also wrong. My patch was mostly a search and replace from local_gb to ephemeral_gb.
I think you're right that it probably should be info['disk_size'], but I'll have to spend some more time checking the code to be sure.