Hi,
I just came across the same problem and took a look at the code. Below is some of my findings.
1. disk_info is not passed to finish_migration, thus no disk resize operation is even attempted. At https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L6036, network type isn't considered a valid disk type and migrate_disk_and_power_off uses this code to load the disk info that will be eventually feeded to finish_migration to determine if a disk resize is required, https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L6401 .
2. resizing rbd backed disk is not supported
Even if disk_info is successfully passed to finish_migration, the _disk_resize function invoked at https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L6404 doesn't support rbd backed disk. All it does at the end is a qemu-img resize call - https://github.com/openstack/nova/blob/master/nova/virt/disk/api.py#L190.
Hope it helps.
Thank, Liang
Hi,
I just came across the same problem and took a look at the code. Below is some of my findings.
1. disk_info is not passed to finish_migration, thus no disk resize operation is even attempted. /github. com/openstack/ nova/blob/ master/ nova/virt/ libvirt/ driver. py#L6036, network type isn't considered a valid disk type and migrate_ disk_and_ power_off uses this code to load the disk info that will be eventually feeded to finish_migration to determine if a disk resize is required, https:/ /github. com/openstack/ nova/blob/ master/ nova/virt/ libvirt/ driver. py#L6401 .
At https:/
2. resizing rbd backed disk is not supported
Even if disk_info is successfully passed to finish_migration, the _disk_resize function invoked at https:/ /github. com/openstack/ nova/blob/ master/ nova/virt/ libvirt/ driver. py#L6404 doesn't support rbd backed disk. All it does at the end is a qemu-img resize call - https:/ /github. com/openstack/ nova/blob/ master/ nova/virt/ disk/api. py#L190.
Hope it helps.
Thank,
Liang