Error During Cluster Installation and Deployment: Operation Aborted by User (with answer '') (tui.operation_aborted)

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 安装部署集群报Error: Operation aborted by user (with answer ‘’) (tui.operation_aborted)

| username: TiDBer_xgwIsUrp

[TiDB Usage Environment] Production Environment
[TiDB Version] V7.60
[Reproduction Path] Deployment
[Encountered Problem: Phenomenon and Impact] The error is as follows: There are two options written below, but when executing the deployment command (tiup cluster deploy tidb-yfhis v7.6.0 ./topology.yaml --user root -p), it exits directly. The last segment is a red error. Can anyone tell me what is going on? Is it a configuration file issue? How to handle it?
Attention:
1. If the topology is not what you expected, check your yaml file.
2. Please confirm there is no port/directory conflicts in the same host.
Do you want to continue? [y/N]: (default=N)
Error: Operation aborted by user (with answer ‘’) (tui.operation_aborted)

Configuration file is as follows:


image

16:30 Tried switching tools, same error and termination; also tried manually generating the configuration file, still the same error. It shouldn’t be related to the version, right? I downloaded TiDB 7.6.0-DMR
----- Downloaded a lower version, still the same error
19:46 Latest update: Found that the configured SSH trust is unstable, it actually failed, is it because the trust was not configured properly?


Supplementary mutual trust configuration process:
Run the command on Host A
ssh-keygen -t rsa
ssh-copy-id -i ~/.ssh/id_rsa.pub Host B
ssh-copy-id -i ~/.ssh/id_rsa.pub Host C
ssh-copy-id -i ~/.ssh/id_rsa.pub Host D
ssh-copy-id -i ~/.ssh/id_rsa.pub Host E

The problem was resolved in the morning, thanks everyone. Due to recent project matters, I haven’t had time to reproduce the issue. The resolution process was as follows:

  1. Re-established the trust relationship of the hosts, and re-ran the trust-related steps script for tiup
  2. Regenerated the yaml file with the script, edited and saved it using the VI tool
  3. Repaired it again using the tiup tool script
    Then, running the command worked.
| username: Billmay表妹 | Original post link

Error: Operation aborted by user (with answer ‘’) (tui.operation_aborted

| username: 像风一样的男子 | Original post link

It prompts you whether to continue, the default is ‘n’. If you just press enter, wouldn’t it exit?

| username: 小龙虾爱大龙虾 | Original post link

When asked to continue, answer Y.

| username: 有猫万事足 | Original post link

Lei Jun: Are you OK?

Let’s get hyped :rofl:

| username: DBAER | Original post link

It should be the automatic line break initiated by the shell screen keep-alive. :slight_smile:

| username: TiDBer_xgwIsUrp | Original post link

There was no prompt, it just interrupted directly.

| username: 像风一样的男子 | Original post link

The red prompt clearly indicates that you need to enter ‘y’ in this field. You didn’t input anything, just ‘’, and then the program exited. Look at the screenshot I provided.

| username: 呢莫不爱吃鱼 | Original post link

Yes, continue the installation.

| username: yulei7633 | Original post link

Enter y or n, and pay attention to whether there is a space when entering.

| username: TiDBer_xgwIsUrp | Original post link

No, the default keep-alive is 60 seconds.

| username: TiDBer_xgwIsUrp | Original post link

It popped up directly.

| username: TiDBer_xgwIsUrp | Original post link

This didn’t appear, it jumped out at the red part.

| username: 像风一样的男子 | Original post link

I suggest you switch to a different shell connection tool.

| username: TiDBer_xgwIsUrp | Original post link

I have tried changing tools, but the same error and termination occur. I also changed the configuration file, but the same error persists. It shouldn’t be related to the version, right? I downloaded TiDB 7.6.0-DMR.

| username: 像风一样的男子 | Original post link

Do not use version 7.6 in the production environment as it is a development version. I recommend using version 7.5.

| username: TiDBer_xgwIsUrp | Original post link

Thank you, I will download it again and try.

| username: 有猫万事足 | Original post link

It seems to be related to your shell tool. At least the reason for the error here is that the issue requires a manual ‘y’ confirmation. It’s not interrupted by other reasons.

| username: TiDBer_xgwIsUrp | Original post link

Reinstalled, same error reported.

| username: TiDBer_xgwIsUrp | Original post link

I also tried switching tools to Putty.