Please provide your feedback in this short Flings' survey.

Comment thread started by Kent on Storage Performance Tester

Full comments
Jan 27, 2021

Full error I get is the following:

- Access to resource settings on the host is restricted to the server that is managing it: 'vcenterip'.
- Wrong file size specified in OVF descriptor for 'sperfVMv2-disk1.vmdk' (specified: 760487424, actual 760455429).
Completed with errors

Jan 27, 2021

Hi Kent,
This is the cause of the error:
The OVA upload from the client deploying the OVA to the vCenter is not upload the OVA correctly adding additional data to the import.
Connecting through VPNs or Proxies and other network devices can append extra data to the import.
Currently, there is no resolution.
This will require troubleshooting the network between the client deploying the OVA and vCenter to find out where the additional data is getting added.
A workaround :
Deploy the OVA from another computer and network path, or a jumpbox VM that is on the same subnet as the Center.

Jan 28, 2021

Hi Haitao,

Thank you for replying. I was running it from Ubuntu Fusion VM on Mac. I deployed Ubuntu VM on vSphere same VLAN as host and while the OVF error is gone, I still have this error:

- Access to resource settings on the host is restricted to the server that is managing it: 'ipaddressofvcenter'.
Completed with errors

any idea why it has issues with host being managed by vCenter?

Thank you.

Jan 28, 2021

Hi Kent,
This is by design.
To work around this issue:
Stop communication between the host and the vCenter Server by stopping these services with the commands:

/etc/init.d/vpxa stop
/etc/init.d/hostd restart

When these commands have executed, the ESXi host has stopped communicating with the vCenter Server.

You can do the tests now.
After completing the tests, start the vpxa service to add the ESXi host back to vCenter by running the command:

/etc/init.d/vpxa start

If you meet the bug #1 TypeError: a bytes-like object is required, not 'str',
please modify the code at line 95 as below.
Then it may work.


Jan 29, 2021

Hi Haitao,

Thank you. Yes, I found the KB last night to do this. I now get the Ubuntu VM deployed using the script but then when I look at the results I see results from some test that is not mine in the 1 folder. I am not seeing any performance test results for my environment. Can we get a little clearer documentation on what happens after the test VM is deployed and how to see results?

Jan 31, 2021
Feb 01, 2021

Now I am getting this error. I think I was running into bug I followed modification and test VM starts to deploy. Gets 1% done and script ends with this error:

Disk progress: 1%Segmentation fault (core dumped)
Traceback (most recent call last):
File "./", line 484, in <module>
File "./", line 468, in main
status = sperf.DeployVM(args.vmname, args.ovfurl, args.nosslverify)
File "./", line 97, in DeployVM"Deploy VM on %s Failed rc=%d." % (ds, rc))
UnboundLocalError: local variable 'rc' referenced before assignment