为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
- 【TiDB 版本】:tidb-ansible v3.0.8
- 【问题描述】:初始化环境
ansible-playbook bootstrap.yml
TASK [bootstrap : start irqbalance service] ***************************************************************************************************************************************************************************
fatal: [10.142.0.14]: FAILED! => {"changed": false, "msg": "Could not find the requested service irqbalance: host"}
...ignoring
fatal: [10.142.0.15]: FAILED! => {"changed": false, "msg": "Could not find the requested service irqbalance: host"}
...ignoring
fatal: [10.142.0.13]: FAILED! => {"changed": false, "msg": "Could not find the requested service irqbalance: host"}
...ignoring
fatal: [10.142.0.20]: FAILED! => {"changed": false, "msg": "Could not find the requested service irqbalance: host"}
...ignoring
fatal: [10.142.0.12]: FAILED! => {"changed": false, "msg": "Could not find the requested service irqbalance: host"}
...ignoring
fatal: [10.142.0.17]: FAILED! => {"changed": false, "msg": "Could not find the requested service irqbalance: host"}
...ignoring
fatal: [10.142.0.18]: FAILED! => {"changed": false, "msg": "Could not find the requested service irqbalance: host"}
...ignoring
fatal: [10.142.0.19]: FAILED! => {"changed": false, "msg": "Could not find the requested service irqbalance: host"}
...ignoring
fatal: [10.142.0.16]: FAILED! => {"changed": false, "msg": "Could not find the requested service irqbalance: host"}
...ignoring
......
TASK [machine_benchmark : fio randread benchmark command] *************************************************************************************************************************************************************
ok: [10.142.0.17] => {
"msg": "fio randread benchmark command: cd /data/tidb/deploy/data/fio && ./fio -ioengine=psync -bs=32k -fdatasync=1 -thread -rw=randread -size=10G -filename=fio_randread_test.txt -name='fio randread test' -iodepth=4 -runtime=60 -numjobs=4 -group_reporting --output-format=json --output=fio_randread_result.json."
}
TASK [machine_benchmark : fio randread benchmark summary] *************************************************************************************************************************************************************
ok: [10.142.0.17] => {
"msg": "fio randread benchmark summary: jobname: fio randread test\
read: IOPS=11836\
lat (ns): min=2787, max=252167151, avg=336486\
clat percentiles (ns): 95.00th=888832, 99.00th=1351680."
}
ok: [10.142.0.18] => {
"msg": "fio randread benchmark summary: jobname: fio randread test\
read: IOPS=13414\
lat (ns): min=2666, max=37775034, avg=296744\
clat percentiles (ns): 95.00th=864256, 99.00th=1302528."
}
ok: [10.142.0.19] => {
"msg": "fio randread benchmark summary: jobname: fio randread test\
read: IOPS=12243\
lat (ns): min=2832, max=17279028, avg=325257\
clat percentiles (ns): 95.00th=888832, 99.00th=1351680."
}
TASK [machine_benchmark : Preflight check - Does fio randread iops of tikv_data_dir disk meet requirement] ************************************************************************************************************
fatal: [10.142.0.17]: FAILED! => {"changed": false, "msg": "fio: randread iops of tikv_data_dir disk is too low: 11836 < 40000, it is strongly recommended to use SSD disks for TiKV and PD, or there might be performance issues."}
fatal: [10.142.0.18]: FAILED! => {"changed": false, "msg": "fio: randread iops of tikv_data_dir disk is too low: 13414 < 40000, it is strongly recommended to use SSD disks for TiKV and PD, or there might be performance issues."}
fatal: [10.142.0.19]: FAILED! => {"changed": false, "msg": "fio: randread iops of tikv_data_dir disk is too low: 12243 < 40000, it is strongly recommended to use SSD disks for TiKV and PD, or there might be performance issues."}
to retry, use: --limit @/home/tidb/tidb-ansible/retry_files/bootstrap.retry
PLAY RECAP ************************************************************************************************************************************************************************************************************
10.142.0.12 : ok=33 changed=9 unreachable=0 failed=0
10.142.0.13 : ok=33 changed=9 unreachable=0 failed=0
10.142.0.14 : ok=34 changed=10 unreachable=0 failed=0
10.142.0.15 : ok=34 changed=10 unreachable=0 failed=0
10.142.0.16 : ok=34 changed=10 unreachable=0 failed=0
10.142.0.17 : ok=43 changed=16 unreachable=0 failed=1
10.142.0.18 : ok=42 changed=16 unreachable=0 failed=1
10.142.0.19 : ok=42 changed=16 unreachable=0 failed=1
10.142.0.20 : ok=33 changed=9 unreachable=0 failed=0
localhost : ok=7 changed=4 unreachable=0 failed=0
ERROR MESSAGE SUMMARY *************************************************************************************************************************************************************************************************
[10.142.0.17]: Ansible FAILED! => playbook: bootstrap.yml; TASK: machine_benchmark : Preflight check - Does fio randread iops of tikv_data_dir disk meet requirement; message: {"changed": false, "msg": "fio: randread iops of tikv_data_dir disk is too low: 11836 < 40000, it is strongly recommended to use SSD disks for TiKV and PD, or there might be performance issues."}
[10.142.0.18]: Ansible FAILED! => playbook: bootstrap.yml; TASK: machine_benchmark : Preflight check - Does fio randread iops of tikv_data_dir disk meet requirement; message: {"changed": false, "msg": "fio: randread iops of tikv_data_dir disk is too low: 13414 < 40000, it is strongly recommended to use SSD disks for TiKV and PD, or there might be performance issues."}
[10.142.0.19]: Ansible FAILED! => playbook: bootstrap.yml; TASK: machine_benchmark : Preflight check - Does fio randread iops of tikv_data_dir disk meet requirement; message: {"changed": false, "msg": "fio: randread iops of tikv_data_dir disk is too low: 12243 < 40000, it is strongly recommended to use SSD disks for TiKV and PD, or there might be performance issues."}
inventory.ini (1.9 KB) ansible.log (135.4 KB)
若提问为性能优化、故障排查类问题,请下载脚本运行。终端输出的打印结果,请务必全选并复制粘贴上传。