Hi,
The Cloudstack version is 4.11.2
We have issue:
"2019-11-26 12:55:38,214 DEBUG [c.c.c.CapacityManagerImpl]
(API-Job-Executor-29:ctx-7e1e9e6a job-5204 ctx-91512d28
FirstFitRoutingAllocator) STATS: Failed to alloc resource from host: 17
reservedCpu: 0, used cpu: 3042, requested cpu: 4, actual total cpu: 63984,
total cpu with overprovisioning: 76780800, reservedMem: 0, used Mem:
292594647040, requested mem: 12884901888, total Mem:303233368064
,considerReservedCapacity?: true
"
" Host does not have enough RAM available, cannot allocate to this host"
Still there is:
# free -k
total used free shared buffers cached
Mem: 297174920 214706508 82468412 7092 218340 29930484
-/+ buffers/cache: 184557684 112617236
So at least over 60GB is free RAM available (+ cached).
There are no stopped instances (or expunging) in this specific host.All
instances are running state.
Why cloudstack calculates "used Mem: 292594647040"?
We have restarted cloudstack agent but no help. Maybe restarting whole kvm host
can help? Hardly...
Any other tips how recount specific host capasity?
/Mikko