openstack - Machine <IP_address> has been started with not enough memory -
i using cloudify 2.7 openstack icehouse.
i developed tomcat recipe , deployed it. in orchestrator log of cloudify console, read following warning:
2015-06-04 11:05:01,706 esm info [org.openspaces.grid.gsm.strategy.scalestrategyprogresseventstate] - [tommy.tomcat] machines sla enforcement in progress.; caused by: org.openspaces.grid.gsm.machines.exceptions.expectedmachinewithmorememoryexception: machines sla enforcement in progress: expected machine more memory. machine <public_ip>/<public_ip> has been started not enough memory. actual total memory 995mb. less (reserved + container) = (0mb+3800mb) = 3800mb
the flavor of vm is: 4gb ram, 2vcpu, 20gb disk
into cloud driver commented following line:
//reservedmemorycapacitypermachineinmb 1024
and configured compute section related flavor following:
computetemplate { imageid <imageid> machinememorymb 3900 hardwareid <hardwareid> ... }
can me pointing out error? thanks.
the error message states actual available memory 995mb, considerably less expected 4gb. clarify that:
- do run multiple services on same machine?
- maybe vm has less memory expected. please run 'cat /proc/meminfo' on started vm verify exact memory has
in principle, should not comment out setting of reserved memory because cloudify must take account - setting supposed represent memory used os , other processes. additionally, orchestrator (esm) takes account ~100 mb cloudify run freely. so, please update machinememorymb value calculated way:
(the number returned 'cat /proc/meminfo') - 1024 - 100
Comments
Post a Comment