Revision history [back]

Nova - too much memory reported

hello, i'm having an issue with the Nova module where the hypervisor reported memory is greater than the system available memory:

nova hypervisor-stats

+----------------------+-------+

| Property | Value | +----------------------+-------+ | count | 1 | | current_workload | 0 | | disk_available_least | 131 | | free_disk_gb | 151 | | free_ram_mb | 8078 | | local_gb | 461 | | local_gb_used | 277 | | memory_mb | 65422 | | memory_mb_used | 64771 | | running_vms | 14 | | vcpus | 32 | | vcpus_used | 28 | +----------------------+-------+

free -mh total used free shared buff/cache available Mem: 62G 60G 497M 1.5M 1.4G 412M Swap: 23G 23G 352M

as you can see, i have a total of 62G of memory on my controller, but the hypervisor is reporting 65G

also, i tried setting the following option on /etc/nova/nova.conf reserved_host_memory_mb = 2048

and as far as i can see it is being ignored.

how should i configure nova to report the existing memory, and restrict the available memory on the hipervisor not to overwhelm the controller?

thank you,

Tiago