Dec 30, 2016

Hello,
I met a issue during the IO test : (file: io-test-vdb-1vmdk-40ws-4k-30rdpct-40randompct.log")

2016-12-30 07:38:42 -0800: vdbench-vc-vsanDatastore-1: uploading the params file
2016-12-30 07:38:42 -0800: vdbench-vc-vsanDatastore-2: uploading the params file
2016-12-30 07:38:42 -0800: vdbench-vc-vsanDatastore-1: Running 'cd vdbench; ./vdbench -f vdb-1vmdk-40ws-4k-30rdpct-40randompct > results.txt'
bash: ./vdbench: Permission denied

Couldn't load gnuplot lib
Errno::ENOENT: No such file or directory @ rb_sysopen - /opt/output/results/test1/vdb-1vmdk-40ws-4k-30rdpct-40randompct-1483112319/iotest-vdbench-2vm/observer.json

Have you already meet this kind of issue?

thx

Dec 30, 2016

are you using 1.5.0.5? If yes, i think the vdbench zip file you are using might have some problem, could you re-download it from oracle website and put it to /opt/output/vdbench-source in hcibench to replace the current file and try again?

Jan 02, 2017

i confirme i changed the version of hcibench, i used the version 50405 in place the version 50406 and it's working now.
Thx for your answers and the work done ! it's a great appliance !

Jan 03, 2017

I tried this fix, however it did not help me with correcting this issue. Any additional thoughts?

Jan 03, 2017

could you post the err msg in HCIBench_IP:/hcibench_logs if possible?

Jan 04, 2017

Sure, Here is the error below. Everything else appears to be running through fine with setting up the machines, assigning ips, etc.
2017-01-03 11:39:53 -0800: vdbench-vc-HYPVDI01-1: Getting results
2017-01-03 11:39:53 -0800: vdbench-vc-HYPVDI02-1: Running 'cd vdbench; ./vdbench -f vdbench > results.txt'
2017-01-03 11:39:53 -0800: vdbench-vc-HYPVDI03-1: Getting results
2017-01-03 11:39:53 -0800: vdbench-vc-HYPVDI04-1: Running 'cd vdbench; ./vdbench -f vdbench > results.txt'
bash: ./vdbench: Permission denied
bash: ./vdbench: Permission denied
2017-01-03 11:39:53 -0800: vdbench-vc-HYPVDI02-1: Getting results
2017-01-03 11:39:53 -0800: vdbench-vc-HYPVDI04-1: Getting results
2017-01-03 11:39:53 -0800: Done running tests
2017-01-03 11:39:53 -0800: Killing pid 5745
Couldn't load gnuplot lib

Jan 04, 2017

still, to me, looks like you have issue with the vdbench zip file. please make sure downloading the zip file from oracle and the zip file is the only one in /opt/output/vdbench-source. you can try the one from my share https://1drv.ms/u/s!Ani-5veQpsepih8-ukPH5PzY0f0n

Jan 05, 2017

That was it! I extracted the files to that location and did not put the zip file there. That was my problem... Thank you very much! We have 2 POCs going NUTANIX and HPE, so this is VERY useful!! Thanks again!

Jan 05, 2017

Glad it helps :-)

Jan 04, 2017

Not to burden you with more logs, but this is the error I saw in the All-In-One log.

