Please provide your feedback in this short Flings' survey.
Dec 01, 2020

Is there any progress in this tool here? So many comments with problems but no solution can be found. Please help!

Dec 01, 2020

1. modify at line 95:
- proc.communicate(input=self._passwd)
+ proc.communicate(input=self._passwd.encode())
2. If you found that the ovftool return errors like 'Unsupported hardware family vmx-##'.
Please modify vmx-17 at line 30 in ovftemplates/sperfVMv2.ovf to the right vmx version (etc, to test on ESXi6.7 U2, change it to vmx15). And then delete ovftemplates/
18 ESXi 7.0 u1
17 ESXi 7.0 (7.0.0)
15 ESXi 6.7 U2
14 ESXi 6.7
13 ESXi 6.5

I run it in a new Linux environment. The output as below.
If you meet errors I'll help you out quickly.
haitao@haitao:~/StoragePerformanceTester/sperf$ ./ -d nhpsa_datastore
2020-12-01 13:48:03,468 - - INFO - Using primary log sperf.log.
2020-12-01 13:48:03,469 - - INFO - The test results will be put into /home/haitao/StoragePerformanceTester/sperf/results/14
Please enter the root password for
2020-12-01 13:48:05,548 - - INFO - Copy to the host.
Warning: Permanently added '' (RSA) to the list of known hosts.
2020-12-01 13:48:06,071 - - INFO - Geting basic info on
2020-12-01 13:48:14,601 - - INFO - The sperf workloads will run on stack Plugin:NMP LS:0milliseconds Driver:nhpsa Disk:ATA ST2000LM003 HN-M 0001
2020-12-01 13:48:14,602 - - INFO - Check if the VM (nhpsa_datastore_sperfVMv1) has been deployed.
2020-12-01 13:48:15,870 - - INFO - Host doesn't have a VM named nhpsa_datastore_sperfVMv1.
2020-12-01 13:48:15,871 - - WARNING - This connect is insecure. please try to add --nosslverify 0 in your tests.
2020-12-01 13:48:15,871 - - INFO - /home/haitao/StoragePerformanceTester/sperf/ovftool/ovftool --noSSLVerify -dm=thin --powerOn --X:waitForIp -ds=nhpsa_datastore --name='nhpsa_datastore_sperfVMv1' ./ovftemplates/sperfVMv2.ovf 'vi://root:ca$hc0w@'
Opening OVF source: ./ovftemplates/sperfVMv2.ovf
Opening VI target: vi://root@
- Line 178: Unable to parse 'tools.syncTimeWithHostAllowed' for attribute 'key' on element 'Config'.
Deploying to VI: vi://root@
Transfer Completed
Powering on VM: nhpsa_datastore_sperfVMv1
Task Completed
Received IP address:
- No manifest file found.
- No supported manifest(sha1, sha256, sha512) entry found for: 'sperfVMv2-disk1.vmdk'.
- No supported manifest(sha1, sha256, sha512) entry found for: 'sperfVMv2-file1.nvram'.
Completed successfully
2020-12-01 13:51:38,672 - - INFO - Deploy VM on nhpsa_datastore Complete.
2020-12-01 13:51:38,673 - - INFO - SetupVM: running command vmkfstools --createvirtualdisk 2G --diskformat eagerzeroedthick /vmfs/volumes/nhpsa_datastore/nhpsa_datastore_sperfVMv1/nhpsa_datastore_sperfVMv1_2.vmdk on the host

Dec 01, 2020

Thank you for your reply but my problem is network related:

tom@SPT:~/sperf$ ./ovftool/ovftool --noSSLVerify -dm=thin --powerOn --X:waitForIp -ds=PROD-01_Vol_03 --name='PROD-01_Vol_03_sperfVMv1' ./ovftemplates/sperfVMv2.ovf 'vi://root:PASSWD@ESXi-Host'
Opening OVF source: ./ovftemplates/sperfVMv2.ovf
The manifest validates
Opening VI target: vi://root@ESXi-Host:443/
Error: No network mapping specified. OVF networks: VM Network. Target networks:
Completed with errors

Dec 01, 2020

What are your Target Networks? Did the ovftool show that?
If you setup the network with other name other than "VM Network".
Please add --network="VM Network" while running the ovftool.

Dec 01, 2020

If you don't know the name, you can go to directory of one VM on your target server. And check what is the network name by check its vmx file.
#grep -i network CoreOs3.vmx
ethernet0.networkName = "VM Network"

