Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: CSI driver does not verify iSCSI initiators on the array correctly #849

Closed
rajendraindukuri opened this issue Jun 7, 2023 · 0 comments
Assignees
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

Comments

@rajendraindukuri
Copy link
Collaborator

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

  1. Make sure the iSCSI initiator name has capital letters
  2. Install the csi unity driver
  3. Reboot the node

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

@rajendraindukuri rajendraindukuri added needs-triage Issue requires triage. type/bug Something isn't working. This is the default label associated with a bug issue. and removed needs-triage Issue requires triage. labels Jun 7, 2023
@rajendraindukuri rajendraindukuri self-assigned this Jun 7, 2023
@gallacher gallacher added this to the v1.8.0 milestone Jun 16, 2023
@shanmydell shanmydell added the area/csi-unity Issue pertains to the CSI Driver for Dell EMC Unity label Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

3 participants