Please provide your feedback in this short Flings' survey.

Comment thread started by Raudi on Storage Performance Tester

Full comments
Feb 01, 2021

Do i'm hitting the bug?

./sperf.py vmsrv01 -d cl01-sas
2021-02-01 15:27:39,411 - sperf.py:450 - INFO - Using primary log sperf.log.
2021-02-01 15:27:39,411 - sperf.py:460 - INFO - The test results will be put into /root/StoragePerformanceTester/sperf/results/4
Please enter the root password for vmsrv01:
2021-02-01 15:27:44,031 - sperf.py:50 - INFO - Copy id_rsa.pub to the host.
2021-02-01 15:27:44,302 - sperf.py:59 - INFO - Geting basic info on vmsrv01
2021-02-01 15:27:46,880 - sperf.py:72 - ERROR - Didn't find the right hardware info based on cl01-sas
2021-02-01 15:27:46,881 - sperf.py:110 - INFO - Check if the VM (cl01-sas_sperfVMv1) has been deployed.
2021-02-01 15:27:47,760 - sperf.py:119 - INFO - Host vmsrv01 doesn't have a VM named cl01-sas_sperfVMv1.
2021-02-01 15:27:47,761 - sperf.py:88 - WARNING - This connect is insecure. please try to add --nosslverify 0 in your tests.
Traceback (most recent call last):
File "./sperf.py", line 484, in <module>
sys.exit(main())
File "./sperf.py", line 468, in main
status = sperf.DeployVM(args.vmname, args.ovfurl, args.nosslverify)
File "./sperf.py", line 95, in DeployVM
proc.communicate(input=self._passwd)
File "/usr/lib/python3.8/subprocess.py", line 1009, in communicate
self._stdin_write(input)
File "/usr/lib/python3.8/subprocess.py", line 958, in _stdin_write
self.stdin.write(input)
TypeError: a bytes-like object is required, not 'str'
root@ubuntu-server:~/StoragePerformanceTester/sperf# Opening OVF source: ./ovftemplates/sperfVMv2.ovf
The manifest validates
Opening VI target: vi://root@192.168.88.41:443/
Deploying to VI: vi://root@192.168.88.41:443/
Transfer Completed
Powering on VM: cl01-sas_sperfVMv1
Task Completed
Received IP address: 192.168.99.173
Completed successfully

And here i'm getting back to the prompt... What can i do to get this running?

Feb 02, 2021

Ah, i must click on the bug to get a comment with the workaround. Thanks!

This error i passed now, but not i got a other error:

utils.py:18 - ERROR - Run 'vsish -pe get /storage/scsifw/devices//stats |grep commands' on vmsrv01 failed, error=1

Will this command be executed on the ESXi host? On the host i get:

[root@vmsrv01:~] vsish -pe get /storage/scsifw/devices//stats
main():Python mode is deprecated and will be removed in future releases. You can use pyvsilib instead.
VSISHCmdGetInt():Get failed: Not found
[root@vmsrv01:~]