• 安装部署
  • v4.1.2 離線安裝報錯 etcd health check failed

Cauchy

14:32:25 CST [ETCDConfigureModule] Health check on exist etcd
14:32:26 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
14:32:26 CST retry: [coverity-ms]
14:32:31 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
14:32:31 CST retry: [coverity-ms]
14:32:36 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
14:32:36 CST retry: [coverity-ms]
14:32:41 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
14:32:41 CST retry: [coverity-ms]
14:32:46 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
14:32:46 CST retry: [coverity-ms]
14:32:51 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
14:32:51 CST retry: [coverity-ms]
14:32:56 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
14:32:56 CST retry: [coverity-ms]
14:33:01 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
14:33:01 CST retry: [coverity-ms]
14:33:07 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
14:33:07 CST retry: [coverity-ms]
14:33:12 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
14:33:12 CST retry: [coverity-ms]
14:33:17 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
14:33:17 CST retry: [coverity-ms]
14:33:22 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
14:33:22 CST retry: [coverity-ms]
14:33:28 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
14:33:28 CST retry: [coverity-ms]
14:33:33 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
14:33:33 CST retry: [coverity-ms]
14:33:38 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
14:33:38 CST retry: [coverity-ms]
14:33:44 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
14:33:44 CST retry: [coverity-ms]
14:33:49 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
14:33:49 CST retry: [coverity-ms]
14:33:54 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
14:33:54 CST retry: [coverity-ms]
14:33:59 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
14:33:59 CST retry: [coverity-ms]
14:34:04 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
14:34:04 CST failed: [coverity-ms]
error: Pipeline[CreateClusterPipeline] execute failed: Module[ETCDConfigureModule] exec failed: 
failed: [coverity-ms] [ExistETCDHealthCheck] exec failed after 20 retries: etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1

一定要關防火牆不能開放端口就好嗎?

  • 已编辑

@Cauchy

15:13:34 CST [ETCDConfigureModule] Health check on exist etcd
15:13:34 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
15:13:34 CST retry: [coverity-ms]
15:13:39 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
15:13:39 CST retry: [coverity-ms]
15:13:45 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
15:13:45 CST retry: [coverity-ms]
15:13:50 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
15:13:50 CST retry: [coverity-ms]
15:13:55 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
15:13:55 CST retry: [coverity-ms]
15:14:00 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
15:14:00 CST retry: [coverity-ms]
15:14:05 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
15:14:05 CST retry: [coverity-ms]
15:14:10 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
15:14:10 CST retry: [coverity-ms]
15:14:15 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
15:14:15 CST retry: [coverity-ms]
15:14:20 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
15:14:20 CST retry: [coverity-ms]
15:14:25 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
15:14:25 CST retry: [coverity-ms]
15:14:30 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
15:14:30 CST retry: [coverity-ms]
15:14:36 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
15:14:36 CST retry: [coverity-ms]
15:14:41 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
15:14:41 CST retry: [coverity-ms]
15:14:46 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
15:14:46 CST retry: [coverity-ms]
15:14:51 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
15:14:51 CST retry: [coverity-ms]
15:14:56 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
15:14:56 CST retry: [coverity-ms]
15:15:01 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
15:15:01 CST retry: [coverity-ms]
15:15:06 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
15:15:06 CST retry: [coverity-ms]
15:15:11 CST message: [coverity-ms]
etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
15:15:11 CST failed: [coverity-ms]
error: Pipeline[CreateClusterPipeline] execute failed: Module[ETCDConfigureModule] exec failed: 
failed: [coverity-ms] [ExistETCDHealthCheck] exec failed after 20 retries: etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused

error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1

    錯誤訊息:

    15:13:34 CST [ETCDConfigureModule] Health check on exist etcd
    
    15:13:34 CST message: [coverity-ms]
    
    etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
    
    Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused
    
    error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
    
    15:13:34 CST retry: [coverity-ms]
    
    15:13:39 CST message: [coverity-ms]
    
    etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
    
    Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused
    
    error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
    
    15:13:39 CST retry: [coverity-ms]
    
    15:13:45 CST message: [coverity-ms]
    
    etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
    
    Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused
    
    error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
    
    15:13:45 CST retry: [coverity-ms]
    
    15:13:50 CST message: [coverity-ms]
    
    etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
    
    Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused
    
    error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
    
    15:13:50 CST retry: [coverity-ms]
    
    15:13:55 CST message: [coverity-ms]
    
    etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
    
    Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused
    
    error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
    
    15:13:55 CST retry: [coverity-ms]
    
    15:14:00 CST message: [coverity-ms]
    
    etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
    
    Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused
    
    error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
    
    15:14:00 CST retry: [coverity-ms]
    
    15:14:05 CST message: [coverity-ms]
    
    etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
    
    Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused
    
    error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
    
    15:14:05 CST retry: [coverity-ms]
    
    15:14:10 CST message: [coverity-ms]
    
    etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
    
    Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused
    
    error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
    
    15:14:10 CST retry: [coverity-ms]
    
    15:14:15 CST message: [coverity-ms]
    
    etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
    
    Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused
    
    error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
    
    15:14:15 CST retry: [coverity-ms]
    
    15:14:20 CST message: [coverity-ms]
    
    etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
    
    Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused
    
    error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
    
    15:14:20 CST retry: [coverity-ms]
    
    15:14:25 CST message: [coverity-ms]
    
    etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
    
    Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused
    
    error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
    
    15:14:25 CST retry: [coverity-ms]
    
    15:14:30 CST message: [coverity-ms]
    
    etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
    
    Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused
    
    error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
    
    15:14:30 CST retry: [coverity-ms]
    
    15:14:36 CST message: [coverity-ms]
    
    etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
    
    Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused
    
    error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
    
    15:14:36 CST retry: [coverity-ms]
    
    15:14:41 CST message: [coverity-ms]
    
    etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
    
    Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused
    
    error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
    
    15:14:41 CST retry: [coverity-ms]
    
    15:14:46 CST message: [coverity-ms]
    
    etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
    
    Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused
    
    error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
    
    15:14:46 CST retry: [coverity-ms]
    
    15:14:51 CST message: [coverity-ms]
    
    etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
    
    Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused
    
    error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
    
    15:14:51 CST retry: [coverity-ms]
    
    15:14:56 CST message: [coverity-ms]
    
    etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
    
    Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused
    
    error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
    
    15:14:56 CST retry: [coverity-ms]
    
    15:15:01 CST message: [coverity-ms]
    
    etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
    
    Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused
    
    error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
    
    15:15:01 CST retry: [coverity-ms]
    
    15:15:06 CST message: [coverity-ms]
    
    etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
    
    Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused
    
    error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
    
    15:15:06 CST retry: [coverity-ms]
    
    15:15:11 CST message: [coverity-ms]
    
    etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
    
    Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused
    
    error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1
    
    15:15:11 CST failed: [coverity-ms]
    
    error: Pipeline[CreateClusterPipeline] execute failed: Module[ETCDConfigureModule] exec failed: 
    
    failed: [coverity-ms] [ExistETCDHealthCheck] exec failed after 20 retries: etcd health check failed: Failed to exec command: sudo -E /bin/bash -c "export ETCDCTL_API=2;export ETCDCTL_CERT_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms.pem';export ETCDCTL_KEY_FILE='/etc/ssl/etcd/ssl/admin-coverity-ms-key.pem';export ETCDCTL_CA_FILE='/etc/ssl/etcd/ssl/ca.pem';/usr/local/bin/etcdctl --endpoints=https://172.1.30.21:2379 cluster-health | grep -q 'cluster is healthy'" 
    
    Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 172.1.30.21:2379: connect: connection refused
    
    error #0: dial tcp 172.1.30.21:2379: connect: connection refused: Process exited with status 1

    Chain KUBE-FIREWALL (2 references)
    target prot opt source destination
    DROP all – !127.0.0.0/8 127.0.0.0/8 /* block incoming localnet connections */ ! ctstate RELATED,ESTABLISHED,DNAT

    我的防火牆是關閉的

    cici 报错里面 172.1.30.21 这个ip是什么,你贴的集群参数里面没有这个ip啊

    • cici 回复了此帖
      • 已编辑

      sylvia
      部署的那台機器的IP
      我有換過機器做,這邊放完整的

      apiVersion: kubekey.kubesphere.io/v1alpha2
      kind: Cluster
      metadata:
        name: sample
      spec:
        hosts:
          - {name: coverity-ms, address: 172.1.30.21, internalAddress: 172.1.30.21, user: h00283, password: "@Cc901109"}
        roleGroups:
          etcd:
          - coverity-ms
          control-plane: 
          - coverity-ms
          worker:
          - coverity-ms
        controlPlaneEndpoint:
          ## Internal loadbalancer for apiservers 
          # internalLoadbalancer: haproxy
      
          domain: lb.kubesphere.local
          address: ""
          port: 6443
        kubernetes:
          version: v1.28.0
          clusterName: cluster.local
          autoRenewCerts: true
          containerManager: containerd
        etcd:
          type: kubekey
        network:
          plugin: calico
          kubePodsCIDR: 10.233.64.0/18
          kubeServiceCIDR: 10.233.0.0/18
          ## multus support. https://github.com/k8snetworkplumbingwg/multus-cni
          multusCNI:
            enabled: false
        registry:
          privateRegistry: ""
          namespaceOverride: ""
          registryMirrors: []
          insecureRegistries: []
        addons: []

        cici 查一下你这台机器 2379 端口情况,再看下etcd 运行状态

        • cici 回复了此帖
          • 已编辑

          sylvia

          h00283@coverity-ms:~/kubesphere$ sudo netstat -tuln | grep 2379
          h00283@coverity-ms:~/kubesphere$ sudo systemctl status etcd
          ● etcd.service - etcd
               Loaded: loaded (/etc/systemd/system/etcd.service; enabled; vendor preset: enabled)
               Active: activating (auto-restart) (Result: exit-code) since Sat 2025-02-08 16:32:38 CST; 2s ago
              Process: 33563 ExecStart=/usr/local/bin/etcd (code=exited, status=1/FAILURE)
             Main PID: 33563 (code=exited, status=1/FAILURE)
                  CPU: 25ms
          h00283@coverity-ms:~/kubesphere$ sudo journalctl -f -u etcd
          [sudo] password for h00283: 
          Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"info","ts":"2025-02-08T16:55:01.66247+0800","caller":"embed/etcd.go:135","msg":"configuring client listeners","listen-client-urls":["https://127.0.0.1:2379","https://172.1.30.21:2379"]}
          Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"info","ts":"2025-02-08T16:55:01.662596+0800","caller":"embed/etcd.go:308","msg":"starting an etcd server","etcd-version":"3.5.13","git-sha":"c9063a0dc","go-version":"go1.21.8","go-os":"linux","go-arch":"amd64","max-cpu-set":16,"max-cpu-available":16,"member-initialized":false,"name":"etcd-coverity-ms","data-dir":"/var/lib/etcd","wal-dir":"","wal-dir-dedicated":"","member-dir":"/var/lib/etcd/member","force-new-cluster":false,"heartbeat-interval":"250ms","election-timeout":"5s","initial-election-tick-advance":true,"snapshot-count":10000,"max-wals":5,"max-snapshots":5,"snapshot-catchup-entries":5000,"initial-advertise-peer-urls":["https://172.1.30.21:2380"],"listen-peer-urls":["https://172.1.30.21:2380"],"advertise-client-urls":["https://172.1.30.21:2379"],"listen-client-urls":["https://127.0.0.1:2379","https://172.1.30.21:2379"],"listen-metrics-urls":[],"cors":["*"],"host-whitelist":["*"],"initial-cluster":"etcd-coverity-ms=https://172.1.30.21:2380","initial-cluster-state":"existing","initial-cluster-token":"k8s_etcd","quota-backend-bytes":2147483648,"max-request-bytes":1572864,"max-concurrent-streams":4294967295,"pre-vote":true,"initial-corrupt-check":false,"corrupt-check-time-interval":"0s","compact-check-time-enabled":false,"compact-check-time-interval":"1m0s","auto-compaction-mode":"periodic","auto-compaction-retention":"8h0m0s","auto-compaction-interval":"8h0m0s","discovery-url":"","discovery-proxy":"","downgrade-check-interval":"5s"}
          Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"warn","ts":"2025-02-08T16:55:01.662674+0800","caller":"fileutil/fileutil.go:53","msg":"check file permission","error":"directory \"/var/lib/etcd\" exist, but the permission is \"drwxr-xr-x\". The recommended permission is \"-rwx------\" to prevent possible unprivileged access to the data"}
          Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"info","ts":"2025-02-08T16:55:01.663982+0800","caller":"etcdserver/backend.go:81","msg":"opened backend db","path":"/var/lib/etcd/member/snap/db","took":"1.178268ms"}
          Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"info","ts":"2025-02-08T16:55:01.665027+0800","caller":"embed/etcd.go:375","msg":"closing etcd server","name":"etcd-coverity-ms","data-dir":"/var/lib/etcd","advertise-peer-urls":["https://172.1.30.21:2380"],"advertise-client-urls":["https://172.1.30.21:2379"]}
          Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"info","ts":"2025-02-08T16:55:01.665092+0800","caller":"embed/etcd.go:377","msg":"closed etcd server","name":"etcd-coverity-ms","data-dir":"/var/lib/etcd","advertise-peer-urls":["https://172.1.30.21:2380"],"advertise-client-urls":["https://172.1.30.21:2379"]}
          Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"fatal","ts":"2025-02-08T16:55:01.66511+0800","caller":"etcdmain/etcd.go:204","msg":"discovery failed","error":"cannot fetch cluster info from peer urls: could not retrieve cluster information from the given URLs","stacktrace":"go.etcd.io/etcd/server/v3/etcdmain.startEtcdOrProxyV2\n\tgo.etcd.io/etcd/server/v3/etcdmain/etcd.go:204\ngo.etcd.io/etcd/server/v3/etcdmain.Main\n\tgo.etcd.io/etcd/server/v3/etcdmain/main.go:40\nmain.main\n\tgo.etcd.io/etcd/server/v3/main.go:31\nruntime.main\n\truntime/proc.go:267"}
          Feb 08 16:55:01 coverity-ms systemd[1]: etcd.service: Main process exited, code=exited, status=1/FAILURE
          Feb 08 16:55:01 coverity-ms systemd[1]: etcd.service: Failed with result 'exit-code'.
          Feb 08 16:55:01 coverity-ms systemd[1]: Failed to start etcd.

            cici 看起来像 etcd 没起的来

            cici 分析下 etcd 日志吧,找下报错

            • cici 回复了此帖

              sylvia

              h00283@coverity-ms:~/kubesphere$ sudo journalctl -f -u etcd
              [sudo] password for h00283: 
              Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"info","ts":"2025-02-08T16:55:01.66247+0800","caller":"embed/etcd.go:135","msg":"configuring client listeners","listen-client-urls":["https://127.0.0.1:2379","https://172.1.30.21:2379"]}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"info","ts":"2025-02-08T16:55:01.662596+0800","caller":"embed/etcd.go:308","msg":"starting an etcd server","etcd-version":"3.5.13","git-sha":"c9063a0dc","go-version":"go1.21.8","go-os":"linux","go-arch":"amd64","max-cpu-set":16,"max-cpu-available":16,"member-initialized":false,"name":"etcd-coverity-ms","data-dir":"/var/lib/etcd","wal-dir":"","wal-dir-dedicated":"","member-dir":"/var/lib/etcd/member","force-new-cluster":false,"heartbeat-interval":"250ms","election-timeout":"5s","initial-election-tick-advance":true,"snapshot-count":10000,"max-wals":5,"max-snapshots":5,"snapshot-catchup-entries":5000,"initial-advertise-peer-urls":["https://172.1.30.21:2380"],"listen-peer-urls":["https://172.1.30.21:2380"],"advertise-client-urls":["https://172.1.30.21:2379"],"listen-client-urls":["https://127.0.0.1:2379","https://172.1.30.21:2379"],"listen-metrics-urls":[],"cors":["*"],"host-whitelist":["*"],"initial-cluster":"etcd-coverity-ms=https://172.1.30.21:2380","initial-cluster-state":"existing","initial-cluster-token":"k8s_etcd","quota-backend-bytes":2147483648,"max-request-bytes":1572864,"max-concurrent-streams":4294967295,"pre-vote":true,"initial-corrupt-check":false,"corrupt-check-time-interval":"0s","compact-check-time-enabled":false,"compact-check-time-interval":"1m0s","auto-compaction-mode":"periodic","auto-compaction-retention":"8h0m0s","auto-compaction-interval":"8h0m0s","discovery-url":"","discovery-proxy":"","downgrade-check-interval":"5s"}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"warn","ts":"2025-02-08T16:55:01.662674+0800","caller":"fileutil/fileutil.go:53","msg":"check file permission","error":"directory \"/var/lib/etcd\" exist, but the permission is \"drwxr-xr-x\". The recommended permission is \"-rwx------\" to prevent possible unprivileged access to the data"}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"info","ts":"2025-02-08T16:55:01.663982+0800","caller":"etcdserver/backend.go:81","msg":"opened backend db","path":"/var/lib/etcd/member/snap/db","took":"1.178268ms"}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"info","ts":"2025-02-08T16:55:01.665027+0800","caller":"embed/etcd.go:375","msg":"closing etcd server","name":"etcd-coverity-ms","data-dir":"/var/lib/etcd","advertise-peer-urls":["https://172.1.30.21:2380"],"advertise-client-urls":["https://172.1.30.21:2379"]}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"info","ts":"2025-02-08T16:55:01.665092+0800","caller":"embed/etcd.go:377","msg":"closed etcd server","name":"etcd-coverity-ms","data-dir":"/var/lib/etcd","advertise-peer-urls":["https://172.1.30.21:2380"],"advertise-client-urls":["https://172.1.30.21:2379"]}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"fatal","ts":"2025-02-08T16:55:01.66511+0800","caller":"etcdmain/etcd.go:204","msg":"discovery failed","error":"cannot fetch cluster info from peer urls: could not retrieve cluster information from the given URLs","stacktrace":"go.etcd.io/etcd/server/v3/etcdmain.startEtcdOrProxyV2\n\tgo.etcd.io/etcd/server/v3/etcdmain/etcd.go:204\ngo.etcd.io/etcd/server/v3/etcdmain.Main\n\tgo.etcd.io/etcd/server/v3/etcdmain/main.go:40\nmain.main\n\tgo.etcd.io/etcd/server/v3/main.go:31\nruntime.main\n\truntime/proc.go:267"}
              Feb 08 16:55:01 coverity-ms systemd[1]: etcd.service: Main process exited, code=exited, status=1/FAILURE
              Feb 08 16:55:01 coverity-ms systemd[1]: etcd.service: Failed with result 'exit-code'.
              Feb 08 16:55:01 coverity-ms systemd[1]: Failed to start etcd.

              日誌:
              h00283@coverity-ms:~/kubesphere$ sudo journalctl -f -u etcd
              [sudo] password for h00283:
              Feb 08 16:55:01 coverity-ms etcd[34961]: {“level”:“info”,“ts”:“2025-02-08T16:55:01.66247+0800”,“caller”:“embed/etcd.go:135”,“msg”:“configuring client listeners”,“listen-client-urls”:[“https://127.0.0.1:2379”,“https://172.1.30.21:2379”]}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {“level”:“info”,“ts”:“2025-02-08T16:55:01.662596+0800”,“caller”:“embed/etcd.go:308”,“msg”:“starting an etcd server”,“etcd-version”:“3.5.13”,“git-sha”:“c9063a0dc”,“go-version”:“go1.21.8”,“go-os”:“linux”,“go-arch”:“amd64”,“max-cpu-set”:16,“max-cpu-available”:16,“member-initialized”:false,“name”:“etcd-coverity-ms”,“data-dir”:“/var/lib/etcd”,“wal-dir”:"",“wal-dir-dedicated”:"",“member-dir”:“/var/lib/etcd/member”,“force-new-cluster”:false,“heartbeat-interval”:“250ms”,“election-timeout”:“5s”,“initial-election-tick-advance”:true,“snapshot-count”:10000,“max-wals”:5,“max-snapshots”:5,“snapshot-catchup-entries”:5000,“initial-advertise-peer-urls”:[“https://172.1.30.21:2380”],“listen-peer-urls”:[“https://172.1.30.21:2380”],“advertise-client-urls”:[“https://172.1.30.21:2379”],“listen-client-urls”:[“https://127.0.0.1:2379”,“https://172.1.30.21:2379”],“listen-metrics-urls”:[],“cors”:[“”],“host-whitelist”:[“”],“initial-cluster”:“etcd-coverity-ms=https://172.1.30.21:2380”,“initial-cluster-state”:“existing”,“initial-cluster-token”:“k8s_etcd”,“quota-backend-bytes”:2147483648,“max-request-bytes”:1572864,“max-concurrent-streams”:4294967295,“pre-vote”:true,“initial-corrupt-check”:false,“corrupt-check-time-interval”:“0s”,“compact-check-time-enabled”:false,“compact-check-time-interval”:“1m0s”,“auto-compaction-mode”:“periodic”,“auto-compaction-retention”:“8h0m0s”,“auto-compaction-interval”:“8h0m0s”,“discovery-url”:"",“discovery-proxy”:"",“downgrade-check-interval”:“5s”}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {“level”:“warn”,“ts”:“2025-02-08T16:55:01.662674+0800”,“caller”:“fileutil/fileutil.go:53”,“msg”:“check file permission”,“error”:“directory \”/var/lib/etcd\" exist, but the permission is \“drwxr-xr-x\”. The recommended permission is \“-rwx——\” to prevent possible unprivileged access to the data"}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {“level”:“info”,“ts”:“2025-02-08T16:55:01.663982+0800”,“caller”:“etcdserver/backend.go:81”,“msg”:“opened backend db”,“path”:“/var/lib/etcd/member/snap/db”,“took”:“1.178268ms”}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {“level”:“info”,“ts”:“2025-02-08T16:55:01.665027+0800”,“caller”:“embed/etcd.go:375”,“msg”:“closing etcd server”,“name”:“etcd-coverity-ms”,“data-dir”:“/var/lib/etcd”,“advertise-peer-urls”:[“https://172.1.30.21:2380”],“advertise-client-urls”:[“https://172.1.30.21:2379”]}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {“level”:“info”,“ts”:“2025-02-08T16:55:01.665092+0800”,“caller”:“embed/etcd.go:377”,“msg”:“closed etcd server”,“name”:“etcd-coverity-ms”,“data-dir”:“/var/lib/etcd”,“advertise-peer-urls”:[“https://172.1.30.21:2380”],“advertise-client-urls”:[“https://172.1.30.21:2379”]}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {“level”:“fatal”,“ts”:“2025-02-08T16:55:01.66511+0800”,“caller”:“etcdmain/etcd.go:204”,“msg”:“discovery failed”,“error”:“cannot fetch cluster info from peer urls: could not retrieve cluster information from the given URLs”,“stacktrace”:“go.etcd.io/etcd/server/v3/etcdmain.startEtcdOrProxyV2\n\tgo.etcd.io/etcd/server/v3/etcdmain/etcd.go:204\ngo.etcd.io/etcd/server/v3/etcdmain.Main\n\tgo.etcd.io/etcd/server/v3/etcdmain/main.go:40\nmain.main\n\tgo.etcd.io/etcd/server/v3/main.go:31\nruntime.main\n\truntime/proc.go:267”}
              Feb 08 16:55:01 coverity-ms systemd[1]: etcd.service: Main process exited, code=exited, status=1/FAILURE
              Feb 08 16:55:01 coverity-ms systemd[1]: etcd.service: Failed with result ‘exit-code’.
              Feb 08 16:55:01 coverity-ms systemd[1]: Failed to start etcd.

              @sylvia

              h00283@coverity-ms:~/kubesphere$ sudo journalctl -f -u etcd
              [sudo] password for h00283: 
              Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"info","ts":"2025-02-08T16:55:01.66247+0800","caller":"embed/etcd.go:135","msg":"configuring client listeners","listen-client-urls":["https://127.0.0.1:2379","https://172.1.30.21:2379"]}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"info","ts":"2025-02-08T16:55:01.662596+0800","caller":"embed/etcd.go:308","msg":"starting an etcd server","etcd-version":"3.5.13","git-sha":"c9063a0dc","go-version":"go1.21.8","go-os":"linux","go-arch":"amd64","max-cpu-set":16,"max-cpu-available":16,"member-initialized":false,"name":"etcd-coverity-ms","data-dir":"/var/lib/etcd","wal-dir":"","wal-dir-dedicated":"","member-dir":"/var/lib/etcd/member","force-new-cluster":false,"heartbeat-interval":"250ms","election-timeout":"5s","initial-election-tick-advance":true,"snapshot-count":10000,"max-wals":5,"max-snapshots":5,"snapshot-catchup-entries":5000,"initial-advertise-peer-urls":["https://172.1.30.21:2380"],"listen-peer-urls":["https://172.1.30.21:2380"],"advertise-client-urls":["https://172.1.30.21:2379"],"listen-client-urls":["https://127.0.0.1:2379","https://172.1.30.21:2379"],"listen-metrics-urls":[],"cors":["*"],"host-whitelist":["*"],"initial-cluster":"etcd-coverity-ms=https://172.1.30.21:2380","initial-cluster-state":"existing","initial-cluster-token":"k8s_etcd","quota-backend-bytes":2147483648,"max-request-bytes":1572864,"max-concurrent-streams":4294967295,"pre-vote":true,"initial-corrupt-check":false,"corrupt-check-time-interval":"0s","compact-check-time-enabled":false,"compact-check-time-interval":"1m0s","auto-compaction-mode":"periodic","auto-compaction-retention":"8h0m0s","auto-compaction-interval":"8h0m0s","discovery-url":"","discovery-proxy":"","downgrade-check-interval":"5s"}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"warn","ts":"2025-02-08T16:55:01.662674+0800","caller":"fileutil/fileutil.go:53","msg":"check file permission","error":"directory \"/var/lib/etcd\" exist, but the permission is \"drwxr-xr-x\". The recommended permission is \"-rwx------\" to prevent possible unprivileged access to the data"}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"info","ts":"2025-02-08T16:55:01.663982+0800","caller":"etcdserver/backend.go:81","msg":"opened backend db","path":"/var/lib/etcd/member/snap/db","took":"1.178268ms"}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"info","ts":"2025-02-08T16:55:01.665027+0800","caller":"embed/etcd.go:375","msg":"closing etcd server","name":"etcd-coverity-ms","data-dir":"/var/lib/etcd","advertise-peer-urls":["https://172.1.30.21:2380"],"advertise-client-urls":["https://172.1.30.21:2379"]}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"info","ts":"2025-02-08T16:55:01.665092+0800","caller":"embed/etcd.go:377","msg":"closed etcd server","name":"etcd-coverity-ms","data-dir":"/var/lib/etcd","advertise-peer-urls":["https://172.1.30.21:2380"],"advertise-client-urls":["https://172.1.30.21:2379"]}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"fatal","ts":"2025-02-08T16:55:01.66511+0800","caller":"etcdmain/etcd.go:204","msg":"discovery failed","error":"cannot fetch cluster info from peer urls: could not retrieve cluster information from the given URLs","stacktrace":"go.etcd.io/etcd/server/v3/etcdmain.startEtcdOrProxyV2\n\tgo.etcd.io/etcd/server/v3/etcdmain/etcd.go:204\ngo.etcd.io/etcd/server/v3/etcdmain.Main\n\tgo.etcd.io/etcd/server/v3/etcdmain/main.go:40\nmain.main\n\tgo.etcd.io/etcd/server/v3/main.go:31\nruntime.main\n\truntime/proc.go:267"}
              Feb 08 16:55:01 coverity-ms systemd[1]: etcd.service: Main process exited, code=exited, status=1/FAILURE
              Feb 08 16:55:01 coverity-ms systemd[1]: etcd.service: Failed with result 'exit-code'.
              Feb 08 16:55:01 coverity-ms systemd[1]: Failed to start etcd.

              sylvia 我編輯在上方

              h00283@coverity-ms:~/kubesphere$ sudo journalctl -f -u etcd
              [sudo] password for h00283: 
              Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"info","ts":"2025-02-08T16:55:01.66247+0800","caller":"embed/etcd.go:135","msg":"configuring client listeners","listen-client-urls":["https://127.0.0.1:2379","https://172.1.30.21:2379"]}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"info","ts":"2025-02-08T16:55:01.662596+0800","caller":"embed/etcd.go:308","msg":"starting an etcd server","etcd-version":"3.5.13","git-sha":"c9063a0dc","go-version":"go1.21.8","go-os":"linux","go-arch":"amd64","max-cpu-set":16,"max-cpu-available":16,"member-initialized":false,"name":"etcd-coverity-ms","data-dir":"/var/lib/etcd","wal-dir":"","wal-dir-dedicated":"","member-dir":"/var/lib/etcd/member","force-new-cluster":false,"heartbeat-interval":"250ms","election-timeout":"5s","initial-election-tick-advance":true,"snapshot-count":10000,"max-wals":5,"max-snapshots":5,"snapshot-catchup-entries":5000,"initial-advertise-peer-urls":["https://172.1.30.21:2380"],"listen-peer-urls":["https://172.1.30.21:2380"],"advertise-client-urls":["https://172.1.30.21:2379"],"listen-client-urls":["https://127.0.0.1:2379","https://172.1.30.21:2379"],"listen-metrics-urls":[],"cors":["*"],"host-whitelist":["*"],"initial-cluster":"etcd-coverity-ms=https://172.1.30.21:2380","initial-cluster-state":"existing","initial-cluster-token":"k8s_etcd","quota-backend-bytes":2147483648,"max-request-bytes":1572864,"max-concurrent-streams":4294967295,"pre-vote":true,"initial-corrupt-check":false,"corrupt-check-time-interval":"0s","compact-check-time-enabled":false,"compact-check-time-interval":"1m0s","auto-compaction-mode":"periodic","auto-compaction-retention":"8h0m0s","auto-compaction-interval":"8h0m0s","discovery-url":"","discovery-proxy":"","downgrade-check-interval":"5s"}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"warn","ts":"2025-02-08T16:55:01.662674+0800","caller":"fileutil/fileutil.go:53","msg":"check file permission","error":"directory \"/var/lib/etcd\" exist, but the permission is \"drwxr-xr-x\". The recommended permission is \"-rwx------\" to prevent possible unprivileged access to the data"}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"info","ts":"2025-02-08T16:55:01.663982+0800","caller":"etcdserver/backend.go:81","msg":"opened backend db","path":"/var/lib/etcd/member/snap/db","took":"1.178268ms"}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"info","ts":"2025-02-08T16:55:01.665027+0800","caller":"embed/etcd.go:375","msg":"closing etcd server","name":"etcd-coverity-ms","data-dir":"/var/lib/etcd","advertise-peer-urls":["https://172.1.30.21:2380"],"advertise-client-urls":["https://172.1.30.21:2379"]}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"info","ts":"2025-02-08T16:55:01.665092+0800","caller":"embed/etcd.go:377","msg":"closed etcd server","name":"etcd-coverity-ms","data-dir":"/var/lib/etcd","advertise-peer-urls":["https://172.1.30.21:2380"],"advertise-client-urls":["https://172.1.30.21:2379"]}
              Feb 08 16:55:01 coverity-ms etcd[34961]: {"level":"fatal","ts":"2025-02-08T16:55:01.66511+0800","caller":"etcdmain/etcd.go:204","msg":"discovery failed","error":"cannot fetch cluster info from peer urls: could not retrieve cluster information from the given URLs","stacktrace":"go.etcd.io/etcd/server/v3/etcdmain.startEtcdOrProxyV2\n\tgo.etcd.io/etcd/server/v3/etcdmain/etcd.go:204\ngo.etcd.io/etcd/server/v3/etcdmain.Main\n\tgo.etcd.io/etcd/server/v3/etcdmain/main.go:40\nmain.main\n\tgo.etcd.io/etcd/server/v3/main.go:31\nruntime.main\n\truntime/proc.go:267"}
              Feb 08 16:55:01 coverity-ms systemd[1]: etcd.service: Main process exited, code=exited, status=1/FAILURE
              Feb 08 16:55:01 coverity-ms systemd[1]: etcd.service: Failed with result 'exit-code'.
              Feb 08 16:55:01 coverity-ms systemd[1]: Failed to start etcd.

              有人可以協助幫忙嗎

              • CauchyK零SK壹S

              可以先尝试卸载一下,然后再重装试试看,还是不行的话再看看 etcd 日志
              卸载可以用 ./kk delete cluster -f xxx.yaml

              • cici 回复了此帖

                Cauchy 卸載過了一樣沒辦法

                現在看起來etcd沒辦法裝

                不確定什麼原因突然就沒這個錯誤了