扩容tidb节点总是timeout失败,如何加个超时时间

[root@tidb221 log]# ll /etc/systemd/system/node_exporter-9100.serive
ls: 无法访问/etc/systemd/system/node_exporter-9100.serive: 没有那个文件或目录
[root@tidb221 log]# ll /etc/systemd/system/node_exporter-9115.serive
ls: 无法访问/etc/systemd/system/node_exporter-9115.serive: 没有那个文件或目录

tidb9 是中控机
tidb221是启动失败的tikv

  1. reload成功了
[tidb@tidb9 ~]$ tiup cluster display zhuashitidb
Starting component `cluster`: /home/tidb/.tiup/components/cluster/v1.0.0/cluster display zhuashitidb
TiDB Cluster: zhuashitidb
TiDB Version: v4.0.0-rc.2
ID                   Role  Host           Ports        OS/Arch       Status     Data Dir           Deploy Dir
--                   ----  ----           -----        -------       ------     --------           ----------
172.7.160.216:2379   pd    172.7.160.216  2379/2380    linux/x86_64  Healthy|L  /data/deploy/data  /data/deploy
172.7.160.235:20160  tikv  172.7.160.235  20160/20180  linux/x86_64  Up         /data/deploy/data  /data/deploy

第二步reload成功了,display正常

stop失败了

[tidb@tidb9 ~]$ tiup cluster stop zhuashitidb
Starting component `cluster`: /home/tidb/.tiup/components/cluster/v1.0.0/cluster stop zhuashitidb
+ [ 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
+ [Parallel] - UserSSH: user=tidb, host=172.7.160.235
+ [Parallel] - UserSSH: user=tidb, host=172.7.160.216
+ [ Serial ] - ClusterOperate: operation=StopOperation, options={Roles:[] Nodes:[] Force:false SSHTimeout:5 OptTimeout:60 APITimeout:300}
Stopping component tikv
	Stopping instance 172.7.160.235
	Stop tikv 172.7.160.235:20160 success
Stopping component node_exporter
Stopping component blackbox_exporter
Stopping component pd
	Stopping instance 172.7.160.216
	Stop pd 172.7.160.216:2379 success
Stopping component node_exporter
retry error: operation timed out after 1m0s
	pd 172.7.160.216:2379 failed to stop: timed out waiting for port 9100 to be stopped after 1m0s

Error: failed to stop: 	pd 172.7.160.216:2379 failed to stop: timed out waiting for port 9100 to be stopped after 1m0s: timed out waiting for port 9100 to be stopped after 1m0s

Verbose debug logs has been written to /home/tidb/logs/tiup-cluster-debug-2020-05-29-11-31-10.log.
Error: run `/home/tidb/.tiup/components/cluster/v1.0.0/cluster` (wd:/home/tidb/.tiup/data/S0LPdBy) failed: exit status 1

stop-error.log (39.6 KB)