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/602478 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=1b2c7483003 789ecaa0eea8afb 49b783934bbf0f
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 1b2c7483003789e caa0eea8afb49b7 83934bbf0f
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