PowerFlex 管理平台 - Certificate_generator_MDM_USER。py 無法建立憑證

Yhteenveto: PowerFlex 智慧型目錄 (IC) 和版本認證矩陣 (RCM) 套裝包含 SLES 15 OVA。但是,如果 SLES 15 虛擬機無法存取外部網路,pyOpenSSL 子模組的安裝將會失敗。

Tämä artikkeli koskee tuotetta Tämä artikkeli ei koske tuotetta Tämä artikkeli ei liity tiettyyn tuotteeseen. Tässä artikkelissa ei yksilöidä kaikkia tuoteversioita.

Oireet

Certificate_generator_MDM_USER.py無法建立憑證,並顯示錯誤「找不到 pyOpenSSL 的相符發佈 - 無法安裝 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 叢集。

Syy

VM 沒有外部網路訪問許可權,因此無法下載和安裝所需的 pyOpenSSL。

Tarkkuus

必須手動下載 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 RCM 3.7.1.0

、PowerFlex IC 40.370.00
、PowerFlex IC 40.371.00

已修正問題的版本

PowerFlex RCM 3.7.3.0

PowerFlex IC 40.373.00

Tuotteet, joihin vaikutus kohdistuu

PowerFlex rack, PowerFlex Appliance
Artikkelin ominaisuudet
Artikkelin numero: 000225357
Artikkelin tyyppi: Solution
Viimeksi muutettu: 24 toukok. 2024
Versio:  1
Etsi vastauksia kysymyksiisi muilta Dell-käyttäjiltä
Tukipalvelut
Tarkista, kuuluuko laitteesi tukipalveluiden piiriin.