Please provide your feedback in this short Flings' survey.

Comment thread started by Michael Wang on HCIBench

Mar 22, 2022

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.

Mar 22, 2022

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.

Mar 22, 2022

Thanks for you quick response. Yes, it is on VMC environment.

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
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.

Mar 23, 2022

Thanks Wei for quickly fixing it. I'll try it and get your back soon.