创建GCP无服务器VPC连接时出错(“代码":13) [英] Error while creating GCP Serverless VPC Connection ("code": 13)

查看:80
本文介绍了创建GCP无服务器VPC连接时出错(“代码":13)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试创建无服务器的VPC连接,但总是收到相同的错误

Trying to create a serverless VPC connection but always getting the same error

错误:(gcloud.compute.networks.vpc-access.connectors.create){代码":13消息":发生内部错误:无法创建VPC访问连接器.请删除连接器}

尝试了以下内容

  1. 参考链接:无服务器VPC访问
  2. 尝试了故障排除中的所有步骤-在上方页面的底部
  3. 尝试了各种IP范围,如10.8.0.0、10.128.0.0、10.160.0.0-无用
  4. 创建了一个新项目,并尝试在那里创建访问,结果相同
  5. 如果我将区域更改为 us-central1 (而不是 asia-south1 ),则
  6. 工作.见下文
  1. Reference Link: Serverless VPC Access
  2. Tried all steps in Troubleshooting - mentioned at the bottom of the above page
  3. Tried various IP ranges like 10.8.0.0, 10.128.0.0, 10.160.0.0 - no use
  4. Created a new project and tried to create the access there, same result
  5. Works if I change the region to us-central1 (instead of asia-south1). See below

gcloud compute networks vpc-access connectors create cloud-sql-connector \
    --network default \
    --region us-central1 \
    --range 10.8.0.0/28

Created connector [cloud-sql-connector]

gcloud compute networks vpc-access connectors describe cloud-sql-connector --region us-central1

ipCidrRange: 10.8.0.0/28
maxThroughput: 300
minThroughput: 200
name: projects/PROJECT_ID/locations/us-central1/connectors/cloud-sql-connector
network: default
state: READY

  1. 失败,如果尝试使用 asia/south1 (
  1. Fails if try with asia/south1 (part of the supported regions as per the documentation)

gcloud compute networks vpc-access connectors create sql-connector \
    --network default \
    --region asia-south1 \
    --range 10.8.0.0/28

ERROR: (gcloud.compute.networks.vpc-access.connectors.create) {
  "code": 13,
  "message": "An internal error occurred: Failed to create a VPC Access connector. Please delete the connector manually."
}

推荐答案

该特定区域似乎存在持续的问题,因为该区域容量不足.

There seems to be an ongoing issue with that specific region as it is out of capacity.

当我尝试使用云控制台创建连接器时而不是相关的gcloud命令,Asia-south1区域甚至都不会显示.

When I try to create the connector using the Cloud Console instead of the relevant gcloud commands the asia-south1 region doesn't even show up.

请注意,您不是唯一报告此问题的用户.我建议您为GCP的问题跟踪器中的公开问题加注星标并进行监控,以获取最新信息来自相关团队.

Notice that you are not the only user reporting this issue. I will recommend you to star and monitor the following Public Issue from GCP's Issue Tracker to get the most updated information from the relevant team.

这篇关于创建GCP无服务器VPC连接时出错(“代码":13)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