Please provide your feedback in this short Flings' survey.
This fling has been deprecated.
Dec 01, 2019

Hello Community,

i have this Problem

pip3 --version

pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)
_______________________________________________________________________

./compchecker.py: line 5: $'\nCopyright 2018 VMware, Inc. All rights reserved.\n\n@author: heejeong\n': command not found
./compchecker.py: line 6: import: command not found
from: can't read /var/mail/tools
from: can't read /var/mail/tools
from: can't read /var/mail/tools
from: can't read /var/mail/pip._vendor.distlib.compat
./compchecker.py: line 16: $'\nSimple command-line program to collect system information and validate its VMware compatibility\n': command not found
./compchecker.py: line 17: class: command not found
./compchecker.py: line 18: syntax error near unexpected token `('
./compchecker.py: line 18: ` def __init__(self):'

Dec 02, 2019

Hi Asmir,

Could you please try this:

$python3 ./compchecker -s <hostname> -u <username>

if it doesn't work, please specify the full python path
Thanks,

Nov 26, 2019

Hi.

I'm trying to run the tool but I am getting the following error message. Any ideas as to how I can get around this issue?

compchecker.py -s XXXXXXXXXX -u administrator@XXXXXXXXXXX
[ERROR]
Failed to get server certificate information from
[Exception] [WinError 10061] No connection could be made because the target machine actively refused it[WinError 10061] No connection could be made because the target machine actively refused it

Thanks.

Nov 26, 2019

Hi,

Could you please verify your host and user? The error usually happens when the script cannot access the specified host & user.
Thanks,
Heejeong

Nov 26, 2019

Hi. Thanks for the reply.

Should I be connecting to an individual host or vcenter? I'm using vcenter.

If it's a host, do I need to enable ssh and/or shell?

Nov 26, 2019

The compchecker script can connect to either a vCentor or an ESXi host. But the error happens when it fails to connect the specified host with the username. Can you use the "ping" command to check the host is accessible?
Thanks,

Nov 26, 2019

I've tried both a host and vcenter but get the same error. Yes, I can ping both and have tried FQDN and IP Address. For vcenter, I'm using the SSO administrator username administrator@<SSO Domain> and for the host, I'm using root.

Nov 26, 2019
Nov 26, 2019

I can for both the host and vcenter however, I do get a certificate error in the broswer. However, when I view the certificate the chain is correct and should be trusted.

Nov 26, 2019

if you can access the MOB using the same host & user account, the compcheck script should be able to connect as they are using the same API. I am not sure why but the script cannot connect with the host & user based on the error that you provided.

Sep 17, 2019

HI jitla

For some reason, I couldn't reply to your email.
But it seems that you didn't install pyVmoni which is required a library.

Here are the installation steps:

Download the latest Python package from Python Download.
Install Python Package, select the option to install "pip".
Installl Pyvmoni
python -m pip install pyvmomi
Installl crypto
python -m pip install crypto
Installl pyopenssl
python -m pip install pyopenssl

Could you please try and let me know if you still have problems?
Thanks,
Heejeong

Sep 13, 2019

Hi I am totally new to python, so have been trying to follow the instructions outlined.
but i am having the below issue, which i am not sure, how to get around.
Any help would be greatly appreciated.
D:\HostChecker\compchecker_v1_10066133>python compchecker.py -s x.x.x.x -u *****
Traceback (most recent call last):
File "compchecker.py", line 10, in <module>
from tools import hostmanager
File "D:\HostChecker\compchecker_v1_10066133\tools\hostmanager.py", line 11, in <module>
from tools import hostresource
File "D:\HostChecker\compchecker_v1_10066133\tools\hostresource.py", line 7, in <module>
from tools import common, compvalidator, hostaccess, restservice, cmdutil
File "D:\HostChecker\compchecker_v1_10066133\tools\compvalidator.py", line 7, in <module>
from tools import restservice, hostaccess
File "D:\HostChecker\compchecker_v1_10066133\tools\hostaccess.py", line 9, in <module>
from pyVim import connect
ModuleNotFoundError: No module named 'pyVim'

Thank you