[FAQ] Invalid username or password

[问题澄清]

TiDB集群启动过程中报错:

Ansible FAILED! => playbook: start.yml; TASK: Check grafana API Key list; message: {“changed”: false, “connection”: “close”, “content”: “{“message”:“Invalid username or password”}”, “content_length”: “42”, “content_type”: “application/json; charset=UTF-8”, “date”: “Wed, 25 Dec 2019 02:22:44 GMT”, “json”: {“message”: “Invalid username or password”}, “msg”: “Status code was 401 and not [200]: HTTP Error 401: Unauthorized”, “redirected”: false, “status”: 401, “url”: “http://xxx.xxx.179.112:3000/api/auth/keys”}

[原因分析]

修改过 Grafana 的密码

[解决方案]

inventory.ini 中配置的用户名和密码也需要修改为新的密码

[参考案例]

启动集tidb集群出现错误

[学习引申点]

Grafana全面瓦解

https://www.jianshu.com/p/7e7e0d06709b