为提高效率,请提供以下信息,问题描述清晰能够更快得到解决:
【TiDB 版本】tidb V3.05 tiup 1.4
【问题描述】
计划把生产环境的 v3.0.5导入到 tiup来管理,然后进行升级操作,先在测试环境进行了一些列测试,第一次导入成功了,第二次,不小心把 tiup 给升级了,就不成功了。我反复,创建v3.0.5集群,导入 tiup,稳定复现这个问题。
tidb@local-pvenode1:~$ tiup cluster reload test-cluster
Starting component `cluster`: /home/tidb/.tiup/components/cluster/v1.4.0/tiup-cluster reload test-cluster
+ [ Serial ] - SSHKeySet: privateKey=/home/tidb/.tiup/storage/cluster/clusters/test-cluster/ssh/id_rsa, publicKey=/home/tidb/.tiup/storage/cluster/clusters/test-cluster/ssh/id_rsa.pub
+ [Parallel] - UserSSH: user=tidb, host=10.10.10.110
+ [Parallel] - UserSSH: user=tidb, host=10.10.10.108
+ [Parallel] - UserSSH: user=tidb, host=10.10.10.112
+ [Parallel] - UserSSH: user=tidb, host=10.10.10.107
+ [Parallel] - UserSSH: user=tidb, host=10.10.10.110
+ [Parallel] - UserSSH: user=tidb, host=10.10.10.106
+ [Parallel] - UserSSH: user=tidb, host=10.10.10.111
+ [Parallel] - UserSSH: user=tidb, host=10.10.10.105
+ [Parallel] - UserSSH: user=tidb, host=10.10.10.112
+ [Parallel] - UserSSH: user=tidb, host=10.10.10.109
+ [Parallel] - UserSSH: user=tidb, host=10.10.10.111
+ [Parallel] - UserSSH: user=tidb, host=10.10.10.104
+ [ Serial ] - UpdateTopology: cluster=test-cluster
+ Refresh instance configs
- Regenerate config pd -> 10.10.10.110:2379 ... Done
- Regenerate config pd -> 10.10.10.111:2379 ... Done
- Regenerate config pd -> 10.10.10.112:2379 ... Done
- Regenerate config tikv -> 10.10.10.109:20160 ... Done
- Regenerate config tikv -> 10.10.10.107:20160 ... Done
- Regenerate config tikv -> 10.10.10.108:20160 ... Done
- Regenerate config tidb -> 10.10.10.104:4000 ... Done
- Regenerate config tidb -> 10.10.10.105:4000 ... Done
- Regenerate config tidb -> 10.10.10.106:4000 ... Done
- Regenerate config prometheus -> 10.10.10.111:9090 ... Error
- Regenerate config grafana -> 10.10.10.112:3000 ... Done
- Regenerate config alertmanager -> 10.10.10.110:9093 ... Done
Error: init config failed: 10.10.10.111:9090: executor.ssh.execute_failed: Failed to execute command over SSH for 'tidb@10.10.10.111:22' {ssh_stderr: FAILED: "/data/tidb/deploy/conf/tikv.accelerate.rules.yml" does not point to an existing file
, ssh_stdout: Checking /data/tidb/deploy/conf/prometheus.yml
, ssh_command: export LANG=C; PATH=$PATH:/usr/bin:/usr/sbin /data/tidb/deploy/bin/prometheus/promtool check config /data/tidb/deploy/conf/prometheus.yml}, cause: Process exited with status 1: check config failed
Verbose debug logs has been written to /home/tidb/.tiup/logs/tiup-cluster-debug-2021-03-31-21-22-20.log.
Error: run `/home/tidb/.tiup/components/cluster/v1.4.0/tiup-cluster` (wd:/home/tidb/.tiup/data/STF3Vwt) failed: exit status 1
FAILED: "/data/tidb/deploy/conf/tikv.accelerate.rules.yml" does not point to an existing file
tikv.accelerate.rules.yml 找不到啊,到底 要怎么弄,一点思绪都没有,求解药。