本文档介绍如何在Google Cloud上解决CPU的超出错误消息。
无法在Cisco Call Manager(CCM)版本为4.8.0/4.7.x的Google云GCE上部署实例。它失败,并显示错误“Quota CPU's exceeded”。限制:8.0.”,如图所示:
在CCO渗透日志中,您会发现以下错误:
AppLifecycleImpl[17,Jango,STARTING] 17-05-30 04:21:37 / (running) ================================================================== ClusterLifecycleImpl[18,CentOS_1,WAITING_TO_START,0] (not started) 2017-05-30 04:21:38,473 INFO impl.AbstractLifecycle [threadPoolExecutor-2] - DeploymentJobName=CentOS_1 DeploymentJobID=18 ClusterLifecycleImpl[18,CentOS_1,STARTING,0] state from WAITING_TO_START -> STARTING 2017-05-30 04:21:41,708 WARN util.MacroUtil [threadPoolExecutor-2] - Value for key: JOB_DESC is null 2017-05-30 04:21:42,837 INFO impl.GatewayServiceImpl [threadPoolExecutor-2] - VLAN ID:null 2017-05-30 04:21:42,959 INFO gc.GoogleComputeCloudProviderV1 [threadPoolExecutor-2] - NetworkInterfaceInfo{privateIPAllocationMode=DHCP, networkID='default', order=1, publicIpAllocate=true, staticIPAllocation=null, ipamCallOutAllocation=null, properties=null} 2017-05-30 04:21:45,951 ERROR gc.BaseGoogleComputeCloudProvider [threadPoolExecutor-2] - GoogleJsonErrors 2017-05-30 04:21:45,952 ERROR gc.BaseGoogleComputeCloudProvider [threadPoolExecutor-2] - Google JsonResponse Exception com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden { "code" : 403, "errors" : [ { "domain" : "usageLimits", "message" : "Quota 'CPUS' exceeded. Limit: 8.0", "reason" : "quotaExceeded" } ], "message" : "Quota 'CPUS' exceeded. Limit: 8.0" }
登录到Google Cloud UI,然后选中Notification选项卡,在该选项卡中可以找到确切的错误,如图所示。
根据您订用的计划限制资源分配。如果你超过了限制。
要验证,请登录GCC并选择配额(如图所示),您可以找到现有计划的配额。
这可以通过检查GCE当前订用和升级(如有必要)或删除未使用的实例来释放资源来解决。