Compute node reports wrong amount of free memory

Bug #1266415 reported by Geza Gemes
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Opinion
Wishlist
Unassigned

Bug Description

In nova/compute/resource_tracker.py in the definition of the _update_usage_from_instances function the amount of free memory reported by the hypervisor layer gets overwriten by the amount of configured host reserved memory:

resources['memory_mb_used'] = CONF.reserved_host_memory_mb

If the compute host uses more memory (not counting the VMs memory usage) than the reserved_host_memory, it results in erroneus free memory reporting by the compute host and consequently to suboptimal scheduling.

Tags: libvirt xen
Geza Gemes (geza-gemes)
Changed in nova:
assignee: nobody → Geza Gemes (geza-gemes)
Michael Still (mikal)
Changed in nova:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Geza Gemes (geza-gemes) wrote :
Revision history for this message
Joe Gordon (jogo) wrote :

see comments on review

Changed in nova:
status: Triaged → Invalid
Revision history for this message
Geza Gemes (geza-gemes) wrote :

The problem is valid, the proposed solution can be discussed. I will start a blueprint about it shortly.

Changed in nova:
status: Invalid → In Progress
Revision history for this message
Joe Gordon (jogo) wrote :

I am fine with treating this as a blueprint, but then we should track it as a BP not a bug.

Alvaro Lopez (aloga)
tags: added: libvirt xen
Revision history for this message
Sean Dague (sdague) wrote :

We'll track it as a blueprint instead

Changed in nova:
status: In Progress → Invalid
assignee: Geza Gemes (geza-gemes) → nobody
status: Invalid → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.