【TiDB 版本】:v4.0.11
【TiUP 版本】:v1.4.0
【问题描述】:
透過TiUP v1.4.0 scale-in TiFlash節點時出現以下錯誤:
Error: init config failed: 172.31.13.106:9093: transfer from /home/dba_tw/.tiup/storage/cluster/clusters/prd-aws-fenrir-tidbcluster/config-cache/alertmanager_172.31.13.106.yml to /usr/local/tidb-deploy/alertmanager-9093/conf/alertmanager.yml failed: failed to scp /home/dba_tw/.tiup/storage/cluster/clusters/prd-aws-fenrir-tidbcluster/config-cache/alertmanager_172.31.13.106.yml to tidb@172.31.13.106:/usr/local/tidb-deploy/alertmanager-9093/conf/alertmanager.yml: Process exited with status 1
Verbose debug logs has been written to /home/dba_tw/.tiup/logs/tiup-cluster-debug-2021-04-06-12-38-40.log.
Error: run /home/dba_tw/.tiup/components/cluster/v1.4.0/tiup-cluster
(wd:/home/dba_tw/.tiup/data/STm0pt2) failed: exit status 1
查看 /home/dba_tw/.tiup/storage/cluster/clusters/prd-aws-fenrir-tidbcluster/config-cache/alertmanager_172.31.13.106.yml此檔案
=> 內容為default設定檔內容 不應該再scp蓋掉我們已設定的alertmanager.yml
alertmanager_172.31.13.106.yml (1.9 KB)
我們設定過的alertmanager.yml
alertmanager.yml (587 字节)