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]: Powerscale csi driver while connecting smarconnect zone name first letter is getting truncated. #617

Closed
anurajpd opened this issue Jan 18, 2023 · 6 comments
Assignees
Labels
area/csi-powerscale Issue pertains to the CSI Driver for Dell EMC PowerScale type/bug Something isn't working. This is the default label associated with a bug issue.
Milestone

Comments

@anurajpd
Copy link

Bug Description

The smartconnect zone name of my cluster is powerscale1.vdi.xtremio and the csi driver failed to connect to the array. CSI controller logs shows it's trying to connect to owerscale1.vdi.xtremio, the first letter is getting truncated. This issue happens only if the name starts with 'p'. CSI driver got successfully connected after the smartconnect name is changed to isilon1.vdi.xtremio.

Powerscale Version: 9.4.0.0

Logs

======= controller pod logs ==========
[DEBUG] opts.Insecure : 'true'
[DEBUG]
-------------------------- GOISILON HTTP REQUEST -------------------------
POST /session/1/session/ HTTP/1.1
Host: owerscale1.vdi.xtremio:8080
Content-Type: application/json

{"services":["platform","namespace"],"username":"admin","password":"****"}

[DEBUG]
-------------------------- GOISILON HTTP REQUEST -------------------------
GET /platform/latest/ HTTP/1.1
Host: owerscale1.vdi.xtremio:8080

[ERROR] Error is not a type of "JSONError". Error:%!(EXTRA url.Error=Get "https://owerscale1.vdi.xtremio:8080/platform/latest/": dial tcp: lookup owerscale1.vdi.xtremio on 10.96.0.10:53: no such host)
time="2023-01-18T09:27:33Z" level=error msg="init client failed for isilon cluster 'powerscale1': 'Get "https://owerscale1.vdi.xtremio:8080/platform/latest/": dial tcp: lookup owerscale1.vdi.xtremio on 10.96.0.10:53: no such host'" file="/go/src/service/service.go:455"
time="2023-01-18T09:27:33Z" level=error msg="failed to get isi client for cluster powerscale1, error: Get "https://owerscale1.vdi.xtremio:8080/platform/latest/": dial tcp: lookup owerscale1.vdi.xtremio on 10.96.0.10:53: no such host" file="/go/src/service/service.go:732"
time="2023-01-18T09:27:33Z" level=info msg="new config details set for cluster powerscale1" ClusterName=powerscale1 Endpoint=owerscale1.vdi.xtremio EndpointPort=8080 IgnoreUnresolvableHosts=false IsDefault=true IsiPath=/ifs/powerscale1/csi/k8s01 IsiVolumePathPermissions=0777 Password="
*****" SkipCertificateValidation=true Username=admin
time="2023-01-18T09:27:33Z" level=debug msg="New isilon configs:" file="/go/src/service/service.go:637"
time="2023-01-18T09:27:33Z" level=debug msg="ClusterName: powerscale1, Endpoint: owerscale1.vdi.xtremio, EndpointPort: 8080, EndpointURL: https://owerscale1.vdi.xtremio:8080, User: admin, SkipCertificateValidation: true, IsiPath: /ifs/powerscale1/csi/k8s01, IsiVolumePathPermissions: 0777, IsDefault: true, IgnoreUnresolvableHosts: false, isiSvc: " file="/go/src/service/service.go:781"

======= isilon creds secret ==========

isilonClusters:

Screenshots

No response

Additional Environment Information

No response

Steps to Reproduce

Install k8s cluster with kubeadm
install olm on the cluster
install dell csi operator
Install powerscale csi driver
configure the powerscale csi driver endpoint - powerscale1.vdi.xtremio

Expected Behavior

csi driver to successfully connect to the endpoint powerscale1.vdi.xtremio

CSM Driver(s)

CSI Driver for Powerscale v2.5 (csi-isilon:v2.5.0)

Installation Type

Dell CSI Operator v1.10.0

Container Storage Modules Enabled

No response

Container Orchestrator

Kubernetes 1.25.5

Operating System

RHEL 8.7

@anurajpd anurajpd added needs-triage Issue requires triage. type/bug Something isn't working. This is the default label associated with a bug issue. labels Jan 18, 2023
@csmbot
Copy link
Collaborator

csmbot commented Jan 18, 2023

@anurajpd: Thank you for submitting this issue!

The issue is currently awaiting triage. Please make sure you have given us as much context as possible.

If the maintainers determine this is a relevant issue, they will remove the needs-triage label and assign an appropriate priority label.


We want your feedback! If you have any questions or suggestions regarding our contributing process/workflow, please reach out to us at karavi@dell.com.

@prablr79 prablr79 added the area/csi-powerscale Issue pertains to the CSI Driver for Dell EMC PowerScale label Jan 18, 2023
@coulof
Copy link
Collaborator

coulof commented Jan 18, 2023

@anurajpd, can you share the first lines of the start of the container ?

Also, what happens if you put endpoint: powerscale1.vdi.xtremio (i.e. remove scheme) ?

Thx.

@anurajpd
Copy link
Author

after removing the schema its picking up the proper name, please see the below logs

-------------------------- GOISILON HTTP REQUEST -------------------------
GET /platform/latest/ HTTP/1.1
Host: powerscale1.vdi.xtremio:8080

But, as per the document configuring endpoint with the https schema is also valid and in that case also only if it starts with 'p' is the problem.

@coulof
Copy link
Collaborator

coulof commented Jan 18, 2023

The doc might be wrong or apply to CSM Authorization only @nitesh3108 to confirm/infirm/fix ;-)

@nitesh3108 nitesh3108 added this to the v1.6.0 milestone Jan 18, 2023
@nitesh3108 nitesh3108 removed the needs-triage Issue requires triage. label Jan 18, 2023
@nitesh3108
Copy link
Collaborator

Thanks @anurajpd for pointing the issue. Small tinkering work is done and PR is up to handle this. Documentation is right no changes there.

@nitesh3108
Copy link
Collaborator

@anurajpd PR is merged, you may test the same using latest nightly build.
"dellemc/csi-isilon:nightly"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/csi-powerscale Issue pertains to the CSI Driver for Dell EMC PowerScale type/bug Something isn't working. This is the default label associated with a bug issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants