PowerFlex:OpenStack Cinder 安装故障排除

Summary: 本文介绍了对 OpenStack 的 ScaleIO Cinder 安装进行故障处理的步骤。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this 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 系统(例如,源 ~/demorc_admin),然后查看 Cinder 服务:

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 或者,如果该服务的状态为 down,则必须检查该服务。

从运行 cinder-volume,检查服务状态:

Service openstack-cinder-volume status

如果服务未运行,请启动它并再次检查状态。如果启动失败,请检查 /var/log/cinder/volume.log 文件以了解错误。


提醒:SED 设备的状态在输出中显示为受管但未加密。

Affected Products

PowerFlex Software

Products

PowerFlex Software, ScaleIO Ready Node-PowerEdge 13G
Article Properties
Article Number: 000008827
Article Type: How To
Last Modified: 03 Jan 2026
Version:  9
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.