PowerFlex:Kubernetes CSI 驅動程式部署錯誤
摘要: 本文說明在嘗試為 Kubernetes (K8s) 部署 PowerFlex CSI 驅動程式時可能會出現的主要問題。
本文章適用於
本文章不適用於
本文無關於任何特定產品。
本文未識別所有產品版本。
症狀
可能的問題:
- 不正確的閘道 URL:
# kubectl logs -n vxflexos vxflexos-node-28gh2 driver
time="2021-10-06T10:31:16Z" level=debug msg="enabled context injector"
time="2021-10-06T10:31:16Z" level=debug msg="init req & rep validation" withSpec=false
time="2021-10-06T10:31:16Z" level=debug msg="init implicit req validation" withSpecReq=false
time="2021-10-06T10:31:16Z" level=debug msg="init req validation" withSpecReq=true
time="2021-10-06T10:31:16Z" level=debug msg="enabled request ID injector"
time="2021-10-06T10:31:16Z" level=debug msg="enabled request logging"
time="2021-10-06T10:31:16Z" level=debug msg="enabled response logging"
time="2021-10-06T10:31:16Z" level=debug msg="enabled spec validator opt: request validation"
time="2021-10-06T10:31:16Z" level=debug msg="enabled serial volume access"
time="2021-10-06T10:31:16Z" level=info msg="configured 55b832655862adb7" allSystemNames= endpoint="http://10.10.10.19:28443" isDefault=true password="********" skipCertificateValidation=true systemID=55b832655862adb7 user=K8S_user
time="2021-10-06T10:31:16Z" level=info msg="driver configuration file " file=/vxflexos-config-params/driver-config-params.yaml
time="2021-10-06T10:31:16Z" level=info msg="Read CSI_LOG_FORMAT from log configuration file" format=text
time="2021-10-06T10:31:16Z" level=info msg="Read CSI_LOG_LEVEL from log configuration file" fields.level=debug
time="2021-10-06T10:31:16Z" level=info msg="array configuration file" file=/vxflexos-config/config
time="2021-10-06T10:31:16Z" level=info msg="Probing all arrays. Number of arrays: 1"
time="2021-10-06T10:31:16Z" level=error msg="array 55b832655862adb7 probe failed: rpc error: code = FailedPrecondition desc = unable to login to VxFlexOS Gateway: invalid character 'B' looking for beginning of value"
time="2021-10-06T10:31:16Z" level=info msg="configured csi-vxflexos.dellemc.com" allowRWOMultiPodAccess=false autoprobe=true mode=node privatedir=/var/lib/kubelet/plugins/vxflexos.emc.dell.com/disks sdcGUID= thickprovision=false
time="2021-10-06T10:31:16Z" level=info msg="removed sock file" path=/var/lib/kubelet/plugins/vxflexos.emc.dell.com/csi_sock
time="2021-10-06T10:31:16Z" level=fatal msg="grpc failed" error="rpc error: code = FailedPrecondition desc = All arrays are not working. Could not proceed further: map[55b832655862adb7:rpc error: code = FailedPrecondition desc = unable to login to VxFlexOS Gateway: invalid character 'B' looking for beginning of value]"
以下問題與 config.yaml 檔案中所定義。端點應以「https:“而不是”http":
config.yaml:
username: "K8S_user"
password: "password"
systemID: "55b832655862adb7"
endpoint: "http://10.10.10.19:28443" <<<
skipCertificateValidation: true
isDefault: true
mdm: "10.10.10.20,10.10.10.21,10.10.10.22"
- 必須變更使用者密碼:
# kubectl logs -n vxflexos vxflexos-node-xkhmv driver
time="2021-10-06T13:24:00Z" level=debug msg="enabled context injector"
time="2021-10-06T13:24:00Z" level=debug msg="init req & rep validation" withSpec=false
time="2021-10-06T13:24:00Z" level=debug msg="init implicit req validation" withSpecReq=false
time="2021-10-06T13:24:00Z" level=debug msg="init req validation" withSpecReq=true
time="2021-10-06T13:24:00Z" level=debug msg="enabled request ID injector"
time="2021-10-06T13:24:00Z" level=debug msg="enabled request logging"
time="2021-10-06T13:24:00Z" level=debug msg="enabled response logging"
time="2021-10-06T13:24:00Z" level=debug msg="enabled spec validator opt: request validation"
time="2021-10-06T13:24:00Z" level=debug msg="enabled serial volume access"
time="2021-10-06T13:24:00Z" level=info msg="configured 55b832655862adb7" allSystemNames= endpoint="https://10.10.10.19:28443" isDefault=true password="********" skipCertificateValidation=true systemID=55b832655862adb7 user=K8S_user
time="2021-10-06T13:24:00Z" level=info msg="driver configuration file " file=/vxflexos-config-params/driver-config-params.yaml
time="2021-10-06T13:24:00Z" level=info msg="Read CSI_LOG_FORMAT from log configuration file" format=text
time="2021-10-06T13:24:00Z" level=info msg="Read CSI_LOG_LEVEL from log configuration file" fields.level=debug
time="2021-10-06T13:24:00Z" level=info msg="array configuration file" file=/vxflexos-config/config
time="2021-10-06T13:24:00Z" level=info msg="Probing all arrays. Number of arrays: 1"
time="2021-10-06T13:24:00Z" level=error msg="array 55b832655862adb7 probe failed: rpc error: code = FailedPrecondition desc = unable to find matching VxFlexOS system name: err: problem getting instances: Password change required. Please change your password."
time="2021-10-06T13:24:00Z" level=info msg="configured csi-vxflexos.dellemc.com" allowRWOMultiPodAccess=false autoprobe=true mode=node privatedir=/var/lib/kubelet/plugins/vxflexos.emc.dell.com/disks sdcGUID= thickprovision=false
time="2021-10-06T13:24:00Z" level=info msg="removed sock file" path=/var/lib/kubelet/plugins/vxflexos.emc.dell.com/csi_sock
time="2021-10-06T13:24:00Z" level=fatal msg="grpc failed" error="rpc error: code = FailedPrecondition desc = All arrays are not working. Could not proceed further: map[55b832655862adb7:rpc error: code = FailedPrecondition desc = unable to find matching VxFlexOS system name: err: problem getting instances: Password change required. Please change your password.]"
使用 SCLI 登入並變更密碼後,部署會繼續進行:
# scli --login --username K8S_user --password password
Logged in. User role is Administrator. System ID is 55b832655862adb7
Current password must be changed. Please use --set_password command
# scli --set_password --old_password password --new_password newpassword
# scli --login --username K8S_user --password newpassword
Logged in. User role is Administrator. System ID is 55b832655862adb7
-
SDC 組態中的系統 ID 不正確:
# kubectl logs -n vxflexos vxflexos-node-7r8df driver
time="2021-10-06T14:17:05Z" level=debug msg="enabled context injector"
time="2021-10-06T14:17:05Z" level=debug msg="init req & rep validation" withSpec=false
time="2021-10-06T14:17:05Z" level=debug msg="init implicit req validation" withSpecReq=false
time="2021-10-06T14:17:05Z" level=debug msg="init req validation" withSpecReq=true
time="2021-10-06T14:17:05Z" level=debug msg="enabled request ID injector"
time="2021-10-06T14:17:05Z" level=debug msg="enabled request logging"
time="2021-10-06T14:17:05Z" level=debug msg="enabled response logging"
time="2021-10-06T14:17:05Z" level=debug msg="enabled spec validator opt: request validation"
time="2021-10-06T14:17:05Z" level=debug msg="enabled serial volume access"
time="2021-10-06T14:17:05Z" level=info msg="configured 55b832655862adb7" allSystemNames= endpoint="https://10.10.10.19:28443" isDefault=true password="********" skipCertificateValidation=true systemID=55b832655862adb7 user=K8S_user
time="2021-10-06T14:17:05Z" level=info msg="driver configuration file " file=/vxflexos-config-params/driver-config-params.yaml
time="2021-10-06T14:17:05Z" level=info msg="Read CSI_LOG_FORMAT from log configuration file" format=text
time="2021-10-06T14:17:05Z" level=info msg="Read CSI_LOG_LEVEL from log configuration file" fields.level=debug
time="2021-10-06T14:17:05Z" level=info msg="array configuration file" file=/vxflexos-config/config
time="2021-10-06T14:17:05Z" level=info msg="Probing all arrays. Number of arrays: 1"
time="2021-10-06T14:17:05Z" level=info msg="default array is set to array ID: 55b832655862adb7"
time="2021-10-06T14:17:05Z" level=info msg="55b832655862adb7 is the default array, skipping VolumePrefixToSystems map update. \n"
time="2021-10-06T14:17:05Z" level=info msg="array 55b832655862adb7 probed successfully"
time="2021-10-06T14:17:05Z" level=info msg="set SDC GUID" guid=3F3C5F0A-9307-42ED-91FC-67CCE89770FA
time="2021-10-06T14:17:05Z" level=info msg="Found connected system" ID=0000000000000000
time="2021-10-06T14:17:05Z" level=info msg="configured csi-vxflexos.dellemc.com" allowRWOMultiPodAccess=false autoprobe=true mode=node privatedir=/var/lib/kubelet/plugins/vxflexos.emc.dell.com/disks sdcGUID=3F3C5F0A-9307-42ED-91FC-67CCE89770FA thickprovision=false
time="2021-10-06T14:17:05Z" level=info msg="removed sock file" path=/var/lib/kubelet/plugins/vxflexos.emc.dell.com/csi_sock
time="2021-10-06T14:17:05Z" level=fatal msg="grpc failed" error="rpc error: code = FailedPrecondition desc = duplicate systems found that are known to SDC: 0000000000000000"
SDC 組態 (/etc/emc/scaleio/drv_cfg.txt) 包含多個不正確的系統項目 (MDM-ID) - 」0000000000000000.」使用「 移除不正確的系統 ID」drv_cfg“解決了這個問題。
影響
無法安裝 PowerFlex CSI 驅動程式。
原因
使用者組態錯誤
解析度
請參閱上方 「症狀 」一節中的解決每個特定問題的步驟。
受影響的版本
這不是 PowerFlex 問題,沒有任何版本受到影響。
受影響的產品
PowerFlex rack, ScaleIO文章屬性
文章編號: 000435259
文章類型: Solution
上次修改時間: 20 3月 2026
版本: 2
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。