Skip to content

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

@laidbackware

Description

@laidbackware

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions