Get list of disks to copy early to avoid multiple DB hits
To support selective block migration we need to read block devices
from nova block device mappings instead of libvirt block info.
It means that in current implementation we would call
_live_migration_copy_disk_paths two times - from
live_migration_operations and from live_migration_monitor.
To avoid that this change gets disk paths early and pass them as
and additional paremeter to live migration monitor.
Reviewed: https:/ /review. openstack. org/252506 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=f0d5fc61916 f41214da580097a 09136e4ed2c99a
Committed: https:/
Submitter: Jenkins
Branch: master
commit f0d5fc61916f412 14da580097a0913 6e4ed2c99a
Author: Pawel Koniszewski <email address hidden>
Date: Fri Dec 11 03:28:50 2015 +0100
Get list of disks to copy early to avoid multiple DB hits
To support selective block migration we need to read block devices migration_ copy_disk_ paths two times - from migration_ operations and from live_migration_ monitor.
from nova block device mappings instead of libvirt block info.
It means that in current implementation we would call
_live_
live_
To avoid that this change gets disk paths early and pass them as
and additional paremeter to live migration monitor.
Change-Id: Ic894cfc7374ba0 6b436b2a76a5984 012d1dba3a5
Related-bug: #1398999