-
Notifications
You must be signed in to change notification settings - Fork 17
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]: the nasName
parameter in the powerflex secret is now mandatory
#1101
Comments
link:20340 |
Hi @coulof , I believe array configured in the secret.yaml are >=v4.0 and as per the code I can see that this is how it was designed from day 1, to decide and add the required nfs topology on csi-node for the array that support NFS i.e. >=4.0. If nasName will not be present then do you want us to add nfs topology or not? Currently we will add the topology on the basis of nasName: https://github.com/dell/csi-powerflex/blob/d50d49eb865444fbb2b639511f6dde1b1ab49ac2/service/node.go#L753 |
@coulof : Thoughts on above suggestion please |
@adarsh-dell, I don't want to change the topology logic. The request is to make The reasons are :
Please tell me if I'm wrong and if that parameter isn't mandatory. |
Hi @coulof , Let me work on this and get back to you ASAP with some data and conclusion. Thanks |
@coulof So customer was using 4.0 array with v2.7.0 of driver? |
Hello @coulof , We've updated the check logic, and you can find this in CSM 1.10. Closing this issue. Feel free to reopen if you have any further questions. Best regards, |
Docs need to be updated as it still states this is optional or required:false: |
Hi @mlitka-cs , Can you please explain that what is confusing here? ![]() |
Bug Description
Despite what is written here the
nasName
.The driver loops on the log below when that value is undefined and then crashes.
This impacts existing customers who upgraded from the previous version where we didn't have NAS support.
Logs
time="2024-01-15T14:43:16Z" level=info msg="Probing all arrays. Number of arrays: 1"
time="2024-01-15T14:43:16Z" level=info msg="default array is set to array ID: ca27126f4274560f"
time="2024-01-15T14:43:16Z" level=info msg="ca27126f4274560f is the default array, skipping VolumePrefixToSystems map update. \n"
time="2024-01-15T14:43:16Z" level=info msg="array ca27126f4274560f probed successfully"
time="2024-01-15T14:43:16Z" level=info msg="configured ca27126f4274560f" allSystemNames= endpoint="https://knl3013.krj.gie" isDefault=true nasName=0xc0007fa630 password="********" skipCertificateValidation=true systemID=ca27126f4274560f user=admin
time="2024-01-15T14:43:16Z" level=info msg="/csi.v1.Node/NodeGetInfo: REP 0002: nasName value not found in secret, it is mandatory parameter for NFS volume operations, if not specified, provide the default value as 'none'"
time="2024-01-15T14:43:17Z" level=info msg="/csi.v1.Identity/GetPluginInfo: REQ 0003: XXX_NoUnkeyedLiteral={}, XXX_sizecache=0"
time="2024-01-15T14:43:17Z" level=info msg="/csi.v1.Identity/GetPluginInfo: REP 0003: Name=csi-vxflexos.dellemc.com, VendorVersion=2.8.0+dirty, Manifest=map[commit:4a8a0ab90c4d56ca0ed00a8dd0aabdd7b526423c formed:Wed, 20 Sep 2023 06:15:43 UTC semver:2.8.0+dirty url:http://github.com/dell/csi-vxflexos], XXX_NoUnkeyedLiteral={}, XXX_sizecache=0"
time="2024-01-15T14:43:18Z" level=info msg="/csi.v1.Node/NodeGetInfo: REQ 0004: XXX_NoUnkeyedLiteral={}, XXX_sizecache=0"
Screenshots
No response
Additional Environment Information
No response
Steps to Reproduce
Install the driver and don't set a
nasName
(just like the second example from the sample secret).Expected Behavior
If no value is set by the user in the secret, default to
none
without crashingCSM Driver(s)
CSI Driver for PowerFlex v2.8
Installation Type
CSM Operator 1.8
Container Storage Modules Enabled
No response
Container Orchestrator
OCP 4.13
Operating System
CoreOS
The text was updated successfully, but these errors were encountered: