Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compute manager failes with AttributeError: module 'ssl' has no attribute 'wrap_socket' #517

Open
laidbackware opened this issue Oct 11, 2024 · 0 comments · May be fixed by #518
Open

Compute manager failes with AttributeError: module 'ssl' has no attribute 'wrap_socket' #517

laidbackware opened this issue Oct 11, 2024 · 0 comments · May be fixed by #518
Labels
bug Something isn't working

Comments

@laidbackware
Copy link
Contributor

laidbackware commented Oct 11, 2024

Describe the bug

nsxt_fabric_compute_managers module generates the following error if used under Python 3.12.

AttributeError: module 'ssl' has no attribute 'wrap_socket'

This is because ssl_wrap_socket() has be deprecated since Python 3.7. See description of the issue here

Link to alternate implementation.

Reproduction steps

This bug appears if you try to use the nsxt_fabric_compute_managers with Python 3.12.

Expected behavior

There is no error

Additional context

No response

@laidbackware laidbackware added the bug Something isn't working label Oct 11, 2024
@laidbackware laidbackware changed the title Compute manager failes with Compute manager failes with AttributeError: module 'ssl' has no attribute 'wrap_socket' Oct 11, 2024
@laidbackware laidbackware linked a pull request Oct 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant