TiDB 集群启动报错

为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。

  • 【TiDB 版本】:3.0.2
  • 【问题描述】:ansible-playbook start.yml 启动集群报错
    TASK [import grafana dashboards - prepare config] **********************************************************************************************************
    ok: [172.31.35.127 → localhost]

TASK [import grafana dashboards - run import script] *******************************************************************************************************
fatal: [172.31.35.127 → localhost]: FAILED! => {“changed”: true, “cmd”: “python grafana-config-copy.py”, “delta”: “0:00:00.473943”, “end”: “2019-11-19 13:08:24.545888”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2019-11-19 13:08:24.071945”, “stderr”: “Traceback (most recent call last):
File “grafana-config-copy.py”, line 152, in
raise RuntimeError
RuntimeError”, “stderr_lines”: [“Traceback (most recent call last):”, " File “grafana-config-copy.py”, line 152, in “, " raise RuntimeError”, “RuntimeError”], “stdout”: “[load] from <node.json>:node
[import] <Test-Cluster-Node_exporter> to [Test-Cluster] … success
[load] from <disk_performance.json>:disk_performance
[import] to [Test-Cluster] … success
[load] from <tidb_summary.json>:tidb_summary
[import] to [Test-Cluster] … success
[load] from <overview.json>:overview
[import] to [Test-Cluster] … success
[load] from <tikv_trouble_shooting.json>:tikv_trouble_shot
[import] to [Test-Cluster] … success
[load] from <tidb.json>:tidb
[import] to [Test-Cluster] … ERROR: Internal Server Error”, “stdout_lines”: [“[load] from <node.json>:node”, “[import] <Test-Cluster-Node_exporter> to [Test-Cluster] … success”, “[load] from <disk_performance.json>:disk_performance”, “[import] to [Test-Cluster] … success”, “[load] from <tidb_summary.json>:tidb_summary”, “[import] to [Test-Cluster] … success”, “[load] from <overview.json>:overview”, “[import] to [Test-Cluster] … success”, “[load] from <tikv_trouble_shooting.json>:tikv_trouble_shot”, “[import] to [Test-Cluster] … success”, “[load] from <tidb.json>:tidb”, “[import] to [Test-Cluster] … ERROR: Internal Server Error”]}
to retry, use: --limit @/home/tidb/tidb-ansible/retry_files/start.retry

ERROR MESSAGE SUMMARY **************************************************************************************************************************************
[172.31.35.127]: Ansible FAILED! => playbook: start.yml; TASK: import grafana dashboards - run import script; message: {“changed”: true, “cmd”: “python grafana-config-copy.py”, “delta”: “0:00:00.473943”, “end”: “2019-11-19 13:08:24.545888”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2019-11-19 13:08:24.071945”, “stderr”: “Traceback (most recent call last):
File “grafana-config-copy.py”, line 152, in
raise RuntimeError
RuntimeError”, “stderr_lines”: [“Traceback (most recent call last):”, " File “grafana-config-copy.py”, line 152, in “, " raise RuntimeError”, “RuntimeError”], “stdout”: “[load] from <node.json>:node
[import] <Test-Cluster-Node_exporter> to [Test-Cluster] … success
[load] from <disk_performance.json>:disk_performance
[import] to [Test-Cluster] … success
[load] from <tidb_summary.json>:tidb_summary
[import] to [Test-Cluster] … success
[load] from <overview.json>:overview
[import] to [Test-Cluster] … success
[load] from <tikv_trouble_shooting.json>:tikv_trouble_shot
[import] to [Test-Cluster] … success
[load] from <tidb.json>:tidb
[import] to [Test-Cluster] … ERROR: Internal Server Error”, “stdout_lines”: [“[load] from <node.json>:node”, “[import] <Test-Cluster-Node_exporter> to [Test-Cluster] … success”, “[load] from <disk_performance.json>:disk_performance”, “[import] to [Test-Cluster] … success”, “[load] from <tidb_summary.json>:tidb_summary”, “[import] to [Test-Cluster] … success”, “[load] from <overview.json>:overview”, “[import] to [Test-Cluster] … success”, “[load] from <tikv_trouble_shooting.json>:tikv_trouble_shot”, “[import] to [Test-Cluster] … success”, “[load] from <tidb.json>:tidb”, “[import] to [Test-Cluster] … ERROR: Internal Server Error”]}

Ask for help:
Contact us: support@pingcap.com
It seems that you encounter some problems. You can send an email to the above email address, attached with the tidb-ansible/inventory.ini and tidb-ansible/log/ansible.log files and the error message, or new issue on https://github.com/pingcap/tidb-ansible/issues. We’ll try our best to help you deploy a TiDB cluster. Thanks. :slight_smile:
You have new mail in /var/spool/mail/root

若提问为性能优化、故障排查类问题,请下载脚本运行。全选终端打印结果,并复制粘贴上传。

有可能是导入配置项出错,重试一下试试看。