tiup 安装过程中出现,在copy file这个过程中

Error: ssh: handshake failed: read tcp 10.221.1.29:46756->10.150.3.16:22022: read: connection reset by peer

monitoring, grafana, alertemanager,这个三个部件在一台机器上就会把免密干掉。

1、上面的报错是在使用 tiup 的过程中出现的吗?

2、请提供下下述信息,便于问题的排查:

1) 当前使用的 tiup 的版本,建议升级至最新版本,可以使用  tiup update --self 来更新
2) 上述报错是在执行什么命令时出现的?请提供完整的操作命令
3) 请提供下 tiup 完整的 debug 日志
4) 如果方便请提供下 topology.yaml 完整的配置文件

2.1 已是最新版本 2.2 在执行tiup cluster deploy tidb-prod v4.0.0-rc ./topology.yaml --user root -i /root/.ssh/id_rsa这个命令之后,Copy files 步骤错误 2.3{“code”: 1, “error”: “ssh: handshake failed: read tcp 10.221.1.29:47822->10.150.3.16:22022: read: connection reset by peer”, “errorVerbose”: "ssh: handshake failed: read tcp 2.4global: user: “root” ssh_port: 22022 deploy_dir: “/tidb-deploy” data_dir: “/tidb-data”

monitored: node_exporter_port: 9100 blackbox_exporter_port: 9115

server_configs: tidb: log.slow-threshold: 300 binlog.enable: false binlog.ignore-error: false tikv: readpool.storage.use-unified-pool: false readpool.coprocessor.use-unified-pool: true pd: schedule.leader-schedule-limit: 4 schedule.region-schedule-limit: 2048 schedule.replica-schedule-limit: 64 replication.enable-placement-rules: true tiflash: logger.level: “info”

pd_servers:

  • host: 10.150.3.9
  • host: 10.150.3.10
  • host: 10.150.3.11

tidb_servers:

  • host: 10.150.3.12
  • host: 10.150.3.13

tikv_servers:

  • host: 10.150.3.14
  • host: 10.150.3.15
  • host: 10.150.3.16

tiflash_servers:

  • host: 10.150.3.16

monitoring_servers:

  • host: 10.150.3.16

grafana_servers:

  • host: 10.150.3.16

alertmanager_servers:

  • host: 10.150.3.16

已解决,将grafana和monitoring分开放就可以了

1 个赞

:+1::+1::+1:

哈哈哈,我遇到read: connection reset by peer这个问题,该了其中一个主机也可以了

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