Actions
Bug #48506
closedAttributeError: module 'lib' has no attribute 'Cryptography_HAS_TLSEXT_HOSTNAME'
Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
General
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
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.
Updated by Kiefer Chang over 3 years ago
Updated by Kiefer Chang over 3 years ago
Removing pyopenssl version lock solves the issue, is there a reason to stick with 17.5.0?
diff --git a/src/pybind/mgr/dashboard/constraints.txt b/src/pybind/mgr/dashboard/constraints.txt index 3e8532d451..96cfdb99e4 100644 --- a/src/pybind/mgr/dashboard/constraints.txt +++ b/src/pybind/mgr/dashboard/constraints.txt @@ -2,7 +2,6 @@ CherryPy==13.1.0 enum34==1.1.6 more-itertools==4.1.0 PyJWT==1.6.4 -pyopenssl==17.5.0 bcrypt==3.1.4 python3-saml==1.4.1 requests==2.20.0
The version lock was introduced in this PR: https://github.com/ceph/ceph/pull/21627/files#diff-0934854da78800681e20a3856237b42fb7b72c46bd570979abee6c80498b7803
Updated by Kiefer Chang over 3 years ago
- Status changed from New to In Progress
- Pull request ID set to 38498
Updated by Ernesto Puerta over 3 years ago
- Category changed from ceph-mgr to 132
Updated by Kiefer Chang over 3 years ago
- Status changed from In Progress to Fix Under Review
- Backport set to octopus,nautilus
- Affected Versions v14.2.9, v15.2.8, v16.0.0 added
Updated by Kefu Chai over 3 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Laura Paduano over 3 years ago
- Copied to Backport #48511: octopus: AttributeError: module 'lib' has no attribute 'Cryptography_HAS_TLSEXT_HOSTNAME' added
Updated by Laura Paduano over 3 years ago
- Copied to Backport #48512: nautilus: AttributeError: module 'lib' has no attribute 'Cryptography_HAS_TLSEXT_HOSTNAME' added
Updated by Nathan Cutler over 3 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
Updated by Ernesto Puerta about 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 132 to General
Actions