[BUG]: CSI driver does not verify iSCSI initiators on the array correctly #849
Labels
area/csi-unity
Issue pertains to the CSI Driver for Dell EMC Unity
type/bug
Something isn't working. This is the default label associated with a bug issue.
Milestone
Bug Description
Customer installs CSI driver for Unity and can provision Applications with UNity PVCs successfully.
However after any node reboot, the driver pod on that rebooted node goes into a failed state after the reboot, failing to find the iSCSI initiator on the array
Logs
time="2023-05-04T13:45:07Z" level=debug arrayid=xxxxxx runid=node-2 msg="Host kubworker04 exists on the array" func="github.com/dell/csi-unity/service.(*service).addNodeInformationIntoArray()" file="/go/src/csi-unity/service/node.go:1646"
time="2023-05-04T13:45:07Z" level=debug msg="Invoking REST API server info Method: GET, URI: /api/instances/hostInitiator/HostInitiator_62?fields=id,health,type,initiatorId,isIgnored,parentHost,paths" func="github.com/dell/gounity.(*Client).executeWithRetryAuthenticate()" file="dell/gounity@v1.13.0/unityclient.go:120"
time="2023-05-04T13:45:07Z" level=info msg="/csi.v1.Node/NodeGetInfo: REQ 0002: XXX_NoUnkeyedLiteral={}, XXX_sizecache=0"
time="2023-05-04T13:45:07Z" level=debug runid=2 msg="Executing NodeGetInfo with args: {XXX_NoUnkeyedLiteral:{} XXX_unrecognized:[] XXX_sizecache:0}" func="github.com/dell/csi-unity/service.(*service).NodeGetInfo()" file="/go/src/csi-unity/service/node.go:809"
time="2023-05-04T13:45:07Z" level=debug msg="Response code:200 for url: /api/instances/hostInitiator/HostInitiator_62?fields=id,health,type,initiatorId,isIgnored,parentHost,paths" func="github.com/dell/gounity/api.(*client).DoAndGetResponseBody()" file="dell/gounity@v1.13.0/api/restclient.go:306"
time="2023-05-04T13:45:07Z" level=debug msg="Execution successful on Method: GET, URI: /api/instances/hostInitiator/HostInitiator_62?fields=id,health,type,initiatorId,isIgnored,parentHost,paths" func="github.com/dell/gounity.(*Client).executeWithRetryAuthenticate()" file="dell/gounity@v1.13.0/unityclient.go:123"
time="2023-05-04T13:45:07Z" level=debug runid=node-2 msg="Adding node [xxxxxxxx] failed, Error: [rpc error: code = Internal desc = runid= Host has got foreign Initiators. Host initiators on the array require correction before proceeding further.]" func="github.com/dell/csi-unity/service.(*service).syncNodeInfo.func2.1()" file="/go/src/csi-unity/service/node.go:1900"
time="2023-05-04T13:45:10Z" level=info msg="/csi.v1.Node/NodeGetInfo: REP 0002: rpc error: code = Unavailable desc = runid=2 The node [kubworker04] is not added to any of the arrays"
Screenshots
No response
Additional Environment Information
No response
Steps to Reproduce
Expected Behavior
Driver pods should come up without any issues after node reboot
CSM Driver(s)
CSI Driver for Unity v2.6
Installation Type
Helm
Container Storage Modules Enabled
No response
Container Orchestrator
kubernetes 1.26.3
Operating System
RHEL 8.5
The text was updated successfully, but these errors were encountered: