-
Notifications
You must be signed in to change notification settings - Fork 12
HPE MSA 2060 #98
Comments
Hi @vankosa. Thank you for your feedback, we lack users on this project so we are quite happy to hear from you ! We are willing to adjust what would be missing for a 2060. However, we would need a temporary access in order to make sure that everything works as it should. We are open to discussion on this matter. You list a bunch of points, @paullaffitte could you have a look if you have time ? I am personally curious about :
@paullaffitte do not hesitate to correct me if I am wrong 😄 Cheers |
Thanks for the answer! About LUN: LOG san-iscsi-csi-controller
About the file system: LOG san-iscsi-csi-node
|
Hi @vankosa, First, thanks for your valuable feedback, it's very much appreciated. I will try to answer your points one after the other.
|
|
node:
extraArgs:
- --v=9 # We don't really have 9 levels of verbosity, I just want to be sure we get all available logs. PS: Actually it would be useful for the second point to also increase verbosity on the controller. |
All my changes to dothill-api-go are documented in enix/dothill-api-go#12. Strange, but now the output is different, not related to the file system. https://pastebin.com/ZbGrZSbH - node |
From what I understand, I think the issue in LUN allocation comes from the For the node issue, as you said it's not the same error message than the first time. To handle this one, please refer to the "multipath is inconsistent: devices WWIDs differ" part of our troubleshooting section. But I would be glad to know if you get the original error again with some more details. |
There I only changed https://github.com/enix/san-iscsi-csi/blob/main/pkg/controller/publisher.go#L43 I cleared all the changes, followed the recommendations and again got the log that I needed |
I could be wrong, but I suspect you're storageclass to be missing the property san-iscsi-csi/pkg/node/node.go Lines 446 to 457 in e5d2cfb
If the property in the storageclass is not set, the target filesystem will be "" , which is the same as no filesystem. Thus, the device will never be formatted, leading to "filesystem corruption" error, since there is actually no healthy filesystem present on the device.If your storage class has the property parameters.fsType , I would like to be sure that its value is correctly brought until this point, so you could replace klog.V(1).Infof("Detected filesystem: %q", currentFsType) by klog.V(1).Infof("Detected filesystem: %q, current filesystem: %q", currentFsType, fsType) and check that the value in fsType is the same as parameters.fsType in your storageclass.
|
Unfortunately, yes, there was a problem with the incorrect indication of this option. It means that it remains to deal with the LUN |
Thanks for your contribution, I created an issue to address this problem. I think the plugin should return an error when a required parameter is missing. About the LUN, I hear that you didn't changed the part of the source code that could be the origin of the problem, and since it involve the appliance API, I suspect an inconsistency between my version of the API and yours. Could you check that after a first LUN being allocated, the next call to san-iscsi-csi/pkg/controller/publisher.go Lines 143 to 146 in e5d2cfb
|
I got such a log I0921 15:50:12.393442 1 publisher.go:143] volumes: [] Could it be related to this function that I changed - https://github.com/vankosa/dothill-api-go/blob/master/endpoints.go#L91 |
Yes, it's most likely related. Sorry for the delay. |
Some people at Seagate are working on a fork of our library dothill-api-go. They are working actively on making it cross-compatible between their different models. I tried to replace our implementation with theirs and it's still working on our appliance. May you give it a try on your appliance too ? I pushed my changes on the branch |
I found a solution to the problem. I will try to explain what was done. https://github.com/vankosa/dothill-api-go/blob/master/endpoints.go#L91 is the function. Please note here that the value of the
https://github.com/vankosa/dothill-api-go/blob/master/endpoints.go#L107 The original code specifies |
I'm not sure to understand your point. In https://github.com/vankosa/dothill-api-go/blob/master/endpoints.go#L107, there is already |
I have - yes, but not here - https://github.com/enix/dothill-api-go/blob/master/endpoints.go#L102 |
Oh indeed, I didn't realized at first sight that your link pointed to your fork. I have to check that your changes are also compatible with our appliance before trying to merge it in this repository. In the same time, could you take a look at the branch I spoke about above ( |
I will definitely look, a little later, I will tell you about the results |
I tried your code on my appliance and it seems to be incompatible. Hoping that the Seagate version will work for you, so we can use it as it works on my appliance too. Just for the record, here are the logs I get when I try to publish a volume on my appliance with your modifications:
|
Checked out the branch https://github.com/enix/san-iscsi-csi/tree/feat/cross-compatibility, exactly the same problem with issuing LUN |
We have to discuss a bit more about this issue internally at Enix, I will come back to you in the next week. |
At the moment, we have to focus on other important stuff, like improving reliability for already supported systems. Once we're ready, we will try to make required changes in order to support your appliance too. |
Good day!
I am using HPE MSA 2060 disk storage which is claimed to be supported.
I took the HPE MSA 2060 API documentation here - https://www.intesiscon.com/ficheros/manuales-tecnicos/255-HPE-a00105313en-us-HPE-MSA-1060-2060-2062-CLI-Reference-Guide.pdf
Faced some problems while using this project.
1.https://github.com/enix/san-iscsi-csi/blob/main/pkg/controller/publisher.go#L43 does not match the HPE MSA 2060 API documentation. Here, instead of
host-maps
should bemaps
(347 documentation page)2. If you connect several PVs with one Helm deployment, then all volumes in the disk storage receive the same LUN number, which is unacceptable.
3. For some reason, the partition table and file system are not created in the slave PV.
4.enix/dothill-api-go#12
Applications used:
PS: If you need additional information - indicate what you need to provide
The text was updated successfully, but these errors were encountered: