安装报错Error: context deadline exceeded

[root@dev-dbteam-143104 /]# tiup cluster start tidb-xuexiaogang
Starting component cluster: /root/.tiup/components/cluster/v1.7.0/tiup-cluster start tidb-xuexiaogang
Starting cluster tidb-xuexiaogang…

  • [ Serial ] - SSHKeySet: privateKey=/root/.tiup/storage/cluster/clusters/tidb-xuexiaogang/ssh/id_rsa, publicKey=/root/.tiup/storage/cluster/clusters/tidb-xuexiaogang/ssh/id_rsa.pub
  • [Parallel] - UserSSH: user=tidb, host=10.60.143.104
  • [Parallel] - UserSSH: user=tidb, host=10.60.143.104
  • [Parallel] - UserSSH: user=tidb, host=10.60.143.104
  • [Parallel] - UserSSH: user=tidb, host=10.60.143.104
  • [Parallel] - UserSSH: user=tidb, host=10.60.143.104
  • [Parallel] - UserSSH: user=tidb, host=10.60.143.104
  • [Parallel] - UserSSH: user=tidb, host=10.60.143.104
  • [ Serial ] - StartCluster
    Starting component pd
    Starting instance 10.60.143.104:2379
    Start instance 10.60.143.104:2379 success
    Starting component tikv
    Starting instance 10.60.143.104:20160
    Start instance 10.60.143.104:20160 success
    Starting component tidb
    Starting instance 10.60.143.104:4000
    Start instance 10.60.143.104:4000 success
    Starting component tiflash
    Starting instance 10.60.143.104:9000
    Start instance 10.60.143.104:9000 success
    Starting component prometheus
    Starting instance 10.60.143.104:9090
    Start instance 10.60.143.104:9090 success
    Starting component grafana
    Starting instance 10.60.143.104:3000
    Start instance 10.60.143.104:3000 success
    Starting component alertmanager
    Starting instance 10.60.143.104:9093
    Start instance 10.60.143.104:9093 success
    Starting component node_exporter
    Starting instance 10.60.143.104
    Start 10.60.143.104 success
    Starting component blackbox_exporter
    Starting instance 10.60.143.104
    Start 10.60.143.104 success
  • [ Serial ] - UpdateTopology: cluster=tidb-xuexiaogang
    {“level”:“warn”,“ts”:“2022-02-11T14:28:51.194+0800”,“logger”:“etcd-client”,“caller”:“v3@v3.5.0/retry_interceptor.go:62”,“msg”:“retrying of unary invoker failed”,“target”:“etcd-endpoints://0xc0002ca1c0/#initially=[10.60.143.104:2379]”,“attempt”:0,“error”:“rpc error: code = DeadlineExceeded desc = latest balancer error: last connection error: connection error: desc = “transport: Error while dialing failed to do connect handshake, response: \“HTTP/1.1 403 Proxy Error\\r\\ Content-Length: 223\\r\\ Content-Type: text/html; charset=iso-8859-1\\r\\ Date: Fri, 11 Feb 2022 06:28:50 GMT\\r\\ Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips\\r\\ \\r\\ \\ \\ 403 Proxy Error\\ \\

    Proxy Error

    \\

    You don’t have permission to access 10.60.143.104:2379\\ on this server.

    \\ \\ \”””}

Error: context deadline exceeded

Verbose debug logs has been written to /root/.tiup/logs/tiup-cluster-debug-2022-02-11-14-28-51.log.
Error: run /root/.tiup/components/cluster/v1.7.0/tiup-cluster (wd:/root/.tiup/data/Sx6voih) failed: exit status 1

虽然报错了,但是所有的页面都可以访问。数据库也可以正常登录,建立用户。读写正常。

1 个赞

集群拓扑结构是怎样的,单机安装的吗

1 个赞

详细说一下呢

1 个赞

You don’t have permission to access 10.60.143.104:2379\ on this server.排查一下这个

1 个赞

楼上贴的这部分内容来看,是个权限问题,可以从这方面着手

1 个赞

此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。