Refix disk size during live migration with disk over-commit
Currently available disk of targer host is calculated based on
local_gb, not available disk(free_disk_gb). This check can be
negative if the target host has no free disk.
Change-Id: Iec50269ef31dfe090f0cd4db95a37909661bd910
closes-bug: 1744079
(cherry picked from commit e2cc275063658b23ed88824100919a6dfccb760d)
Reviewed: https:/ /review. openstack. org/602477 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=1c1c373291a 93ad6304ff03ea0 9fea24a5cb5fd0
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 1c1c373291a93ad 6304ff03ea09fea 24a5cb5fd0
Author: int32bit <email address hidden>
Date: Mon Jan 22 20:15:21 2018 +0800
Refix disk size during live migration with disk over-commit
Currently available disk of targer host is calculated based on
local_gb, not available disk(free_disk_gb). This check can be
negative if the target host has no free disk.
Change-Id: Iec50269ef31dfe 090f0cd4db95a37 909661bd910 3ed88824100919a 6dfccb760d)
closes-bug: 1744079
(cherry picked from commit e2cc275063658b2