Closed seokho-son closed 1 month ago
Azure에서 오류 발생.
참고: 대규모 VM 생성 후 삭제시, CB-Spider와 DB 싱크가 맞지 않는 문제가 발생하였음. (AWS VM 100 건 이상) VM이 삭제되지 않았으나, 삭제된 것으로 인지하게 되므로, 심도 있게 상황 파악 필요.
CB-Spider에서 정상 종료되지 않은 VM들을 DB상에서 삭제하고 종료된 것으로 처리한 것으로 보임. CSP에서 잘못된 응답을 준 것일 수도 있음. 내부 처리 로직 살펴봐야 할 수 있음.
/approve
cb-tumblebug | 2:03AM ERR src/core/infra/provisioning.go:1458 > error="Error from Spider while creating VM: [Error from: http://cb-spider:1024/spider/vm] Status code: 500 Internal Server Error, Message: {\"message\":\"Failed to Start VM. err = PUT https://management.azure.com/subscriptions/a20fed83-96bd-4480-92a9-140b8e3b7c3a/resourceGroups/koreacentral/providers/Microsoft.Compute/virtualMachines/csc5fpjhe00e2iiivjq0\\n--------------------------------------------------------------------------------\\nRESPONSE 409: 409 Conflict\\nERROR CODE: OperationNotAllowed\\n--------------------------------------------------------------------------------\\n{\\n \\\"error\\\": {\\n \\\"code\\\": \\\"OperationNotAllowed\\\",\\n \\\"message\\\": \\\"Operation could not be completed as it results in exceeding approved Total Regional Cores quota. Additional details - Deployment Model: Resource Manager, Location: KoreaCentral, Current Limit: 50, Current Usage: 50, Additional Required: 1, (Minimum) New Limit Required: 51. Setup Alerts when Quota reaches threshold. Learn more at https://aka.ms/quotamonitoringalerting . Submit a request for Quota increase at https://aka.ms/ProdportalCRP/#blade/Microsoft_Azure_Capacity/UsageAndQuota.ReactView/Parameters/%7B%22subscriptionId%22:%22a20fed83-96bd-4480-92a9-140b8e3b7c3a%22,%22command%22:%22openQuotaApprovalBlade%22,%22quotas%22:[%7B%22location%22:%22KoreaCentral%22,%22providerId%22:%22Microsoft.Compute%22,%22resourceName%22:%22cores%22,%22quotaRequest%22:%7B%22properties%22:%7B%22limit%22:51,%22unit%22:%22Count%22,%22name%22:%7B%22value%22:%22cores%22%7D%7D%7D%7D]%7D by specifying parameters listed in the ‘Details’ section for deployment to succeed. Please read more about quota limits at https://docs.microsoft.com/en-us/azure/azure-supportability/regional-quota-requests\\\"\\n }\\n}\\n--------------------------------------------------------------------------------\\n, and Finished to rollback deleting\"}\n"
Azure 쿼터 리밋 이슈도 있음
azure 기본 쿼터
ref #1873
Enhance large scale mc-infra provisioning stability