Plataforma de administración de PowerFlex: Certificate_generator_MDM_USER. Py no puede crear certificados
Yhteenveto: Los paquetes de catálogo inteligente (IC) y matriz de certificación de versiones (RCM) de PowerFlex incluyen un OVA de SLES 15. Sin embargo, si la máquina virtual de SLES 15 no tiene acceso a una red externa, la instalación del submódulo pyOpenSSL fallará. ...
Oireet
Certificate_generator_MDM_USER.py no puede crear certificados y se muestra el error "No matching distribution found for pyOpenSSL: no se pudo instalar el submódulo pyOpenSSL"
Además, el OVA de SLES 15 no tiene preinstalado el submódulo pyOpenSSL, lo que implica que es necesaria una instalación manual. El script de certificate_generator_MDM_USER.py está diseñado para iniciar el proceso de instalación del módulo pyOpenSSL.
Cuando se intenta ejecutar el script del generador de certificados, se produce un error con el siguiente mensaje de error:
/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 |
Impacto
El clúster de MDM no se podrá crear debido a que no se generan los certificados.
Syy
La VM no tiene acceso a la red externa, por lo que no puede descargar e instalar el PyOpenSSL necesario.
Tarkkuus
El módulo pyOpenSSL tendrá que descargarse manualmente: https://pypi.org/project/pyOpenSSL/19.1.0/#files
El archivo necesario para descargar es: pyOpenSSL-19.1.0-py2.py3-none-any.whl
Transfiera el archivo a la VM e instálelo:
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 |
Versiones afectadas
PowerFlex RCM 3.7.0.0
PowerFlex RCM3.7.1.0
PowerFlex IC 40.370.00
PowerFlex IC 40.371.00
Problema corregido en la versión
RCM 3.7.3.0 de PowerFlex
IC de PowerFlex 40.373.00