GCP AI平台管道-KFP-使用托管存储-cloudsqlproxy问题



我在用";使用托管存储";没有任何配置不允许我(KFP服务上的错误(使用";使用管理存储";,但让我们把重点放在下面描述的具体问题上。

我的设置是:

  • 版本为";1.17.15克-800";启用了自定义网络/子网络和工作负载标识
  • 与GKE相同的自定义网络/子网络中的私有mysql8.0
  • GCS
  • "使用托管存储";其中指定了所有必需的信息:地面军事系统名称、数据库连接名称、用户、密码和数据库前缀
  • 使用的工作负载标识(为了简化所有KSA(K8s服务帐户(被映射到具有所有者角色的单个谷歌服务帐户(

请注意,使用GKE和KFP的设置在没有选项";使用管理存储";,但在使用";使用托管存储";它失败了:

  1. ml管道:
  • 状态:
    • Pod错误:CrashLoopBackOff
    • 没有最低可用性
  • 日志:
packets.go:36: unexpected EOF
CETdriver: bad connection
  1. 元数据grpc部署:
  • 状态:
    • Pod错误:CrashLoopBackOff
    • 没有最低可用性
  • 日志:
Non-OK-status: status status: Internal: mysql_real_connect failed: errno: 2013, error: Lost connection to MySQL server at 'handshake: reading inital communication packet', system error: 11MetadataStore cannot be created with the given connection config.
  1. cloudsqlproxy&mysql(相同日志(:
  • 状态:正常
  • 日志:
couldn't connect to "<db_connection_string>": googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials

cloudsqlproxy-service/pod似乎存在问题,无法建立到DB的连接。这是该功能中的错误还是错误的配置?

我遇到了同样的问题,并通过解决了它

  1. 启用GCP SQL API
  2. 在托管存储选项中写出用户名"root"。默认值不是描述中所述的"root">

最新更新