is this on VMC environment? we've seen that before but we did not figure out the root cause. we will take a look at that in the VMC env and get back to you as soon as we have a solution.
Comment thread started by Michael Wang on HCIBench
Mar 22, 2022
I am getting the same issue btw. If I comment out the section in the prevalidation ruby for line 609, it passes validation, but the actual testing just says Testing Finished right away.
I tried 2.5.3 and it validates fine, but it has the same behavior when trying to run the test.
Mar 23, 2022
i did a quick test and got it fixed, please replace the file in HCIBench /opt/automation/lib/rvc-util.rb with https://github.com/vsphere-tmm/HCIBench/blob/master/rvc_rvc/lib/rvc/modules/vsantest/automation/lib/rvc-util.rb
and try again.
Mar 28, 2022
Sorry for the delay feedback, we spent some time to resolve the inter-connectivity error, and finally ran the validation process passed. Your hot fix update is ok for resolving the vasan checking error. Thanks for your great help.
Hi Team, I have an account for a vCenter which have two datastore (vsanDatastore for management & WorkloadDatastore for customer use). My account can only access WorkloadDatastore, and when we using HCIBench for testing, we specify the 'WorkloadDatastore' as Datastore name in the profile page and save the configs and start the validation, the validation process will report an error like this:
'/usr/lib/ruby/2.5.0/json/common.rb:156:in 'parse': 765: unexpected token at" (JSON::ParserError)
from /usr/lib/ruby/2.5.0/json/common.rb:156:in 'parse'
from /opt/automation/lib/rvc-util:rb:647:in '_get_vsan_stats'
from /opt/automation/lib/rvc-util:rb:654:in '_get_vsan_default_policy'
from /opt/automation/lib/pre-validation.rb:227:in 'block in validate_vsan_info'
from /opt/automation/lib/pre-validation.rb:225:in 'each'
from /opt/automation/lib/pre-validation.rb:227:in 'validate_vsan_info'
from /opt/automation/lib/pre-validation.rb:609:in ' '
does this caused by the HCIBench checking the vsanDatastore accessible? Could you please give us some advise. Thanks.