Hi,


On Wed, Jul 3, 2019 at 3:59 PM PS Kazi <faruk.apsara@gmail.com> wrote:
hi,
I am using  HDD : Toshiba 7200 RPM, Data transfer Rate 150MB/s, Interface 6Gb/s.
But Hyper-converged configuration stopped with  error msg: Disk latency is very high, time taken to copy 1M file is > 10s
Please help me to stop this error.
________________________________________________________________________________________
TASK [gluster.features/roles/gluster_hci : Check if time taken to copy 1M file (512B chunks) is < 10s] ***
failed: [ov-node-1.hci.com -> ov-node-1.hci.com] (item=11.9508) => {"ansible_loop_var": "item", "changed": false, "item": {"ansible_loop_var": "item", "changed": true, "cmd": "dd if=/dev/zero of=/mnt/tmp/engine/small.file bs=512 count=2050 oflag=direct 2>&1 |\n   awk '/copied/{print $(NF-3)}'\n", "delta": "0:00:11.966178", "end": "2019-07-03 15:28:00.162101", "failed": false, "invocation": {"module_args": {"_raw_params": "dd if=/dev/zero of=/mnt/tmp/engine/small.file bs=512 count=2050 oflag=direct 2>&1 |\n   awk '/copied/{print $(NF-3)}'\n", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true, "warn": true}}, "item": "/mnt/tmp/engine", "rc": 0, "start": "2019-07-03 15:27:48.195923", "stderr": "", "stderr_lines": [], "stdout": "11.9508", "stdout_lines": ["11.9508"]}, "msg": "Disk latency is very high, time taken to copy 1M file is > 10s"}

Firstly solution. Please skip this test with --skip-tags latencycheck
For example:
ansible-playbook -i <inventory-file> <playbook> --skip-tags latencycheck

This check was added to ensure that disklatency would be tested.

I have removed this check in this PR: https://github.com/gluster/gluster-ansible-features/pull/33/commits/3e52de0c2c548a7890302a9838e224cef6699586
Will make it available once it is reviewed and merged.

-sac