tiup部署报错 timestamp manifest has a version number < the old manifest (29199, 29830)

【 TiDB 使用环境`】测试环境
【 TiDB 版本】v 6.0
【遇到的问题】Error: timestamp manifest has a version number < the old manifest (29199, 29830)
【复现路径】新安装时 check 检查的错误
【问题现象及影响】
Error: timestamp manifest has a version number < the old manifest (29199, 29830)

[root@tidb1 ~]# tiup cluster check ./topology.yaml --apply --user root -p -i /home/root/.ssh/gcp_rsa
tiup is checking updates for component cluster ...timeout!
Starting component `cluster`: /root/.tiup/components/cluster/v1.9.4/tiup-cluster /root/.tiup/components/cluster/v1.9.4/tiup-cluster check ./topology.yaml --apply --user root -p -i /home/root/.ssh/gcp_rsa
Input SSH password: 





+ Detect CPU Arch
  - Detecting node 192.168.75.12 ... ⠋ Shell: host=192.168.75.12, sudo=false, command=`uname -m`
+ Detect CPU Arch
  - Detecting node 192.168.75.12 ... Done
  - Detecting node 192.168.75.13 ... Done
  - Detecting node 192.168.75.14 ... Done
  - Detecting node 192.168.75.15 ... Done
  - Detecting node 192.168.75.16 ... Done
  - Detecting node 192.168.75.17 ... Done
  - Detecting node 192.168.75.11 ... Done
+ Download necessary tools
  - Downloading check tools for linux/amd64 ... Error

Error: timestamp manifest has a version number < the old manifest (29199, 29830)

Verbose debug logs has been written to /root/.tiup/logs/tiup-cluster-debug-2022-05-08-19-29-12.log.

根据之前的帖子反安装报错没有 proto
# tiup uninstall --self curl --proto ‘=https’ --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh
Error: unknown flag: --proto
卸载重新安装问题依旧。
tiup uninstall --self
curl --proto ‘=https’ --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh

命令是怎么输入的?输入的一行还是两行?

如下所示,第一个是在一行执行的,有报错,第二个分开执行,但问题还是依旧:
[root@jiekexu1 ~]# tiup uninstall --self curl --proto ‘=https’ --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh
Error: unknown flag: --proto
[root@jiekexu1 ~]# tiup uninstall --self curl --proto ‘=https’ --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh
Error: unknown flag: --proto
[root@jiekexu1 ~]#
[root@jiekexu1 ~]# tiup uninstall --self
Remove directory ‘/root/.tiup/bin’ successfully!
Remove directory ‘/root/.tiup/manifest’ successfully!
Remove directory ‘/root/.tiup/manifests’ successfully!
Remove directory ‘/root/.tiup/components’ successfully!
Remove directory ‘/root/.tiup/storage/cluster/packages’ successfully!
Uninstalled TiUP successfully! (User data reserved, you can delete ‘/root/.tiup’ manually if you confirm userdata useless)
[root@jiekexu1 ~]#
[root@jiekexu1 ~]# curl --proto ‘=https’ --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh
curl: option --proto: is badly used here
curl: try ‘curl --help’ or ‘curl --manual’ for more information
[root@jiekexu1 ~]#
[root@jiekexu1 ~]# curl --proto ‘=https’ --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6660k 100 6660k 0 0 527k 0 0:00:12 0:00:12 --:–:-- 1024k
WARN: adding root certificate via internet: https://tiup-mirrors.pingcap.com/root.json
You can revoke this by remove /root/.tiup/bin/7b8e153f2e2d0928.root.json
Successfully set mirror to https://tiup-mirrors.pingcap.com
Detected shell: bash
Shell profile: /root/.bash_profile
Installed path: /root/.tiup/bin/tiup
===============================================
Have a try: tiup playground
===============================================
[root@jiekexu1 ~]# source /root/.bash_profile
[root@jiekexu1 ~]#
[root@jiekexu1 ~]# tiup cluster
[root@jiekexu1 ~]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
[root@jiekexu1 ~]# uname -a
Linux jiekexu1 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

rm ~/.tiup/manifests/* 然后重试

看一下

2 个赞

是的,要分两行执行才对。试一下楼上的方法

是和这个 json 有关吗?
/root/.tiup/manifests/timestamp.json

目前已经安装成功了,后面想起来是不是和 DNS 配置有关,故将原先 /etc/ssh/sshd_config 的 ssh 连接的 UseDNS no 再改回 yes,然后重启主机。删除各个节点 /tidb-deploy 和 /tidb-data 目录再继续检查 部署就没有问题了。

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