CSI Driver for PowerMax 导致卷创建失败,查找存储组和卷时出错
Summary: 适用于 PowerMax 的容器存储接口 (CSI) 驱动程序导致卷创建失败,并出现查找存储组 (SG) 和卷的错误。
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.
Symptoms
尝试创建卷时,用户在控制器驱动程序日志中看到以下错误。表述性状态转移 (REST) 命令检索有关 SG 的详细信息。REST 响应为“200 ok”,但随后日志在日志中显示“Unable to find storage group”。
接着,REST 会检查卷是否存在,然后再尝试创建它。REST 返回找不到卷,并显示 404 Not Found。但代码需要一个空列表。
然后重复此行为,并且永远不会创建卷。
time="2024-02-14T17:15:03Z" level=debug msg="\n -------------------------- POWERMAX HTTP REQUEST -------------------------\n GET /univmax/restapi/100/sloprovisioning/symmetrix/<powermax id>/storagegroup/<storage group> HTTP/1.1\n Host: 0.0.0.0:2222\n Accept: application/json;version=100\n Application-Type: CSI Driver for Dell EMC PowerMax/v2.9.1\n Content-Type: application/json;version=100\n Symid: <powermax id>\n \n"
time="2024-02-14T17:15:03Z" level=debug msg="\n -------------------------- POWERMAX HTTP RESPONSE -------------------------\n HTTP/1.1 200 OK\n Transfer-Encoding: chunked\n Content-Security-Policy: default-src 'self'\n Content-Type: application/json\n Date: Wed, 14 Feb 2024 17:15:03 GMT\n Referrer-Policy: no-referrer-when-downgrade\n Restapi-Active-Session-Count: 4\n Restapi-Processing-Time: 25\n Strict-Transport-Security: max-age=31536000; includeSubDomains\n X-Content-Security-Policy: default-src 'self'\n X-Content-Type-Options: nosniff\n X-Frame-Options: SAMEORIGIN\n X-Webkit-Csp: default-src 'self'\n X-Xss-Protection: 1; mode=block\n \n 176\n {\"storageGroupId\":\"<storage group>\",\"slo\":\"Gold\",\"service_level\":\"Gold\",\"base_slo_name\":\"Gold\",\"srp\":\"SRP_1\",\"slo_compliance\":\"STABLE\",\"num_of_vols\":0,\"num_of_child_sgs\":0,\"num_of_parent_sgs\":0,\"num_of_masking_views\":0,\"num_of_snapshots\":0,\"cap_gb\":0.0,\"type\":\"Standalone\",\"unprotected\":true,\"compression\":true,\"compression_ratio_to_one\":0.0,\"unreducible_data_gb\":0.0}\n 0\n \n"
time="2024-02-14T17:15:03Z" level=debug msg="Unable to find storage group: <storage group>"
time="2024-02-14T17:15:03Z" level=debug msg="\n -------------------------- POWERMAX HTTP REQUEST -------------------------\n GET /univmax/restapi/100/sloprovisioning/symmetrix/<powermax id>/volume?volume_identifier=<volume name> HTTP/1.1\n Host: 0.0.0.0:2222\n Accept: application/json;version=100\n Application-Type: CSI Driver for Dell EMC PowerMax/v2.9.1\n Content-Type: application/json;version=100\n Symid: <powermax id>\n \n"
time="2024-02-14T17:15:04Z" level=debug msg="\n -------------------------- POWERMAX HTTP RESPONSE -------------------------\n HTTP/1.1 404 Not Found\n Content-Length: 26\n Content-Type: text/plain; charset=utf-8\n Date: Wed, 14 Feb 2024 17:15:04 GMT\n \n Invalid Response from API\n"
time="2024-02-14T17:15:04Z" level=error msg="Error looking up volume for idempotence check: Not Found"
time="2024-02-14T17:15:04Z" level=info msg="/csi.v1.Controller/CreateVolume: REP 0032: rpc error: code = Internal desc = Error looking up volume for idempotence check: Not Found"
time="2024-02-14T17:15:04Z" level=info msg="/csi.v1.Controller/GetCapacity: REQ 0033: VolumeCapabilities=[mount:<> access_mode:<> ], Parameters=map[SRP:SRP_1 SYMID:<powermax id> ServiceLevel:Gold csi.storage.k8s.io/fstype:ext4], AccessibleTopology=segments:<key:\"csi-powermax.dellemc.com/<powermax id>\" value:\"csi-powermax.dellemc.com\" > segments:<key:\"csi-powermax.dellemc.com/<powermax id>.vsphere\" value:\"csi-powermax.dellemc.com\" > , XXX_NoUnkeyedLiteral={}, XXX_sizecache=0"
Cause
用户在输入 Unisphere for PowerMax 端点时,在值文件或 powermax-reverseproxy-config 和 powermax-array-config configmaps 中添加了尾随“/”。
https://primary-1.unisphe.re:8443/
提供的值 YAML 文件在示例中不显示尾随“/”。
https://primary-1.unisphe.re:8443
Resolution
应使用不包含附加“/”的值文件执行安装。
请参阅文档并按照适用于特定环境的部署说明进行作: https://dell.github.io/csm-docs/
Additional Information
要在日志中查看 POWERMAX HTTP REQUEST 或 RESPONSE,请启用 powerMaxDebug:
请参阅文档并按照适用于特定环境的部署说明进行作: https://dell.github.io/csm-docs/
logLevel— CSI 驱动程序日志级别。允许的值:“error”, “warn”/“warning”, “info”, “debug”
powerMaxDebug — 启用 CSI 驱动程序与 Unisphere 之间的低级别和 http 流量日志记录。除非支持团队要求,否则请勿启用此功能。
Affected Products
PowerMax, PowerMaxArticle Properties
Article Number: 000222114
Article Type: Solution
Last Modified: 03 Dec 2025
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.