-
Notifications
You must be signed in to change notification settings - Fork 121
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
Couldn't find any host available to create Volume #65
Comments
Unbelievable, I tried the same with my old ds216j and it works. The procedure was exactly the same, just created a new user with admin rights and entered it in the client_info.yml. The only difference is the file system. With the ds2176 I now used ext4 and no brtfs. But I had already tested this with ext4 on the DS918 without success. What else could be the reason? Any higher security settings? The firewall is disabled on both. And different are the existing manual created luns on the 918+. Could that be the problem? |
The system is screwing me over. After I changed the storage class back to the ds918+, it worked there too. The only difference now is that the client-info.yml contains 2 entries. The template also had 2 entries. Does this mean that it only works if there are 2 entries? Please not really... |
it's working for me with only 1 client configured. |
I am encountering the exact same issue. My user has admin rights and 2FA is disabled also. |
I am doing more tests... I believe I might have found the issue. But still trying to replicate the issue properly before sharing some more details.
EDIT: The password is not the issue. But also, it started working for both iscsi and samba, and I don't understand why... However, I restarted the synology-csi-contoller pod at some point and that might be it. Still investigating more. |
That surprises me very much. I have uninstalled and reinstalled the drivers several times. And so the pods were recreated too. Only after changing to another DS and back again did it work. But I can't explain why either. I'm very excited about your findings. |
Well... I am disappointed. It always work and I cannot reproduce the issue anymore. This is really strange. |
The synology NAS I have been working on is not mine. I can't do much more at this point. To help reproduce the issue, someone who owns a NAS and encountered the issue should probably try and factory-reset the NAS to see if it's possible to encounter the issue again. (Of course, if you don't have any data on it or you are okay with losing everything). I hope to get one sometimes next year, I could try to figure this out again if not resolved. |
Hi guys. So the The message should be changed to cover this case. I did not test different filesystems in this scenario, btw. |
I struggled with this today. I initially followed the instructions and copied the Then I noticed that the example
While the
I don't know if they are equivalent YAML but I got it going with using the first example from the README. When I tried to embed the information into the storageclass, it never did seem to work for me. |
I was just having the same problem, editing the client-info.yml to remove the two spaces on all the lines fixed the issue. |
[EDIT: This solved it for me!] As far as I can tell, it was MFA, and specifically "Adaptive MFA" being enabled for the administrators group. I certainly want this feature to be enabled, but it sounds like this may be a concession if you plan on using the Synology CSI. Once I made the change, I kicked the controller pod and it immediately provisioned the PVs: kubectl delete pod -n synology-csi synology-csi-controller-0 Original comment with context:I have been having the same intermittent problems with the error I had some success debugging the issue by running the tests against my Run
The CSI service account is admin, and I had success provisioning LUNs previously. I've read that 2FA can interfere with the auth flow, so my gut tells me the CSI service account is triggering 2FA. Maybe all of the fiddling and configuration is triggering the "Adaptive MFA" feature (Control Panel > Security > Account) for the administrator group users. It seems like unchecking this may be the only option, given that the CSI service account must be an admin. It's too bad the Synology security model doesn't have better support for scoped access to SAN Manager / LUN provisioning. If I can confirm my theory, I'll update this comment. |
I have been working on this same problem myself. I thought the way to configure iscsi with my DSM was to enable Global CHAP and set the username/password there to be the same as the one I put in the client-info.yml, but clearly that's not what everyone else is doing. I appreciate that the csi walkthrough explains how to install the driver into k8s, but it would be even better if the walkthrough tells you exactly how to configure the user and volume in the DSM itself. Here's what I discovered:
And once I did that, it started working. |
I am struggling make bring this all to work by myself. If you run
you only see the logs from the generic csi-provisioner. The Synology specific logs can be found here:
|
Good point for debugging. There are sometimes many containers in a single pod, so yeah, definitely a good idea. |
Adding another data point here. I only had the default Synology cert installed and tried using |
After spending many hours trying to solve the problem myself, I need help please...
I'm already using multiple LUNs (9 targets and 9 LUNs) on the DS918+ with my Kubernetes cluster, but by iscsi pv, not with the Synology CSI.
Versions:
client-info.yml
storageclass:
claim:
job:
Controller log:
What does 'couldn't find any host... " mean? Not find any DSM? Not find any node?
I read all the log files 1000 times... No more ideas to resolve the issue. Not to see the forest anymore... Please help ;-)
The text was updated successfully, but these errors were encountered: