修改了grafana的admin密码重启集群报错

为提高效率,提问时请尽量提供详细背景信息,问题描述清晰可优先响应。以下信息点请尽量提供:

  • 系统版本 & kernel 版本】 CentOS7.7
  • TiDB 版本】 V3.0.2
  • 磁盘型号】 虚拟机
  • 集群节点分布】 6节点单实例
  • 数据量 & region 数量 & 副本数】 默认
  • 问题描述(我做了什么)】 修改了grafana的admin密码,重启集群报错
  • 关键词】 执行ansible-playbook start.yml报错如下: TASK [Check grafana API Key list] **************************************************************************************************************************** fatal: [192.168.221.11]: FAILED! => {“changed”: false, “connection”: “close”, “content”: “{“message”:“Invalid username or password”}”, “content_length”: “42”, “content_type”: “application/json; charset=UTF-8”, “date”: “Tue, 15 Oct 2019 08:30:10 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://192.168.221.11:3000/api/auth/keys”} to retry, use: --limit @/home/tidb/tidb-ansible/retry_files/start.retry

PLAY RECAP *************************************************************************************************************************************************** 192.168.221.11 : ok=30 changed=0 unreachable=0 failed=1
192.168.221.12 : ok=15 changed=0 unreachable=0 failed=0
192.168.221.13 : ok=12 changed=0 unreachable=0 failed=0
192.168.221.14 : ok=14 changed=0 unreachable=0 failed=0
192.168.221.15 : ok=14 changed=0 unreachable=0 failed=0
192.168.221.16 : ok=14 changed=0 unreachable=0 failed=0
localhost : ok=7 changed=4 unreachable=0 failed=0

ERROR MESSAGE SUMMARY **************************************************************************************************************************************** [192.168.221.11]: 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”: “Tue, 15 Oct 2019 08:30:10 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://192.168.221.11:3000/api/auth/keys”}

确认一下 inventory.ini 上的grafana_admin_user 和 grafana_admin_password 是不是最新修改的密码。

此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。