【TiDB 使用环境】测试
【TiDB 版本】v5.4.1
【操作系统】 centos7
【部署方式】机器部署(
【集群数据量】
【集群节点数】tidb:1,pd:1,tikv:3
操作及报错日志:
./bin/tiup cluster scale-out tidb_cluster_iap scala-out-pd-95-12379.yml --user xxxx
tiup is checking updates for component cluster …
A new version of cluster is available:
The latest version: v1.16.1
Local installed version: v1.9.6
Update current component: tiup update cluster
Update all components: tiup update --all
Starting component cluster
: /data/home/xxxx/.tiup/components/cluster/v1.9.6/tiup-cluster /data/home/xxxx/.tiup/components/cluster/v1.9.6/tiup-cluster scale-out tidb_cluster_iap scala-out-pd-95-12379.yml --user xxxx
Please confirm your topology:
Cluster type: tidb
Cluster name: tidb_cluster_iap
Cluster version: v5.4.1
Role Host Ports OS/Arch Directories
Attention:
1. If the topology is not what you expected, check your yaml file.
2. Please confirm there is no port/directory conflicts in same host.
Do you want to continue? [y/N]: (default=N) y
- [ Serial ] - SSHKeySet: privateKey=/data/home/xxxx/.tiup/storage/cluster/clusters/tidb_cluster_iap/ssh/id_rsa, publicKey=/data/home/xxxx/.tiup/storage/cluster/clusters/tidb_cluster_iap/ssh/id_rsa.pub
- [Parallel] - UserSSH: user=xxxx, host=192.168.66.66
- [Parallel] - UserSSH: user=xxxx, host=192.168.66.66
- [Parallel] - UserSSH: user=xxxx, host=192.168.66.66
- [Parallel] - UserSSH: user=xxxx, host=192.168.66.66
- [Parallel] - UserSSH: user=xxxx, host=192.168.66.66
- [Parallel] - UserSSH: user=xxxx, host=192.168.66.66
- [Parallel] - UserSSH: user=xxxx, host=192.168.66.66
- Download TiDB components
- Initialize target host environments
- Deploy TiDB instance
- Copy certificate to remote host
- Generate scale-out config
- Init monitor config
- Check status
Enabling component node_exporter
Enabling component blackbox_exporter - [ Serial ] - Save meta
- [ Serial ] - Start new instances
Starting component node_exporter
Starting component blackbox_exporter - Refresh components conifgs
- Generate config pd → 192.168.66.66:2379 … Error
- Generate config tikv → 192.168.66.66:20160 … Error
- Generate config tikv → 192.168.66.66:20161 … Error
- Generate config tikv → 192.168.66.66:20162 … Error
- Generate config tidb → 192.168.66.66:4000 … Error
- Generate config prometheus → 192.168.66.66:9090 … Error
- Generate config grafana → 192.168.66.66:3000 … Error
Error: init config failed: 192.168.66.66:20161: transfer from /data/home/xxxx/.tiup/storage/cluster/clusters/tidb_cluster_iap/config-cache/tikv-192.168.66.66-20161.service to /tmp/tikv_81673729-e2f7-4550-bc1a-ff8dbd13c8f8.service failed: failed to scp /data/home/xxxx/.tiup/storage/cluster/clusters/tidb_cluster_iap/config-cache/tikv-192.168.66.66-20161.service to xxxx@192.168.66.66:/tmp/tikv_81673729-e2f7-4550-bc1a-ff8dbd13c8f8.service: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain