当前 tidb 4.0.rc1 tiup最新 打算扩容一个tikv节点,ssh ntpd服务 都正常,防火墙已关闭,slinux也已关闭 scale-out.yaml 配置如下
tikv_servers:
- host: 172.7.160.26
ssh_port: 23
imported: true
port: 20160
status_port: 20180
deploy_dir: /data/deploy
data_dir: /data/deploy/data
log_dir: /data/deploy/log
在 /home/tidb/ 目录下,使用 tidb 用户在此目录下执行
tiup cluster scale-out 集群名 scale-out.yaml
几次都报错如下
+ [ Serial ] - SSHKeySet: privateKey=/home/tidb/.tiup/storage/cluster/clusters/zhuashitidb/ssh/id_rsa, publicKey=/home/tidb/.tiup/storage/cluster/clusters/zhuashitidb/ssh/id_rsa.pub
- Download tikv:v4.0.0-rc.1 ... Done
+ [ Serial ] - RootSSH: user=tidb, host=172.7.160.26, port=23, key=/home/tidb/.ssh/id_rsa
+ [ Serial ] - EnvInit: user=tidb, host=172.7.160.26
+ [ Serial ] - Mkdir: host=172.7.160.26, directories='/data/deploy','/data/deploy/data'
+ [ Serial ] - UserSSH: user=tidb, host=172.7.160.26
+ [ Serial ] - Mkdir: host=172.7.160.26, directories='/data/deploy','/data/deploy/data','/data/deploy/log','/data/deploy/bin','/data/deploy/conf','/data/deploy/scripts'
- Copy node_exporter -> 172.7.160.26 ... ⠋ Mkdir: host=172.7.160.26, directories='/home/tidb/deploy/monitor-9100','data/monitor-9100','/home/tidb','/home/tidb/deploy/monitor-9100/bin','/home/tidb/deploy/m...
- Copy node_exporter -> 172.7.160.26 ... Done
+ [ Serial ] - ScaleConfig: cluster=zhuashitidb, user=tidb, host=172.7.160.26, service=tikv-20160.service, deploy_dir=/data/deploy, data_dir=/data/deploy/data, log_dir=/data/deploy/log, cache_dir=
Error: open /home/tidb/.tiup/storage/cluster/clusters/zhuashitidb/config/tikv-172.7.160.26-20160.toml: no such file or directory
Verbose debug logs has been written to /home/tidb/logs/tiup-cluster-debug-2020-05-04-17-23-16.log.
Error: run `/home/tidb/.tiup/components/cluster/v0.6.0/cluster` (wd:/home/tidb/.tiup/data/Ry0fK4o) failed: exit status 1