PowerFlex:故障診斷 OpenStack Cinder 安裝

Résumé: 本文說明故障診斷 OpenStack ScaleIO Cinder 安裝的步驟。

Cet article concerne Cet article ne concerne pas Cet article n’est associé à aucun produit spécifique. Toutes les versions du produit ne sont pas identifiées dans cet article.

Instructions

若要設定 OpenStack Cinder 驅動程式使用 PowerFlex,請將下列內容新增至 /etc/cinder/cinder.conf 檔。

此配置適用於 OpenStack 的 Pike 版本。其他版本可能會有所不同。

[Default] enabled_backends = scaleio [scaleio] volume_driver = cinder.volume.drivers.dell_emc.scaleio.driver.ScaleIODriver volume_backend_name = scaleio san_ip = GATEWAY_IP sio_storage_pools = Domain1:Pool1,Domain2:Pool2 san_login = SIO_USER san_password = SIO_PASSWD san_thin_provision = false

檢閱 /var/log/cinder/volume.log 檔案中所定義。您應該會看到如下行:

2018-05-28 14:04:10.659 28321 INFO cinder.volume.drivers.emc.scaleio [req-4584c6b0-9d6b-4745-a63f-45b19fbd0b46 - - - - -] ScaleIO get domain id by name request: https://10.241.215.218:443/api/types/Domain/instances/getByName::H2O_PD1.
2018-05-28 14:04:10.863 28321 INFO cinder.volume.drivers.emc.scaleio [req-4584c6b0-9d6b-4745-a63f-45b19fbd0b46 - - - - -] ScaleIO get pool id by name request: https://10.241.215.218:443/api/types/Pool/instances/getByName::a8341aab00000000,H2O_POOL2.

如果沒有,您與 ScaleIO 閘道的通訊有問題。從 OpenStack Cinder 伺服器執行下列命令,確認與閘道的連線能力:

curl -u : https:///api/login --insecure

命令應傳回驗證權杖。如果您收到錯誤,代表您與 ScaleIO 閘道有通訊問題,應先加以解決。

接下來,確定 Cinder 服務已正確設定。

從控制器節點登入 OpenStack 系統 (例如,source ~/demorc_admin),然後查看煤渣服務:

cinder service-list

您應該會看到如下所示的輸出:

+------------------+----------------+------+---------+-------+----------------------------+-----------------+
|      Binary      |      Host      | Zone |  Status | State |         Updated_at         | Disabled Reason |
+------------------+----------------+------+---------+-------+----------------------------+-----------------+
| cinder-scheduler |   controller   | nova | enabled |   up  | 2018-05-28T18:19:21.000000 |        -        |
|  cinder-volume   | cinder@scaleio | nova | enabled |   up  | 2018-05-28T18:19:24.000000 |        -        |
+------------------+----------------+------+---------+-------+----------------------------+-----------------+

如果您沒有看到 cinder-volume service@scaleio 或者,如果該服務的狀態已關閉,則必須檢查該服務。

從執行 cinder-volume,請檢查服務狀態:

Service openstack-cinder-volume status

如果服務未運行,請啟動它並再次檢查狀態。如果無法啟動,請檢查 /var/log/cinder/volume.log 檔錯誤。


注意:SED 裝置的狀態會在輸出結果中顯示為受管理,但未加密。

Produits concernés

PowerFlex Software

Produits

PowerFlex Software, ScaleIO Ready Node-PowerEdge 13G
Propriétés de l’article
Numéro d’article: 000008827
Type d’article: How To
Dernière modification: 03 Jan 2026
Version:  9
Trouvez des réponses à vos questions auprès d’autres utilisateurs Dell
Services de support
Vérifiez si votre appareil est couvert par les services de support.