当前位置:网站首页>Troubleshooting TiUP
Troubleshooting TiUP
2022-07-30 15:40:00 【Tim's Shop】
This article introduces some common faults and troubleshooting methods during the use of TiUP. If this article does not cover the problems you are currently encountering, you can ask for help in the following ways:
- Github Issues Create a new issue.
- Submit your question at AskTUG.
1. TiUP command troubleshooting
1.1 use tiup list can't see the latest component list
TiUP does not update the latest component list from the mirror server every time. You can force a refresh of the component list through tiup list.
1.2 use tiup list can not see the latest version information of a component
Same as 1.1, the version information of the component will only be obtained from the mirror server if there is no local cache. You can refresh the component list through tiup list .
1.3 Interrupted in the process of downloading components
If the network is interrupted during the download of the component, it may be caused by the unstable network. You can try to download it again. If the download fails for many times, please feedback to Github Issues, possibly due to CDN server.
1.4 Checksum error occurred during component download
Because the CDN will have a short cache time, the new checksum file does not match the component package. It is recommended to try again after 5 minutes. If it still does not match, please feedback to Github Issues.
2. TiUP Cluster component troubleshooting
2.1 Prompt during deployment unable to authenticate, attempted methods [none publickey]
Due to uploading the component package to the remote host and initializing it during deployment, this process needs to connect to the remote host. This error is caused by the SSH private key that is not found to connect to the remote host.Make sure you specify the private key via tiup cluster deploy -i identity_file .
- If the
-iparameter is not specified, it may be because TiUP does not automatically find the private key path. It is recommended to explicitly specify the private key path through-i. - If the
-iparameter is specified, it may be that the specified private key cannot be logged in, which can be verified by manually executing thessh -i identity_file [email protected]command. - If you log in to the remote host with a password, make sure to specify the
-pparameter and enter the correct login password.
2.2 Upgrading interruption with TiUP Cluster
In order to avoid user misuse, TiUP Cluster does not support the upgrade of specified nodes. Therefore, after the upgrade fails, the upgrade operation needs to be performed again, including the idempotent operation during the upgrade process.
The upgrade operation will be divided into the following steps:
- Back up the old version components of all nodes first
- Distribute new components to remote
- Rolling restart of all components
If the upgrade operation is interrupted during rolling restart, instead of repeating the tiup cluster upgrade operation, you can use tiup cluster restart -N to restart the node that did not complete the restart.If the number of unrestarted nodes of the same component is relatively large, you can also restart a certain type of component through tiup cluster restart -R .
2.3 upgrade discovery node_exporter-9100.service/blackbox_exporter-9115.service does not exist
This situation may be caused by the fact that the previous cluster was migrated by TiDB Ansible, and TiDB Ansible did not deploy the exporter before.To work around this situation, you can temporarily copy the missing files from the other node to the new node manually.Later, we will complete the missing components during the migration process.
边栏推荐
- GeoServer
- Redis cache penetration, breakdown, avalanche and consistency issues
- RISC-V调用惯例
- 【云原生】服务行业案例-不可预测的并发场景解决方案
- Alluxio for Presto fu can across the cloud self-service ability
- Huawei issues another summoning order for "Genius Boys"!He, who had given up an annual salary of 3.6 million, also made his debut
- 【为宏正名】99%的人从第一天学习C语言就自废的武功
- localhost with 127.0.0.1
- 瑞吉外卖项目实战Day02
- CMake库搜索函数居然不搜索LD_LIBRARY_PATH
猜你喜欢

Mysql database query is very slow. Besides the index, what else can be caused?

timed task corn

Lock wait timeout exceeded解决方案

【云原生】灰度发布、蓝绿发布、滚动发布、灰度发布解释

本地事务与分布式事务

嵌入式开发:嵌入式基础知识——正确启动固件项目的 10 条建议

MongoDB starts an error Process: 29784 ExecStart=/usr/bin/mongod $OPTIONS (code=exited, status=14)

90后人大硕士为学医竟重新高考,成功被首医大录取

1222. 可以攻击国王的皇后-力扣双百代码

How is the B+ tree index page size determined?
随机推荐
MySql error: SqlError(Unable to execute query", "Can't create/write to file OS errno 2 - No such file...
延时消息队列
GeoServer
数字量输入模块io
JVM performance tuning
【云原生】服务行业案例-不可预测的并发场景解决方案
952. 按公因数计算最大组件大小 : 枚举质因数 + 并查集运用题
Mac 中 MySQL 的安装与卸载
科研中一些常用软件清单
In-depth analysis of Kubernetes application management
瑞吉外卖项目实战Day02
软件包 - 笔记
HTTP缓存小结
【云原生 • DevOps】influxDB、cAdvisor、Grafana 工具使用详解
如何做好技术选型
Mysql database query is very slow. Besides the index, what else can be caused?
[Enlightenment by Opportunity-53]: "Sushu"-3- Self-cultivation and Self-cultivation
B+树索引页大小是如何确定的?
HUAWEI CLOUD Releases Open Source Software Governance Service - Software Component Analysis
TiDB 工具适用场景