poli1025 commented on issue #12225: URL: https://github.com/apache/cloudstack/issues/12225#issuecomment-3637913416
> > [@weizhouapache](https://github.com/weizhouapache) Why is this related to [#2482](https://github.com/apache/cloudstack/pull/2482)? > > [@poli1025](https://github.com/poli1025) the error is thrown by this line > > [cloudstack/server/src/main/java/com/cloud/hypervisor/KVMGuru.java](https://github.com/apache/cloudstack/blob/cfe96026dc424e19e9d9ccf941955b8cb41c6717/server/src/main/java/com/cloud/hypervisor/KVMGuru.java#L133-L139) > > Lines 133 to 139 in [cfe9602](/apache/cloudstack/commit/cfe96026dc424e19e9d9ccf941955b8cb41c6717) > > if (to.isLimitCpuUse()) { > VirtualMachine vm = vmProfile.getVirtualMachine(); > HostVO host = hostDao.findById(vm.getHostId()); > if (host == null) { > throw new CloudRuntimeException("Host with id: " + vm.getHostId() + " not found"); > } > logger.debug("Limiting CPU usage for VM: {} on host: {}", vm, host); > you have enabled `CPU cap` in the service offering, right ? Yes, I have CPU capping enabled. So, if I disable the CPU cap in the service offering, it should work, right?" -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
