Project

General

Profile

Actions

Bug #48506

closed

AttributeError: module 'lib' has no attribute 'Cryptography_HAS_TLSEXT_HOSTNAME'

Added by Kefu Chai over 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
General
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 183, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib/python3.6/runpy.py", line 109, in _get_module_details
    __import__(pkg_name)
  File "/home/jenkins-build/build/workspace/ceph-pull-requests/src/pybind/mgr/dashboard/__init__.py", line 55, in 
    from .module import Module, StandbyModule  # noqa: F401
  File "/home/jenkins-build/build/workspace/ceph-pull-requests/src/pybind/mgr/dashboard/module.py", line 24, in 
    from .grafana import push_local_dashboards
  File "/home/jenkins-build/build/workspace/ceph-pull-requests/src/pybind/mgr/dashboard/grafana.py", line 9, in 
    import requests
  File "/home/jenkins-build/build/workspace/ceph-pull-requests/src/pybind/mgr/dashboard/.tox/openapi-check/lib/python3.6/site-packages/requests/__init__.py", line 95, in 
    from urllib3.contrib import pyopenssl
  File "/home/jenkins-build/build/workspace/ceph-pull-requests/src/pybind/mgr/dashboard/.tox/openapi-check/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py", line 46, in 
    import OpenSSL.SSL
  File "/home/jenkins-build/build/workspace/ceph-pull-requests/src/pybind/mgr/dashboard/.tox/openapi-check/lib/python3.6/site-packages/OpenSSL/__init__.py", line 8, in 
    from OpenSSL import crypto, SSL
  File "/home/jenkins-build/build/workspace/ceph-pull-requests/src/pybind/mgr/dashboard/.tox/openapi-check/lib/python3.6/site-packages/OpenSSL/SSL.py", line 673, in 
    _lib.Cryptography_HAS_TLSEXT_HOSTNAME, "SNI not available" 
AttributeError: module 'lib' has no attribute 'Cryptography_HAS_TLSEXT_HOSTNAME'

looks like an issue in pyOpenSSL.


Related issues 2 (0 open2 closed)

Copied to mgr - Backport #48511: octopus: AttributeError: module 'lib' has no attribute 'Cryptography_HAS_TLSEXT_HOSTNAME'ResolvedLaura PaduanoActions
Copied to mgr - Backport #48512: nautilus: AttributeError: module 'lib' has no attribute 'Cryptography_HAS_TLSEXT_HOSTNAME'ResolvedLaura PaduanoActions
Actions

Also available in: Atom PDF