or you can use the below command, but I don't know if it was same as that ovftool are going to deploy.
#esxcfg-vswitch -l

Dec 01, 2020

Yes, the ovftool reported this.

We are using distributed switches. So the VM uses a distributed port group.

The ofvtool tells me the following error using the port-group ("VM_Client_VLAN_60"):

Error: Invalid target name (VM_Client_VLAN_60) specified in net mapping. OVF networks: VM Network. Target networks:
Completed with errors

Dec 04, 2020

It seems like a network setup related issue. Would you please try to run the ovftool command?
#./ovftool/ovftool -nw="VM_Client_VLAN_60" --noSSLVerify -dm=thin --powerOn --X:waitForIp -ds=NVMD1 --name='NVMD1_sperfVMv4' ./ovftemplates/ubuntuSPerfv2.ovf 'vi://root:password@Yourserver'

If it failed, please share the output of esxcfg-vswitch -l .
By the way, please make sure you are using root/password or other identities that have the authority to deploy VMs on your target.
Looking forward to your reply.

Dec 08, 2020

I have chaned the template name to "./ovftemplates/sperfVMv2.ovf" and the datstore name to "PROD-01_Vol_03" ...

I get the same error like before!

Dec 08, 2020

Hi Tom,
I don't think this is related to the datastore name.
You may find out what is your network name. You may need to run esxcfg-vswitch -l finding out what is your network port name.

The ovftool command need to add -nw="the name" if the network port name is not "VM Network" (default).


Dec 16, 2020

I know that it is not related to the datastore name.

To repeat: we are using distributed port groups and no standard vSwitches (!!!) and I see all port-groups in vCenter (22 port-groups) and I have choosen the correct name.
So, why you are asking for the output of "esxcfg-vswitch -l"?? It gives you only the "DVS Name" and other not usefull information.

Nov 24, 2020

Hi everybody, what I can do with this:
" - ERROR - Didn't find the right hardware info based on mydatastore"

and besides this should I specify network mapping?
Thank's a lot for any answer."

Nov 24, 2020

Hi Tomek,
You don't need to config the network.
The error won't block the tests. If it blocked, please try the below command to make sure you can deploy VMs automaticly on the server.
#./ovftool/ovftool --noSSLVerify -dm=thin --powerOn --X:waitForIp -ds=NVMD1 --name='mydatastore_sperfVMv1' ./ovftemplates/sperfVMv2.ovf 'vi://root:yourpassword@yourhost'

To debug the hardware info error, would you please run the below commands and share the output?
# esxcfg-scsidevs -m |grep ' mydatastore$'
# esxcfg-scsidevs -A => I only need which hba that the device attached to
# esxcfg-scsidevs -a. => show which driver it claimed.


Nov 29, 2020

I don't get it to run:

I tried your command with ovftool and get a network error (dv-Switch):

Opening OVF source: ./ovftemplates/sperfVMv2.ovf
The manifest validates
Opening VI target: vi://root@my_esxi_host:443/
Error: No network mapping specified. OVF networks: VM Network. Target networks:
Completed with errors

I have tried it now in 3 different vCenters. But eveywhere the same error.

Nov 24, 2020

Hi Haitao, thank a lot for answer.
I see, that I specified DS name correctly,
that's like you said. But besides this I noticed message:

"2020-11-24 15:08:28,232 - - ERROR - Didn't find the right hardware info based on "

and after that:
"Opening OVF source: ./ovftemplates/sperfVMv2.ovf
The manifest validates"

and in summary:
"2020-11-24 15:14:54,581 - - INFO - Deploy VM on MyDatastoreName Failed rc=1."

an the tests end with unsuccessful.

Nov 11, 2020

I tried a RHEL6, with 2.6.32. Fio does not work. I give up.
Please, provide a full OVA.


Nov 11, 2020

Hi gera83,
I tested it under
unbuntu:~$ uname -a
Linux ubuntu 5.4.0-48-generic #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
sperf@ubuntu:~$ cat /etc/issue
Ubuntu 20.04 LTS \n \l

Sorry for the bugs you met. I'll fix it quickly.

Nov 11, 2020

Did you test this? I tried it. Failed. Could not get AMD host information.

I could not get in the ESX again.
It broke mi root user. Completely.

Back to IO analyzer.

Nov 11, 2020

It totally overwrites authorized_keys file with the VM key. Please, append guys!