KubeFATE icon indicating copy to clipboard operation
KubeFATE copied to clipboard

使用KubeFATE在Kubernetes上部署FATE集群时发生错误

Open oceanqdu opened this issue 2 years ago • 1 comments

**What deployment mode you are use? **

  1. Kuberentes.

**What KubeFATE and FATE version you are using? **

version=v1.5.0

**What OS you are using for docker-compse or Kubernetes? Please also clear the version of OS. **

CentOS7

在参照https://github.com/FederatedAI/KubeFATE/wiki/%E4%BD%BF%E7%94%A8KubeFATE%E5%9C%A8kubernetes%E4%B8%8A%E9%83%A8%E7%BD%B2FATE%E9%9B%86%E7%BE%A4进行部署时 执行以下命令后 kubectl apply -f kubefate.yaml 查看pod的情况发现

image

其中一个pod的状态并不是正常运行。 查看日志发现以下问题 `[root@kubefate01 kubefate]# kubectl logs -f kubefate-544859b87d-drnz9 -n kube-fate

2022-09-30T08:32:57Z INF workspace/pkg/api/service.go:89 > logLevel: debug

2022-09-30T08:32:57Z INF workspace/pkg/api/service.go:90 > api version: v1

2022-09-30T08:32:57Z INF workspace/pkg/api/service.go:91 > service version: v1.3.0

2022-09-30T08:32:57Z INF workspace/pkg/api/service.go:92 > DbType: mysql

2022-09-30T08:32:57Z INF workspace/pkg/api/service.go:93 > LogNocolor: true

2022-09-30T08:32:57Z INF workspace/pkg/api/service.go:94 > server: [0.0.0.0:8080]

2022-09-30T08:33:42Z ERR workspace/pkg/api/service.go:98 > initDb error, error="initialization failed: dial tcp: i/o timeout"

initialization failed: dial tcp: i/o timeout ` 请问一下应该怎么解决呢?谢谢

oceanqdu avatar Sep 30 '22 09:09 oceanqdu

Seems like you your kubefate pod cannot communicate to your mariadb service.

Is your firewalld enabled on your vm?

Also please notice that version=v1.5.0 is not supported anymore, please try the latest version, thanks.

JingChen23 avatar Oct 10 '22 01:10 JingChen23

反馈: 此问题是因为防火墙没有关闭导致的,关闭防火墙后次问题解决。

oceanqdu avatar Dec 27 '22 02:12 oceanqdu