CSM: CSI Driver for PowerMax가 스토리지 그룹 및 볼륨을 찾는 동안 오류가 발생하며 볼륨 생성이 실패함
요약: PowerMax용 Dell CSM(Container Storage Modules) CSI(Container Storage Interface) 드라이버가 SG(Storage Group) 및 볼륨을 찾는 오류로 인해 볼륨 생성에 실패합니다.
증상
볼륨을 생성하려고 할 때 컨트롤러 드라이버 로그에 다음 오류가 나타납니다. 표현 상태 전송(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 트래픽 로깅을 활성화합니다. 지원 팀에서 요청하지 않는 한 활성화하지 마십시오.