PowerFlex: Certificate_generator_MDM_USER. Py pyOpenSSL 하위 모듈을 설치하지 못하고 인증서를 생성하지 못했습니다.
요약: Certificate_generator_MDM_USER.py "pyOpenSSL에 대해 일치하는 배포판을 찾을 수 없음 - pyOpenSSL 하위 모듈을 설치하지 못했습니다"라는 오류와 함께 인증서를 생성하지 못합니다.
증상
PowerFlex IC(Intelligent Catalog) 및 RCM(Release Certification Matrix) 번들에는 SLES 15 OVA가 포함되어 있습니다. 그러나 SLES 15 가상 머신이 외부 네트워크에 액세스할 수 없는 경우 pyOpenSSL 하위 모듈 설치가 실패합니다. 또한 SLES 15 OVA에는 pyOpenSSL 하위 모듈이 사전 설치되어 있지 않으므로 수동 설치가 필요합니다.
certificate_generator_MDM_USER.py 스크립트는 pyOpenSSL 모듈의 설치 프로세스를 시작하도록 설계되었습니다.
인증서 생성기 스크립트를 실행하려고 하면 다음 오류 메시지와 함께 실패합니다.
/opt/emc/scaleio/mdm/cfg # python3 ./certificate_generator_MDM_USER.py --generate_ca mgmt_ca.pem
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f511c156b70>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pyopenssl/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f511c156358>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pyopenssl/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f511c1564e0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pyopenssl/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f511c156eb8>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pyopenssl/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f511c1569b0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pyopenssl/
ERROR: Could not find a version that satisfies the requirement pyOpenSSL (from versions: none)
ERROR: No matching distribution found for pyOpenSSL
Failed to install pyOpenSSL submodule |
영향
인증서가 생성되지 않으므로 MDM 클러스터를 생성할 수 없습니다.
원인
VM에 외부 네트워크 액세스 권한이 없으므로 필요한 pyOpenSSL을 다운로드하고 설치하지 못합니다.
해결
pyOpenSSL 모듈을 수동으로 다운로드해야 합니다 - https://pypi.org/project/pyOpenSSL/19.1.0/#files (외부 링크)
다운로드에 필요한 파일은 pyOpenSSL-19.1.0-py2.py3-none-any.whl 입니다.
파일을 VM으로 전송하고 설치합니다.
pip install pyOpenSSL-19.1.0-py2.py3-none-any.whl Processing ./pyOpenSSL-19.1.0-py2.py3-none-any.whl Requirement already satisfied: cryptography>=2.8 in /usr/lib64/python3.6/site-packages (from pyOpenSSL==19.1.0) (2.9.2) Requirement already satisfied: six>=1.5.2 in /usr/lib/python3.6/site-packages (from pyOpenSSL==19.1.0) (1.14.0) Requirement already satisfied: cffi!=1.11.3,>=1.8 in /usr/lib64/python3.6/site-packages (from cryptography>=2.8->pyOpenSSL==19.1.0) (1.13.2) Requirement already satisfied: pycparser in /usr/lib/python3.6/site-packages (from cffi!=1.11.3,>=1.8->cryptography>=2.8->pyOpenSSL==19.1.0) (2.17) Installing collected packages: pyOpenSSL Successfully installed pyOpenSSL-19.1.0 |
영향을 받는 버전
PowerFlex RCM 3.7.0.0
PowerFlex RCM3.7.1.0
PowerFlex IC 40.370.00
PowerFlex IC 40.371.00
수정된 버전
PowerFlex RCM 3.7.3.0
PowerFlex IC 40.373.00