容器服务集群创建过程中可能会遇到一些错误导致集群创建失败,以下列举了一些常见的错误以及解决办法供参考。

  • 负载均衡错误 (可以提供 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.
  • 负载均衡个数超过上限
    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.
  • EIP 超过 quota
    QuotaExceeded.Eip Message: Elastic IP address quota exceeded
  • 按量付费的 ECS 超过 quota
    QuotaExceed.AfterpayInstance Message: Living afterpay instances quota exceeded
  • 缺少参数(主要集中在 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