Nov 30, 2020

Hello, I have an issue with performance tests not being executed.
vCenter 7.0U1 with 5 hosts on 7.0U1. 1 diskgroup per host in vSAN. I config easy run to performance testing, and config validation is successful. But it immediately show "Test Completed" after strat test. However, no test was actually run, and there is no error in logs.
I use the latest version of HCIBench(2.5.1). Any idea?

Nov 24, 2020

Hello, I have an issue during the validation

2020-11-24 20:29:37 +0000: Validating cluster inter-connectivity...
no matches for "hosts/*/vms/hci-tvm-*"
2020-11-24 20:31:38 +0000: SSH to client VM failed
2020-11-24 20:31:38 +0000: SSH to client VM failed
2020-11-24 20:31:40 +0000: SSH to client VM failed
2020-11-24 20:31:41 +0000:
2020-11-24 20:31:42 +0000: no matches for "hosts/*/vms/hci-tvm-*"
2020-11-24 20:31:45 +0000: ------------------------------------------------------------------------------
2020-11-24 20:31:45 +0000: Unable to SSH to hcitvm, please check if your network allow SSH to go through

from the deploy-hcitvm-xxxxxxxxxx.log
PING 172.17.0.3 (172.17.0.3) 56(84) bytes of data.
64 bytes from 172.17.0.3: icmp_seq=1 ttl=64 time=0.031 ms
64 bytes from 172.17.0.3: icmp_seq=2 ttl=64 time=0.031 ms
64 bytes from 172.17.0.3: icmp_seq=3 ttl=64 time=0.023 ms
64 bytes from 172.17.0.3: icmp_seq=4 ttl=64 time=0.030 ms
64 bytes from 172.17.0.3: icmp_seq=5 ttl=64 time=0.038 ms

--- 172.17.0.3 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 55ms
rtt min/avg/max/mdev = 0.023/0.030/0.038/0.007 ms
ssh: connect to host 172.17.0.3 port 22: Connection refused

Any idea please why SSH is refused, ?
steps already taken,
ssh to esxi -->OK
rvc to esxis-->OK
thank you for your help

Nov 24, 2020

could you check if all the hci-tvm logs got the same err msg?
also, it seems like 172.17.0.3 is assigned by the DHCP service in the vlan? because docker using the same subnet 172.17.0.0/255.255.0.0, so you can either configure a different subnet for guest vms or change the docker default subnet config, to do so:
here are the steps to reconfig docker subnet:

1. SSH into HCIBench, and create file by: vi /etc/docker/daemon.json
2. add lines to the file and save it ( here we change the docker host ip to 192.168.5.1(please make sure not using 192.168 for guest vms ip prefix in my case)
{
"default-address-pools":
[
{"base":"192.168.5.0/24","size":24}
]
}
3. systemctl restart docker
4. change data source in grafana:
go to http://HCIBench_IP:3000/datasources admin/vmware, edit both graphite and influxdb by changing the ip from 172.17.0.1 to 192.168.5.1, save and test the datasource, then you should be good.

Nov 18, 2020

HI - I am running HCI bench and ran some easy run test, All the validate configuration was fine and test completed successfully. When i check the results its incomplete and i am unable to see the complete output. Below is what is see from result file. Can you help with the below below issue

Datastore = XXXXX
Resource Usage:
CPU USAGE = 31.99%
RAM USAGE = 8.62%
vSAN PCPU USAGE = 9.45%

Nov 18, 2020
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