[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Exception while trying to start secondary storage vm
com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[SecondaryStorageVm|s-199-VM]Scope=interface com.cloud.dc.DataCenter; id=6
at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:734)
at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:465)
at com.cloud.storage.secondary.SecondaryStorageManagerImpl.startSecStorageVm(SecondaryStorageManagerImpl.java:257)
com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[SecondaryStorageVm|s-199-VM]Scope=interface com.cloud.dc.DataCenter; id=6
at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:734)
at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:465)
at com.cloud.storage.secondary.SecondaryStorageManagerImpl.startSecStorageVm(SecondaryStorageManagerImpl.java:257)
at 。。。。。。。。。。
前些天安装cloudstack4.2 + XenServer 初始化配置的时候总提示以上错误。变着法子求了无数次google后,google透露了一点信息说xenserver的内存不能太低。我的cloudstack 和xenserver 还有nfs都是建立在vmware workstation上的,配置可想而知。
大家可能最关心的是:如何解决阿?
答:把内存设置大一点呗
修改前xenserver 的基本配置:cpu 2 , ram 2048MB , disk 50GB
修改后xenserver 的基本配置:cpu2,ram 4096MB,disk 50GB
然后初始化就成功了。
判断错误是不是跟我一样的关键信息是:InsufficientServerCapacityException (服务器资源不足)