yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #79091
[Bug 1550098] Re: Disk resource consumption is inconsistent between scheduler and resource tracker
The DiskFilter was deprecated in Stein
https://review.opendev.org/#/c/596502/ and this bug was reported before
the scheduler was using placement for disk filtering in Pike, so it may
not be valid anymore. If you think it is, please recreate on the latest
release of Stein 19.* and re-open with new details (or report a new
bug).
** Changed in: nova
Status: In Progress => Invalid
--
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/1550098
Title:
Disk resource consumption is inconsistent between scheduler and
resource tracker
Status in OpenStack Compute (nova):
Invalid
Bug description:
The way scheduler consumes disk resources in host state is
inconsistent with RT's way in compute service.
The scheduler consumes "free_disk_mb" in its host state.
https://github.com/openstack/nova/blob/master/nova/scheduler/host_manager.py#L266
It comes from the min value of "free_disk_gb" and "disk_available_least" in ComputeNode object.
https://github.com/openstack/nova/blob/master/nova/scheduler/host_manager.py#L189-L201
But compute node changes "local_gb_used" instead in consuming
resources from a request.
https://github.com/openstack/nova/blob/master/nova/compute/resource_tracker.py#L709-L710
There is a inconsistent gap(confirmed) of compute node state between
scheduler and resource tracker, but somehow the compute node will be
updated by virt driver to the consistent status after maybe 10
seconds.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1550098/+subscriptions
References