为提高效率,提问时请尽量提供详细背景信息,问题描述清晰可优先响应。以下信息点请尽量提供:
- 系统版本 & kernel 版本:centos 7.3
- TiDB 版本:2.1.17
- 磁盘型号:
- 集群节点分布:3tidv 2pd 2tidb
- 数据量 & region 数量 & 副本数:3
- 集群 QPS、.999-Duration、读写比例:
- 问题描述(我做了什么):跑命令ansible-playbook start.yml 出现报错
报错文本如下:
Ansible FAILED! => playbook: start.yml; TASK: import grafana dashboards - run import script; message: {“changed”: true, “cmd”: “./grafana-config-copy.py”, “delta”: “0:00:00.471210”, “end”: “2019-09-19 10:24:43.055533”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2019-09-19 10:24:42.584323”, “stderr”: “Traceback (most recent call last): File “./grafana-config-copy.py”, line 141, in dashboard = fill_dashboard_with_dest_config(dashboard, dest, type_) File “./grafana-config-copy.py”, line 73, in fill_dashboard_with_dest_config for row in dashboard[‘rows’]: KeyError: u’rows’”, “stderr_lines”: [“Traceback (most recent call last):”, " File “./grafana-config-copy.py”, line 141, in “, " dashboard = fill_dashboard_with_dest_config(dashboard, dest, type_)”, " File “./grafana-config-copy.py”, line 73, in fill_dashboard_with_dest_config", " for row in dashboard[‘rows’]:", “KeyError: u’rows’”], “stdout”: “[load] from <node.json>:node [import] <Test-Cluster-Node_exporter> to [Test-Cluster] … success [load] from <binlog.json>:binlog”, “stdout_lines”: ["[load] from <node.json>:node", “[import] <Test-Cluster-Node_exporter> to [Test-Cluster] … success”, “[load] from <binlog.json>:binlog”]}
集群正常启动,grafana也正常启动,但是出现了报错