Runtime error (func=(main), adr=3): Divide by zero
Runtime error (func=(main), adr=3): Divide by zero
Runtime error (func=(main), adr=3): Divide by zero
ls: cannot access '/opt/output/results/HCIBENCH2/vdbench-1483472390/iotest-vdbench-4vm/jsonstats/pcpu/pcpu*': No such file or directory
ls: cannot access '/opt/output/results/HCIBENCH2/vdbench-1483472390/iotest-vdbench-4vm/jsonstats/mem/system*thumb*': No such file or directory
Runtime error (func=(main), adr=3): Divide by zero
Runtime error (func=(main), adr=3): Divide by zero
Runtime error (func=(main), adr=3): Divide by zero
ls: cannot access '/opt/output/results/HCIBENCH2/vdbench-1483472390/iotest-vdbench-4vm/jsonstats/pcpu/pcpu*': No such file or directory
ls: cannot access '/opt/output/results/HCIBENCH2/vdbench-1483472390/iotest-vdbench-4vm/jsonstats/mem/system*thumb*': No such file or directory
Runtime error (func=(main), adr=3): Divide by zero
Runtime error (func=(main), adr=3): Divide by zero
Runtime error (func=(main), adr=3): Divide by zero
ls: cannot access '/opt/output/results/HCIBENCH2/vdbench-1483472390/iotest-vdbench-4vm/jsonstats/pcpu/pcpu*': No such file or directory
ls: cannot access '/opt/output/results/HCIBENCH2/vdbench-1483472390/iotest-vdbench-4vm/jsonstats/mem/system*thumb*': No such file or directory
Runtime error (func=(main), adr=3): Divide by zero
Runtime error (func=(main), adr=3): Divide by zero
Runtime error (func=(main), adr=3): Divide by zero
ls: cannot access '/opt/output/results/HCIBENCH2/vdbench-1483472390/iotest-vdbench-4vm/jsonstats/pcpu/pcpu*': No such file or directory
ls: cannot access '/opt/output/results/HCIBENCH2/vdbench-1483472390/iotest-vdbench-4vm/jsonstats/mem/system*thumb*': No such file or directory
ls: cannot access '/opt/output/results/HCIBENCH2/vdbench-1483472390/iotest-vdbench-4vm/jsonstats/pcpu/wdt-*': No such file or directory
ls: cannot access '/opt/output/results/HCIBENCH2/vdbench-1483472390/iotest-vdbench-4vm/jsonstats/pcpu/pcpu*': No such file or directory
/opt/automation/lib/getPCpuUsage.rb:55:in `/': nil can't be coerced into Float (TypeError)
from /opt/automation/lib/getPCpuUsage.rb:55:in `block in <main>'
from /opt/automation/lib/getPCpuUsage.rb:10:in `each'
from /opt/automation/lib/getPCpuUsage.rb:10:in `<main>'

Dec 21, 2016

Sometimes I got stuck at below error, the VM can successfully deploy but no IO operation.
Please help me to solve. Thanks.

Post Checking VM Config
root@10.101.15.251's password: stty: 'standard input': Inappropriate ioctl for device
stty: 'standard input': Inappropriate ioctl for device
stty: 'standard input': Inappropriate ioctl for device

root@10.101.15.251's password: stty: 'standard input': Inappropriate ioctl for device
stty: 'standard input': Inappropriate ioctl for device
stty: 'standard input': Inappropriate ioctl for device

/usr/lib/ruby/gems/2.3.0/gems/net-ssh-3.2.0/lib/net/ssh.rb:249:in `start': Authentication failed for user root@10.101.15.251 (Net::SSH::AuthenticationFailed)
from /usr/lib/ruby/gems/2.3.0/gems/rvc-1.8.0/lib/rvc/modules/vsantest/perf.rb:30:in `ssh'
from /usr/lib/ruby/gems/2.3.0/gems/rvc-1.8.0/lib/rvc/modules/vsantest/perf.rb:19:in `post_check'
from /usr/lib/ruby/gems/2.3.0/gems/rvc-1.8.0/lib/rvc/modules/vsantest/perf.rb:934:in `block in deploy_test_vms'
from /usr/lib/ruby/gems/2.3.0/gems/rvc-1.8.0/lib/rvc/modules/vsantest/perf.rb:932:in `each'
from /usr/lib/ruby/gems/2.3.0/gems/rvc-1.8.0/lib/rvc/modules/vsantest/perf.rb:932:in `deploy_test_vms'
from /usr/lib/ruby/gems/2.3.0/gems/rvc-1.8.0/lib/rvc/command.rb:42:in `invoke'
from /opt/automation/lib/runio_test.rb:196

Dec 21, 2016

due to client vm password expired, you can either use 1.5.0.5 or download the new vm-template.tar.gz and replace the content in /opt/output/vm-template.

Dec 21, 2016

Hi Wei,

I already use version 1.5.0.5 but still got stuck because of this.

Dec 22, 2016

i see. that's the bug because of legacy ubuntu VM. we will fix that asap
what you can do:
1. edit file /root/rvc/lib/rvc/modules/vsantest/perf.rb line 18, replace
cmd = "ls /dev/ | grep sd | grep -v sda$ | grep -v sda[0-9] | wc -l";
with
cmd = "ls /sys/block | wc -l"

on line 21, replace
num = ssh.exec!(cmd).delete!("\n").to_i
with
num = ssh.exec!(cmd).delete!("\n").to_i - 1

then save and quit the file. you should be good.

Dec 22, 2016

Hi Chen,
Thanks for your reply. I still got stuck in
from /opt/automation/lib/runio_test.rb:196 .

Dec 22, 2016

Waiting for VMs to boot ...
vdbench-10.101.15.87-vsanDatastore-0-1: 10.101.15.128
vdbench-10.101.15.87-vsanDatastore-0-2: 10.101.15.153
Post Checking VM Config
Adding SCSI Controller
/usr/lib/ruby/gems/2.3.0/gems/rvc-1.8.0/lib/rvc/util.rb:63:in `err': no such mark "~pvscsi" (RVC::Util::UserError)
from /usr/lib/ruby/gems/2.3.0/gems/rvc-1.8.0/lib/rvc/modules/mark.rb:73:in `count'
from /usr/lib/ruby/gems/2.3.0/gems/rvc-1.8.0/lib/rvc/command.rb:42:in `invoke'
from /usr/lib/ruby/gems/2.3.0/gems/rvc-1.8.0/lib/rvc/shell.rb:129:in `eval_command'
from /usr/lib/ruby/gems/2.3.0/gems/rvc-1.8.0/lib/rvc/modules/vsantest/perf.rb:231:in `block (2 levels) in add_data_disk'
from /usr/lib/ruby/gems/2.3.0/gems/rvc-1.8.0/lib/rvc/modules/vsantest/perf.rb:229:in `each'
from /usr/lib/ruby/gems/2.3.0/gems/rvc-1.8.0/lib/rvc/modules/vsantest/perf.rb:229:in `block in add_data_disk'
from /usr/lib/ruby/gems/2.3.0/gems/rvc-1.8.0/lib/rvc/modules/vsantest/perf.rb:189:in `each'
from /usr/lib/ruby/gems/2.3.0/gems/rvc-1.8.0/lib/rvc/modules/vsantest/perf.rb:189:in `add_data_disk'
from /usr/lib/ruby/gems/2.3.0/gems/rvc-1.8.0/lib/rvc/modules/vsantest/perf.rb:937:in `block in deploy_test_vms'
from /usr/lib/ruby/gems/2.3.0/gems/rvc-1.8.0/lib/rvc/modules/vsantest/perf.rb:932:in `each'
from /usr/lib/ruby/gems/2.3.0/gems/rvc-1.8.0/lib/rvc/modules/vsantest/perf.rb:932:in `deploy_test_vms'
from /usr/lib/ruby/gems/2.3.0/gems/rvc-1.8.0/lib/rvc/command.rb:42:in `invoke'
from /opt/automation/lib/runio_test.rb:196

Dec 23, 2016

1. edit file /root/rvc/lib/rvc/modules/vsantest/perf.rb
2. find the line which contains:
num_pvscsi = $shell.eval_command("mark.count ~pvscsi") - 1
and replace it with
num_pvscsi = $shell.eval_command("mark.count pvscsi") - 1
3. save and quit the editing.

Dec 12, 2016

Does this work with other solutions? Like Nutanix running on vsphere?

Dec 12, 2016

Hi guys!
It is a great idea to use vdbench! Could you tell me please, can I use it when do not have VSAN at all and test on regular datastores from external array of NFS?
Regards,
Vasily

Dec 12, 2016

I meant external array OR NFS, sorry

Dec 12, 2016

Sure, HCIBench is designed for all kinds of shared storage of vsphere.