我将 Cloudify 2.7 与 OpenStack Icehouse 一起使用。
我开发了一个 tomcat 配方并部署了它。在 cloudify 控制台的编排器日志中,我阅读了以下警告:
2015-06-04 11:05:01,706 ESM INFO [org.openspaces.grid.gsm.strategy.ScaleStrategyProgressEventState] - [tommy.tomcat] machines SLA enforcement is in progress.; Caused by: org.openspaces.grid.gsm.machines.exceptions.ExpectedMachineWithMoreMemoryException: Machines SLA Enforcement is in progress: Expected machine with more memory. Machine <Public_IP>/<Public_IP> has been started with not enough memory. Actual total memory is 995MB. Which is less than (reserved + container) = (0MB+3800MB) = 3800MB
VM的Flavor是:4GB RAM,2vCPU,20GB Disk
在云驱动程序中,我评论了以下行:
//reservedMemoryCapacityPerMachineInMB 1024
并将与风味相关的计算部分配置如下:
computeTemplate
{
imageId <imageID>
machineMemoryMB 3900
hardwareId <hardwareId>
...
}
有人可以帮我指出错误吗?谢谢。