【 TiDB 使用环境】测试
【 TiDB 版本】
【复现路径】
1、ansible-playbook stop.yml 正常
2、关闭服务器
3、ansible-playbook start.yml 报错
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”}
【遇到的问题:问题现象及影响】
关闭前可以正常运行
重新开启就报错了如上所述
【资源配置】
【附件:截图/日志/监控】