当前位置:网站首页>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.
边栏推荐
- [In-depth study of 4G/5G/6G topic-46]: 5G Link Adaption Link Adaption-2-Common Abbreviations
- TiUP FAQ
- (Popular Science) What is Fractional NFT (Fractional NFT)
- 编译、链接 - 笔记 - 3
- 微服务该如何拆分?
- TiDB 工具下载
- Configuration - Notes
- golang modules initialization project
- Huawei issues another summoning order for "Genius Boys"!He, who had given up an annual salary of 3.6 million, also made his debut
- The highest level of wiring in the computer room, the beauty is suffocating
猜你喜欢

分布式前修课:MySQL实现分布式锁

Extremely Knowing v2 Analysis

This editor actually claims to be as fast as lightning!

How do luxury giants such as GUCCI and LV deploy the metaverse, should other brands keep up?

视频切换播放的例子(视频切换范例)代码

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

481-82(105、24、82、34、153)
![[Cloud Native] Service Industry Case - Solutions for Unpredictable Concurrency Scenarios](/img/c7/3faa29dc374e2e16e59ac9b8ebf249.png)
[Cloud Native] Service Industry Case - Solutions for Unpredictable Concurrency Scenarios
4位资深专家多年大厂经验分享出Flink技术内幕架构设计与实现原理

Alluxio为Presto赋能跨云的自助服务能力
随机推荐
关于MySQL主从复制的数据同步延迟问题
Extremely Knowing v2 Analysis
Our company has used gateway services for 6 years, dynamic routing, authentication, current limiting, etc., a stable batch!
RISC-V调用惯例
针对 MySQL/InnoDB 刷盘调优
【为宏正名】99%的人从第一天学习C语言就自废的武功
组态 - 笔记
数据分析工具篇——HQL中DDL操作&DML操作
TiDB 工具功能概览
GeoServer
MySQL客户端工具的使用与MySQL SQL语句
InputStream和OutputStream流的使用
延时消息队列
《二舅》刷屏了!
如何写一份高可读性的软件工程设计文档
Installing and Uninstalling MySQL on Mac
存储器映射、位带操作
被捧上天的Scrum敏捷管理为何不受大厂欢迎了?
timed task corn
剑指 Offer II 037. 小行星碰撞