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]: unable to install the UNITY driver in NAT Env #1279

Closed
suryagupta4 opened this issue May 2, 2024 · 2 comments
Closed

[BUG]: unable to install the UNITY driver in NAT Env #1279

suryagupta4 opened this issue May 2, 2024 · 2 comments
Assignees
Labels
area/csi-unity Issue pertains to the CSI Driver for Dell EMC Unity area/csm-docs Issue pertains to the CSM Documentation type/bug Something isn't working. This is the default label associated with a bug issue.
Milestone

Comments

@suryagupta4
Copy link

Bug Description

Customer has NAT between K8S cluster and Unity. They tried to install either 2.7 or 2.10, faced the same error "Error: authenticate error. Response: ParseJSONError: invalid character '<' looking for beginning of value" "

From secret.yaml, there are two Unitys. Both of them are failed to probe during the login session.

$ kubectl -n unity get pod -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
unity-controller-6f6dccb4c8-4lbf2 1/4 CrashLoopBackOff 30 (2m39s ago) 29m x.x.x.x apis-gdc-run-khn12v
unity-controller-6f6dccb4c8-rkdrd 1/4 CrashLoopBackOff 30 (2m27s ago) 29m x.x.x.x apis-gdc-run-khn13v
unity-node-7hn8b 1/2 CrashLoopBackOff 10 (98s ago) 29m x.x.x.x apis-gdc-run-khn11v
unity-node-kfc7q 1/2 CrashLoopBackOff 10 (103s ago) 29m x.x.x.x apis-gdc-run-khn13v
unity-node-zndj8 1/2 CrashLoopBackOff 10 (114s ago) 29m x.x.x.x apis-gdc-run-khn12v

Logs

time="2024-04-23T02:28:15Z" level=debug msg="Response code:403 for url: /api/types/loginSessionInfo" func="github.com/dell/gounity/api.(*client).DoAndGetResponseBody()" file="dell/gounity@v1.17.0/api/restclient.go:306"
time="2024-04-23T02:28:15Z" level=debug msg="Authentication response code: 403" func="github.com/dell/gounity.(*Client).Authenticate()" file="dell/gounity@v1.17.0/unityclient.go:79"
time="2024-04-23T02:28:15Z" level=error arrayid=de414234264011 runid=48 msg="Unity authentication failed for array de414234264011 error: authenticate error. Response: ParseJSONError: invalid character '<' looking for beginning of value" func="github.com/dell/csi-unity/service.singleArrayProbe()" file="/go/src/csi-unity/service/service.go:792"
time="2024-04-23T02:28:15Z" level=error  runid=48 msg="Probe failed for array ArrayID: xxxxxxxxx, Username: admin, Endpoint: https:x.x.x.x, SkipCertificateValidation: 0xc0000132aa, IsDefaultArray:false, IsProbeSuccess:false, IsHostAdded:false error:rpc error: code = FailedPrecondition desc =  runid=48 Unable to login to Unity. Verify hostname/IP Address of unity. Error: authenticate error. Response: ParseJSONError: invalid character '<' looking for beginning of value" func="github.com/dell/csi-unity/service.(*service).probe()" file="/go/src/csi-unity/service/service.go:825"

Screenshots

No response

Additional Environment Information

Unity array is NAT enabled

Steps to Reproduce

Install driver in NAT enabled. Driver pods will run into CrashLoopBackOff.

Expected Behavior

Driver pods should be running fine.

CSM Driver(s)

CSI-Unity

Installation Type

No response

Container Storage Modules Enabled

No response

Container Orchestrator

Anthos on berametal with K8S version v1.27.7-gke.1400

Operating System

RHEL

@suryagupta4 suryagupta4 added needs-triage Issue requires triage. type/bug Something isn't working. This is the default label associated with a bug issue. labels May 2, 2024
@suryagupta4 suryagupta4 self-assigned this May 2, 2024
@suryagupta4 suryagupta4 added this to the v1.11.0 milestone May 2, 2024
@suryagupta4 suryagupta4 added area/csi-unity Issue pertains to the CSI Driver for Dell EMC Unity area/csm-docs Issue pertains to the CSM Documentation and removed needs-triage Issue requires triage. labels May 2, 2024
@suryagupta4
Copy link
Author

Unity does not support NAT for management IP, only supports NFS IP. Documentation needs to be updated with proper support information.
https://dell.github.io/csm-docs/docs/csidriver/features/unity/#nat-support

@suryagupta4
Copy link
Author

link: 24053

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 area/csm-docs Issue pertains to the CSM Documentation 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

2 participants