PowerMax 的 CSI 驅動程式無法建立磁碟區,並發生尋找儲存群組和磁碟區的錯誤

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」,但記錄會在記錄中顯示「找不到儲存群組」。
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>"
然後繼續,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>/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

使用者在進入 PowerMax 端點的 Unisphere 時,在值檔案或 powermax-reverseproxy-config 和 powermax-array-config 組態圖中新增了一個尾隨的「/」。

https://primary-1.unisphe.re:8443/

提供的值 YAML 檔在示例中沒有顯示尾隨“/”。

https://primary-1.unisphe.re:8443

 

Resolution

安裝應使用不包含附加“/”的值檔。

請參閱說明文件,並依照適用於特定環境的部署指示操作: https://dell.github.io/csm-docs/
 

Additional Information

若要在記錄中查看 POWERMAX HTTP 要求或回應,請啟用 powerMaxDebug

請參閱說明文件,並依照適用於特定環境的部署指示操作: https://dell.github.io/csm-docs/

logLevel - CSI 驅動程式記錄層級。允許的值:「error」、「warn」/「warning」、「info」、「debug」
powerMaxDebug - 啟用 CSI 驅動程式與 Unisphere 之間的低層級和 HTTP 流量記錄。除非支援小組要求,否則請勿啟用此功能。

Affected Products

PowerMax, PowerMax
Article 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.