CSM:CSI Driver for PowerMaxがストレージ グループとボリュームの検索エラーでボリュームの作成に失敗する
概要: PowerMax用Dell Container Storage Modules (CSM) Container Storage Interface (CSI)Driver Dellは、ストレージ グループ(SG)とボリュームの検索エラーでボリュームの作成に失敗します。
現象
ボリュームを作成しようとすると、コントローラー ドライバー ログに次のエラーが表示されます。Representational State Transfer (REST)コマンドを実行すると、SGの詳細が取得されます。「 REST 応答は "200 ok" しかし、ログには次のように表示されます "Unable to find storage group"の詳細を確認してください。
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"
その後、この動作が繰り返され、ボリュームは作成されません。
原因
ユーザーが末尾の "/" 値ファイル内または powermax-reverseproxy-config と powermax-array-config configmaps Unisphere for PowerMaxエンドポイントを起動したとき。
https://primary-1.unisphe.re:8443/
指定された値 のYAML ファイルには末尾が表示されません "/" サンプルで。
https://primary-1.unisphe.re:8443
解決方法
インストールは、追加の "/"の詳細を確認してください。
ドキュメントを参照し、特定の環境に適用可能な導入手順に従ってください: https://dell.github.io/csm-docs/
その他の情報
有効 powerMaxDebug と入力すると、次が表示されます。 POWERMAX HTTP REQUEST または RESPONSE ログに記録されます。
ドキュメントを参照し、特定の環境に適用可能な導入手順に従ってください:https://dell.github.io/csm-docs/
logLevel - CSIドライバーのログ レベル。使用可能な値: "error"、 "warn"/"warning"、 "info"、 "debug"
powerMaxDebug - CSIドライバーとUnisphere間の低レベルおよびHTTPトラフィックのログを有効にします。サポート チームから要求がない限り、これを有効にしないでください。