-
Notifications
You must be signed in to change notification settings - Fork 5
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
LUN Assignment Conflict on Dell ME5024 with Seagate Exos-X CSI Driver Leading to PersistentVolume Failures #113
Comments
Hello, thanks for the detailed bug report and logs. Sorry to hear this isn't working as expected. The ControllerPublishVolume routine attempts to find existing LUNs for the current initiators being mapped and then selects the next highest unused LUN number. I suspect the issue you are seeing is that LUN selection isn't functioning correctly when initiators have been configured with nicknames and/or host groups. Can you confirm that your array has initiator nicknames or hosts defined? This can be viewed with 'show initiators' in the array CLI, or in the Hosts section of the web interface. I will be looking into a bug fix. If you do see nicknames/hosts defined, a potential workaround in the interim would be to delete any initiator nicknames/hosts defined on your array and see if LUN selection works properly with them removed. Thanks, |
I do not use nicknames or host groups and I'm getting this error. By the way this is working great outside of this issue.
I'm attempting to map two PVCs that are block devices on a single VM one maps properly the other one does not. VM Pod logs
Controller logs
|
I'm experiencing the same issue. If I manually add host inside a storage interface (DELL ME5012), driver cannot assign right LUN. Always trying to assign LUN 1. |
Exact same issue on HPE MSA 2060 with latest firmware. |
Just confirmed indeed if you remove all of the hosts and host groups and let the csi driver handle the hosts initiator mapping this works fine. This apparently needs to be modified to check for in use lun numbers that are in use by static hosts initiator mappings. I'm fine with the work around. |
Describe the bug
When deploying PVCs using the Seagate Exos-X CSI driver on Dell ME5024 storage, the CSI driver repeatedly assigns the same LUN (LUN 1) to each PersistentVolume (PV) on different Kubernetes nodes. This results in the failure of subsequent deployments if another PVC already uses LUN 1 on the same node. The issue seems to occur when the driver does not increment or manage LUN assignments properly, leading to LUN conflicts.
To Reproduce
Steps to reproduce the behavior:
Here is my stoage-class.yml
Here is a sample of pvc file
Expected behavior
The Seagate CSI driver should assign unique LUNs for each PVC deployment to avoid conflicts, even across multiple nodes.
Screenshots
N/A (logs provided instead)
Storage System (please complete the following information):
Environment:
Additional context
Log output from the third deployment that fails:
The first two PVCs are successfully assigned LUN 1 on different nodes, but any further deployments fail due to LUN conflicts on the same node. The expectation is that the driver should handle LUN management dynamically to avoid these conflicts.
Here is log out from seagate-exos-x-csi-controller controller pod, seagate-exos-x-csi-controller-server-xxx pod
The text was updated successfully, but these errors were encountered: