TiDB Fails to Start After Server Reboot

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

Original topic: 重启服务器后TIDB启动失败

| username: TiDBer_JFCTOksv

[TiDB Usage Environment] Test
[TiDB Version]
[Reproduction Path]

  1. ansible-playbook stop.yml works normally
  2. Shut down the server
  3. ansible-playbook start.yml reports an error
    FAILED - RETRYING: wait for region replication complete (20 retries left).
  4. ansible-playbook unsafe_cleanup.yml
  5. ansible-playbook deploy.yml
    FAILED! => {“msg”: “The task includes an option with an undefined variable.
    The error was: list object has no element 0\n\nThe error appears to
    be in ‘/home/tidb/tidb-ansible/roles/tidb_lightning/tasks/main.yml’:
    line 10, column 3, but may\nbe elsewhere in the file depending on
    the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name:
    generate tidb-lightning dynamic config\n ^ here\n”}
    [Encountered Issues: Issue Phenomenon and Impact]
    It worked normally before shutting down
    After restarting, it reports an error as described above
    [Resource Configuration]
    [Attachments: Screenshots/Logs/Monitoring]
| username: Billmay表妹 | Original post link

Try to upgrade to a higher version as much as possible. Most people no longer use the lower versions. Many issues cannot be reproduced without the same version, which will affect your efficiency in solving problems. Additionally, many issues in the lower versions have already been resolved in the higher versions. So, the answer to many of your queries might simply be: it’s a bug, and upgrading to a higher version will solve the problem.

| username: TiDBer_JFCTOksv | Original post link

Unable to start, can’t upgrade, right?

| username: 我是咖啡哥 | Original post link

Show me your configuration file. According to the prompt, there seems to be an issue with your configuration file.