yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #70443
[Bug 1744079] [NEW] disk over-commit still not correctly calculated during live migration
Public bug reported:
Change I8a705114d47384fcd00955d4a4f204072fed57c2 (written by me... sigh)
addressed a bug which prevented live migration to a target host with
overcommitted disk when made with microversion <2.25. It achieved this,
but the fix is still not correct. We now do:
if disk_over_commit:
disk_available_gb = dst_compute_info['local_gb']
Unfortunately local_gb is *total* disk, not available disk. We actually
want free_disk_gb. Fun fact: due to the way we calculate this for
filesystems, without taking into account reserved space, this can also
be negative.
The test we're currently running is: could we fit this guest's allocated
disks on the target if the target disk was empty. This is at least
better than it was before, as we don't spuriously fail early. In fact,
we're effectively disabling a test which is disabled for microversion
>=2.25 anyway. IOW we should fix it, but it's probably not a high
priority.
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1744079
Title:
disk over-commit still not correctly calculated during live migration
Status in OpenStack Compute (nova):
New
Bug description:
Change I8a705114d47384fcd00955d4a4f204072fed57c2 (written by me...
sigh) addressed a bug which prevented live migration to a target host
with overcommitted disk when made with microversion <2.25. It achieved
this, but the fix is still not correct. We now do:
if disk_over_commit:
disk_available_gb = dst_compute_info['local_gb']
Unfortunately local_gb is *total* disk, not available disk. We
actually want free_disk_gb. Fun fact: due to the way we calculate this
for filesystems, without taking into account reserved space, this can
also be negative.
The test we're currently running is: could we fit this guest's
allocated disks on the target if the target disk was empty. This is at
least better than it was before, as we don't spuriously fail early. In
fact, we're effectively disabling a test which is disabled for
microversion >=2.25 anyway. IOW we should fix it, but it's probably
not a high priority.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1744079/+subscriptions
Follow ups
-
[Bug 1744079] Re: [SRU] disk over-commit still not correctly calculated during live migration
From: Edward Hope-Morley, 2019-05-23
-
[Bug 1744079] Re: [SRU] disk over-commit still not correctly calculated during live migration
From: Corey Bryant, 2019-05-15
-
[Bug 1744079] Re: [SRU] disk over-commit still not correctly calculated during live migration
From: Launchpad Bug Tracker, 2019-05-15
-
[Bug 1744079] Re: [SRU] disk over-commit still not correctly calculated during live migration
From: James Page, 2019-04-16
-
[Bug 1744079] Re: [SRU] disk over-commit still not correctly calculated during live migration
From: James Page, 2019-04-16
-
[Bug 1744079] Re: [SRU] disk over-commit still not correctly calculated during live migration
From: Edward Hope-Morley, 2019-04-16
-
[Bug 1744079] Re: [SRU] disk over-commit still not correctly calculated during live migration
From: James Page, 2019-01-07
-
[Bug 1744079] Re: [SRU] disk over-commit still not correctly calculated during live migration
From: James Page, 2019-01-07
-
[Bug 1744079] Re: [SRU] disk over-commit still not correctly calculated during live migration
From: Launchpad Bug Tracker, 2018-12-18
-
[Bug 1744079] Re: [SRU] disk over-commit still not correctly calculated during live migration
From: Launchpad Bug Tracker, 2018-12-18
-
[Bug 1744079] Re: [SRU] disk over-commit still not correctly calculated during live migration
From: Corey Bryant, 2018-12-17
-
[Bug 1744079] Re: [SRU] disk over-commit still not correctly calculated during live migration
From: Corey Bryant, 2018-12-17
-
[Bug 1744079] Re: [SRU] disk over-commit still not correctly calculated during live migration
From: Launchpad Bug Tracker, 2018-11-07
-
[Bug 1744079] Re: [SRU] disk over-commit still not correctly calculated during live migration
From: Corey Bryant, 2018-11-05
-
[Bug 1744079] Re: [SRU] disk over-commit still not correctly calculated during live migration
From: Matt Riedemann, 2018-10-31
-
[Bug 1744079] Re: [SRU] disk over-commit still not correctly calculated during live migration
From: Hua Zhang, 2018-10-24
-
[Bug 1744079] Re: [SRU] disk over-commit still not correctly calculated during live migration
From: Hua Zhang, 2018-10-24
-
[Bug 1744079] Re: disk over-commit still not correctly calculated during live migration
From: OpenStack Infra, 2018-08-29