memory usage values don't add up in compute_nodes table
Bug #924965 reported by
Major Hayden
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I found this within the compute_nodes table today:
mysql> SELECT memory_
memory_mb: 32763
memory_mb_used: 1689
free_ram_mb: 32251
If I'm trying to gather reports with this data, I'd assume this to be true:
memory_mb - memory_mb_used = free_ram_mb
However, that math doesn't hold true with the values from the database. In this situation, the scheduler was started with '--reserved_
Would it be possible to get the reserved host memory adjustment into the database itself so that reports on total memory usage could be gathered from the database?
Changed in nova: | |
status: | New → Confirmed |
To post a comment you must log in.
I don't think it should go in the DB. One may want to do something special with the reserve in filter rules, etc.
Also: The compute_node data is a work in progress. It's currently purposely not accurate.... until we finish the code that uses it.