当前位置:网站首页>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.
边栏推荐
- TiDB 工具功能概览
- About the data synchronization delay of MySQL master-slave replication
- tiup list
- websocket flv 客户端解封包
- Huawei issues another summoning order for "Genius Boys"!He, who had given up an annual salary of 3.6 million, also made his debut
- 1700. 无法吃午餐的学生数量
- 哨兵
- Lock wait timeout exceeded解决方案
- golang modules initialization project
- 本地事务与分布式事务
猜你喜欢

Example of video switching playback (video switching example) code

JVM performance tuning

GeoServer + openlayers

This editor actually claims to be as fast as lightning!

(Popular Science) What is Fractional NFT (Fractional NFT)

Lock wait timeout exceeded解决方案

存储器映射、位带操作

How is the B+ tree index page size determined?

如何写一份高可读性的软件工程设计文档

视频切换播放的例子(视频切换范例)代码
随机推荐
SQL 优化这么做就对了!
Alluxio for Presto fu can across the cloud self-service ability
ISELED---the new choice of ambient lighting scheme
InputStream和OutputStream流的使用
Could not acquire management access for administration
Flink本地UI运行
转换OTU表和序列文件为PICRUST2需要的格式
Compile, link, notes - 3
golang modules初始化项目
MySQL客户端工具的使用与MySQL SQL语句
华为云重磅发布开源软件治理服务——软件成分分析
视频加密的误解
Office Automation | Office Software and Edraw MindMaster Shortcuts
存储器映射、位带操作
数据库 - 创建数据库、表、函数等
本地事务与分布式事务
分布式前修课:MySQL实现分布式锁
工具| execsnoop 短时进程追踪工具
canal scrape data
vite 多页面应用刷新页面时,不会在当前路由中,会返回到根路由