libvirt.finish_migration is too large and not tested
Bug #1298975 reported by
Sahid Orentino
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Wishlist
|
Sahid Orentino |
Bug Description
This method needs to be split in several small methods then each methods has to be tested.
A possible solution could be:
* determines the disk size from instance properties
* methods to convert disk from qcow2 to raw and raw to qcow2
* method to resize the disk
Changed in nova: | |
status: | New → In Progress |
description: | updated |
Changed in nova: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-1 → 2014.2 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/67912 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=c393892e5b0 ec72cc8f515c237 2d149c6476768a
Committed: https:/
Submitter: Jenkins
Branch: master
commit c393892e5b0ec72 cc8f515c2372d14 9c6476768a
Author: Sahid Orentino Ferdjaoui <email address hidden>
Date: Thu Mar 6 11:17:50 2014 +0100
Add helper method to determine disk size from instance properties
Add a _disk_size_ from_instance method which by using the disk name
determine the size of the disk refered in the instance properties.
Update the method finish_migration to use this new helper.
Change-Id: I45bd3804fdabff 35189421d01a050 3c886c24a4c
Related-Bug: #1298975