扩容方式是
Starting component cluster
: /home/tidb/.tiup/components/cluster/v1.4.1/tiup-cluster scale-out -y tidb /opt/app/current/conf/tidb/scale-out.yaml
最初部署TIDB集群成功,没有加tiflash节点, 成功之后我想扩容增加一个tiflash节点,有时正常,有时报错?
报错信息是:
e[1A
e[2K - Copy node_exporter → 172.24.0.25 … ⠹ MonitoredConfig: cluster=tidb, user=tidb, node_exporter_port=9100, blackbox_exporter_port=9115, deploy_dir=/data/tidb-deploy/monitor-9100, data_dir=[/data/tidb-data/monitor-9100], log_dir=/data/tidb-deploy/monitor-9100/log, cache_dir=/home/tidb/.tiup/storage/cluster/clusters/tidb/config-cachee[1B
e[1A
e[2K - Copy node_exporter → 172.24.0.25 … ⠸ MonitoredConfig: cluster=tidb, user=tidb, node_exporter_port=9100, blackbox_exporter_port=9115, deploy_dir=/data/tidb-deploy/monitor-9100, data_dir=[/data/tidb-data/monitor-9100], log_dir=/data/tidb-deploy/monitor-9100/log, cache_dir=/home/tidb/.tiup/storage/cluster/clusters/tidb/config-cachee[1B
e[1A
e[2K - Copy node_exporter → 172.24.0.25 … Donee[1B
Error: stderr: tar (child): /data/tidb-deploy/tiflash-9000/bin/tiflash-v5.0.1-linux-amd64.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
: executor.ssh.execute_failed: Failed to execute command over SSH for ‘tidb@172.24.0.25:22’ {ssh_stderr: tar (child): /data/tidb-deploy/tiflash-9000/bin/tiflash-v5.0.1-linux-amd64.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
, ssh_stdout: , ssh_command: export LANG=C; PATH=$PATH:/usr/bin:/usr/sbin tar --no-same-owner -zxf /data/tidb-deploy/tiflash-9000/bin/tiflash-v5.0.1-linux-amd64.tar.gz -C /data/tidb-deploy/tiflash-9000/bin && rm /data/tidb-deploy/tiflash-9000/bin/tiflash-v5.0.1-linux-amd64.tar.gz}, cause: Process exited with status 2
Verbose debug logs has been written to /home/tidb/.tiup/logs/tiup-cluster-debug-2021-06-25-14-12-25.log.
Error: run /home/tidb/.tiup/components/cluster/v1.4.1/tiup-cluster
(wd:/home/tidb/.tiup/data/SbKAG7H) failed: exit status 1
tiup cluster display tidb 显示是正常的
http://172.24.0.61:2379/dashboard/#/cluster_info/disk 下的磁盘展示是异常的
重新继续扩容tiflash2台 ,扩容没有报错,tiup cluster display tidb 显示是正常的,
但磁盘展示异常
在继续新增tiflash6个节点,这时报和标题一样的错,tiup cluster display tidb 显示是正常的,
同样磁盘展示异常(磁盘图片上面的一样)
错误信息如下:
- Copy node_exporter → 172.24.0.38 … Done/clusters/tidb/config-cache
Error: stderr: tar (child): /data/tidb-deploy/tiflash-9000/bin/tiflash-v5.0.1-linux-amd64.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
: executor.ssh.execute_failed: Failed to execute command over SSH for ‘tidb@172.24.0.37:22’ {ssh_stderr: tar (child): /data/tidb-deploy/tiflash-9000/bin/tiflash-v5.0.1-linux-amd64.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
, ssh_stdout: , ssh_command: export LANG=C; PATH=$PATH:/usr/bin:/usr/sbin tar --no-same-owner -zxf /data/tidb-deploy/tiflash-9000/bin/tiflash-v5.0.1-linux-amd64.tar.gz -C /data/tidb-deploy/tiflash-9000/bin && rm /data/tidb-deploy/tiflash-9000/bin/tiflash-v5.0.1-linux-amd64.tar.gz}, cause: Process exited with status 2
Verbose debug logs has been written to /home/tidb/.tiup/logs/tiup-cluster-debug-2021-06-25-15-53-19.log.
Error: run /home/tidb/.tiup/components/cluster/v1.4.1/tiup-cluster
(wd:/home/tidb/.tiup/data/SbKZfUO) failed: exit status 1