Comment thread started by leon on HCIBench

Full comments
Nov 16, 2020

Hi, guys.
There is one question,
why is Can't find any vSAN Datastores for test
I'm host node is connected to vsan

The message is as follows
2020-11-16 19:10:05 +0000: Network VLAN-100 (IT-TEST) is accessible from all the hosts of IDC-Cluster
2020-11-16 19:10:05 +0000: Validating Type of Network VLAN-100 (IT-TEST)...
2020-11-16 19:10:06 +0000: Network VLAN-100 (IT-TEST) Type is DistributedVirtualPortgroup
2020-11-16 19:10:07 +0000: Datastore vsanDatastore Validated
2020-11-16 19:10:07 +0000: Checking Datastore vsanDatastore type...
2020-11-16 19:10:07 +0000: Datastore vsanDatastore type is vsan
2020-11-16 19:10:07 +0000: Getting Datastore vsanDatastore id...
2020-11-16 19:10:09 +0000: Checking If Datastore vsanDatastore is accessible from any of the hosts of IDC-Cluster...
2020-11-16 19:10:10 +0000: Datastore vsanDatastore is accessible from host 10.99.254.182
2020-11-16 19:10:10 +0000: Datastore vsanDatastore is accessible from host 10.99.254.185
2020-11-16 19:10:10 +0000: Datastore vsanDatastore is accessible from host 10.99.254.186
2020-11-16 19:10:10 +0000: Datastore vsanDatastore is accessible from host 10.99.254.187
2020-11-16 19:10:10 +0000: Datastore vsanDatastore is accessible from host 10.99.254.181
2020-11-16 19:10:10 +0000: Datastore vsanDatastore is accessible from host 10.99.254.183
2020-11-16 19:10:10 +0000: Datastore vsanDatastore is accessible from host 10.99.254.184
2020-11-16 19:10:11 +0000: ------------------------------------------------------------------------------
2020-11-16 19:10:11 +0000: Can't find any vSAN Datastores for test
2020-11-16 19:10:11 +0000: ------------------------------------------------------------------------------

Nov 16, 2020

could you ssh into HCIBench and try the following steps,
1. irb
2. load '/opt/automation/lib/rvc-util.rb'
3. _get_vsandatastore_in_cluster

please paste the output here for further investigation.

Nov 16, 2020

root@photon-HCIBench [ ~ ]# irb
irb(main):001:0> load '/opt/automation/lib/rvc-util.rb'
=> true
irb(main):002:0> _get_vsandatastore_in_cluster
=> {}
irb(main):003:0>

Nov 16, 2020

one more thing you can try, ssh into HCIBench
1. rvc VC_IP
2. cd into /VC_IP/DATACENTER_NAME/computers/CLUSTER_NAME and run
3. vsantest.perf.find_vsan_datastore . #dont miss the dot
4. paste me the output

Nov 16, 2020

Hi Chen Wei:

The following is output

/10.99.254.161/Datacenter-TF-F5/computers/IDC-Cluster> vsantest.perf.find_vsan_datastore .
NoMethodError: undefined method `delete' for nil:NilClass
/opt/vmware/rvc/lib/rvc/modules/vsantest/perf.rb:988:in `block in find_vsan_datastore'
/opt/vmware/rvc/lib/rvc/modules/vsantest/perf.rb:986:in `each'
/opt/vmware/rvc/lib/rvc/modules/vsantest/perf.rb:986:in `find_vsan_datastore'
/opt/vmware/rvc/lib/rvc/command.rb:42:in `invoke'
/opt/vmware/rvc/lib/rvc/shell.rb:129:in `eval_command'
/opt/vmware/rvc/lib/rvc/shell.rb:73:in `eval_input'
/opt/vmware/rvc/bin/rvc:185:in `<main>'
/10.99.254.161/Datacenter-TF-F5/computers/IDC-Cluster>

Nov 17, 2020

hmmm, seems like it's not reading containerId.
what vc/esxi version you are testing?
also, could you insert this
puts x.info.props
into line# 988 of file /root/rvc/lib/rvc/modules/vsantest/perf.rb and run the rvc command above again?

Nov 17, 2020

Hi Chen Wei:

what vc/esxi version you are testing?
vc/esxi version is 6.5.0

Is following correct?

line# 988 of file /root/rvc/lib/rvc/modules/vsantest/perf.rb
ds_container_id = x.info.props

/10.99.254.161/Datacenter-TF-F5/computers/IDC-Cluster> vsantest.perf.find_vsan_datastore .
{"vsanDatastore"=>{"capacity"=>"21908", "freeSpace"=>"21093", "local"=>false}}

When I start test and export xxx.xxx-fio.xls

xxx.xxx-fio.xls show only column like 'Sheet Number','Throughput(MB)','Read Latency(ms)'
..,but there is no value

Thank you

Nov 17, 2020

no, you should insert
"puts x.info.props"
in that line, could you try again? please send email to vsanperformance@vmware.com, i'd like to schedule a zoom with you to help

Nov 16, 2020

what version of hcibench you use?

Nov 16, 2020

The version is 2.5.1

Is there anything shoud I confirm
thanks for your assistance