Hi, thank you for your response,
root@chi-nagios-02:~# python -m pip list
Package Version
--------------------- --------------
ansible 9.2.0
ansible-core 2.16.3
apache-libcloud 3.4.1
argcomplete 3.1.4
attrs 23.2.0
Automat 22.10.0
Babel 2.10.3
bcc 0.29.1
bcrypt 3.2.2
beautifulsoup4 4.12.3
blinker 1.7.0
boto3 1.34.46
botocore 1.34.46
certifi 2023.11.17
chardet 5.2.0
click 8.1.6
cloud-init 24.3.1
colorama 0.4.6
command-not-found 0.3
configobj 5.0.8
constantly 23.10.4
cryptography 41.0.7
cssselect 1.2.0
dbus-python 1.3.2
distro 1.9.0
distro-info 1.7+build1
dnspython 2.6.1
html5lib 1.1
httplib2 0.20.4
hyperlink 21.0.0
idna 3.6
incremental 22.10.0
Jinja2 3.1.2
jmespath 1.0.1
jsonpatch 1.32
jsonpointer 2.0
jsonschema 4.10.3
launchpadlib 1.11.0
lazr.restfulclient 0.14.6
lazr.uri 1.0.6
lockfile 0.12.2
lxml 5.2.1
markdown-it-py 3.0.0
MarkupSafe 2.1.5
mdurl 0.1.2
netaddr 0.8.0
netifaces 0.11.0
ntlm-auth 1.5.0
ntpsec 1.2.2
numpy 1.26.4
oauthlib 3.2.2
packaging 24.0
passlib 1.7.4
pcp 5.0
pexpect 4.9.0
pip 24.0
ptyprocess 0.7.0
pyasn1 0.4.8
pyasn1-modules 0.2.8
Pygments 2.17.2
PyGObject 3.48.2
PyHamcrest 2.1.0
PyJWT 2.7.0
pykerberos 1.1.14
pymssql 2.2.11
pyOpenSSL 23.2.0
pyparsing 3.1.1
pyrsistent 0.20.0
pyserial 3.5
python-apt 2.7.7+ubuntu3
python-dateutil 2.8.2
python-debian 0.1.49+ubuntu2
python-magic 0.4.27
pytz 2024.1
pyvmomi 6.7.1
pywinrm 0.4.3
PyYAML 6.0.1
requests 2.31.0
requests-ntlm 1.1.0
resolvelib 1.0.1
rich 13.7.1
rrdtool 0.1.10
s3transfer 0.10.1
SCons 4.5.2
selinux 3.5
service-identity 24.1.0
setuptools 68.1.2
simplejson 3.19.2
six 1.16.0
sos 4.7.2
soupsieve 2.5
ssh-import-id 5.11
systemd-python 235
Twisted 24.3.0
ubuntu-drivers-common 0.0.0
ubuntu-pro-client 8001
ufw 0.36.2
unattended-upgrades 0.1
urllib3 2.0.7
wadllib 1.3.6
webencodings 0.5.1
wheel 0.42.0
xkit 0.0.0
xmltodict 0.13.0
zope.interface 6.1
RESOLVED: Issue checking Vmware Hosts after uogarding to the lates version
Re: Issue checking Vmware Hosts after uogarding to the lates version
Hi,
I just found solution to this issue:
ssl.wrap_socket was removed from Python starting from version 3.7
what I did was following
edit: /usr/lib/python3/dist-packages/pyVmomi/SoapAdapter.py
and in line 993 update as follow:
From: _SocketWrapper = ssl.wrap_socket
To: _SocketWrapper = ssl.SSLContext.wrap_socket
After that change everything start working again.
I just found solution to this issue:
ssl.wrap_socket was removed from Python starting from version 3.7
what I did was following
edit: /usr/lib/python3/dist-packages/pyVmomi/SoapAdapter.py
and in line 993 update as follow:
From: _SocketWrapper = ssl.wrap_socket
To: _SocketWrapper = ssl.SSLContext.wrap_socket
After that change everything start working again.
Re: Issue checking Vmware Hosts after uogarding to the lates version
Hi @slawek,
Thank you for the update. I will pass your solution along to the developer.
Locking and marking this thread resolved.
Thank you for the update. I will pass your solution along to the developer.
Locking and marking this thread resolved.
Please let us know if you have any other questions or concerns.
-Laura
-Laura