容器服務叢集建立過程中可能會遇到一些錯誤導緻叢集建立失敗,以下列舉了一些常見的錯誤以及解決辦法供參考。
slb錯誤 (可以提供requestid 給到支援同學)
config cs acessrouting failed : failed to createloadbalancer:aliyun api error: requestid: 47ae1bfc-afea-469c-82f5-1e3bd81897f2 status code: 500 code: internalerror message: the request processing has failed due to some unknown error, exception or failure.
配置docker逾時(需要查詢一下deamon日志)
adding tags map[provider:aliyunacs acsversion:1.0 acsclusterid:xxx acsclustername:xxx] to instance xx
可用區暫不售賣
code: zone.notonsale message: the specified zone is not on sale.
叢集master建立失敗
creating master region controller: 500 internal server error
未實名認證
create cs clusternodes failed : aliyun api error: requestid: 530614da-c7da-4946-bf31-7a28fb16c160 status code: 403 code: realnameauthenticationerror message: your account has not passed the real-name authentication yet.
安全組超過上限
config cs clusternetwork failed : aliyun api error: requestid: 264e5adc-0571-44c0-8508-c037096856c7 status code: 403 code: quotaexceed.securitygroup message: the security group quota exceeds.
賬戶餘額不足100元
create cs clusternodes failed : aliyun api error: requestid: ff1d1b71-9992-4b51-83e0-3864976bbec9 status code: 400 code: insufficientbalance message: your account does not have enough balance.
資源不足
failed to create instance: aliyun api error: requestid: cc2ff296-d29e-484e-b095-8905cda016ba status code: 403 code: operationdenied message: the resource is out of usage.
slb個數超過上限
config cs acessrouting failed : failed to createloadbalancer:aliyun api error: requestid: a1e5d644-c31a-4142-b722-cbd6ef57a3a7 status code: 400 code: overquota message: the total is over the quota.
共享鏡像個數超過上限
fail shared image: aliyun api error: requestid: 693f8b6c-9349-4277-b109-9841bff1f76c status code: 404 code: invalidaccount.forbbiden message: the specified account does not yourself.
缺少參數(主要集中在openapi調用)
c7904aa1b9e3642fa8fbf440f48dfedb8 | fail shared image: aliyun api error: requestid: d2518c32-0c2b-4ead-9f88-43a5c2aaf0c1 status code: 404 code: invalidaccount.notfound message: the specified parameter "addaccount.n" or "removeaccount.n" does not exist.
執行個體類型不比對(該錯誤主要來源于openapi的使用者)
invalidinstancetype.valueunauthorized message: the specified instancetype is not authorized
在vpc環境下設定的容器網段與現有路由表網段或者vpc下交換機網段沖突
invalidcidrblock.duplicate message: specified cidr block is already exists
eip超過quota
quotaexceeded.eip message: elastic ip address quota exceeded
按量付費的ecs超過quota
quotaexceed.afterpayinstance message: living afterpay instances quota exceeded