PowerFlex Management Platform – Certificate_generator_MDM_USER. Py kan ikke opprette sertifikater
Yhteenveto: Pakkene PowerFlex Intelligent Catalog (IC) og Release Certification Matrix (RCM) inkluderer en SLES 15 OVA. Men hvis SLES 15 Virtual Machine mangler tilgang til et eksternt nettverk, vil installasjonen av pyOpenSSL submodule mislykkes. ...
Oireet
Certificate_generator_MDM_USER.py kan ikke opprette sertifikater med feilen "Ingen samsvarende distribusjon funnet for pyOpenSSL - Kunne ikke installere pyOpenSSL submodule"
Videre har SLES 15 OVA ikke pyOpenSSL submodule forhåndsinstallert, noe som betyr at en manuell installasjon er nødvendig. Det certificate_generator_MDM_USER.py skriptet er utformet for å starte installasjonsprosessen for pyOpenSSL-modulen.
Når du prøver å kjøre sertifikatgeneratorskriptet, mislykkes det med følgende feilmelding:
/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 |
Innvirkning
MDM-klyngen kan ikke opprettes på grunn av at sertifikatene ikke genereres.
Syy
VM-en har ikke tilgang til eksternt nettverk, så den kan ikke laste ned og installere pyOpenSSL som kreves.
Tarkkuus
pyOpenSSL-modulen må lastes ned manuelt - https://pypi.org/project/pyOpenSSL/19.1.0/#files
Filen som trengs for å laste ned er - pyOpenSSL-19.1.0-py2.py3-none-any.whl
Overfør filen til VM og installer den:
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 |
Berørte versjoner
PowerFlex RCM 3.7.0.0
PowerFlex RCM3.7.1.0
PowerFlex IC 40.370.00
PowerFlex IC 40.371.00
Løst i versjon
PowerFlex RCM 3.7.3.0
PowerFlex IC 40.373.00