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

Missing documentation on TridentBackendConfig #19

Open
makkes opened this issue Dec 9, 2024 · 3 comments
Open

Missing documentation on TridentBackendConfig #19

makkes opened this issue Dec 9, 2024 · 3 comments

Comments

@makkes
Copy link

makkes commented Dec 9, 2024

From the README it is unclear to me what I can configure in a TridentBackendConfig CR. Some examples:

  • What can I use for .spec.storageDriverName?
  • What is the meaning of .spec.backendName, .spec.networkInterfaces?
  • How do I provide credentials? There's .spec.credentials but there's no explanation of the expected format or what that name refers to (I suppose a Secret?).
  • What do the values in .spec.storage.* mean? Do they set the behaviour of the storage provisioner? Are they just informational?
  • ...
@Shanna-chen
Copy link
Collaborator

Hi @makkes

Thank you for your questions and feedback regarding the TridentBackendConfig CR. I have updated the README and sample files to provide more clarity.

I recommend reviewing the updated README and sample files to see if they address your concerns. Please feel free to reach out if you have any further questions or require additional clarification.

@makkes
Copy link
Author

makkes commented Jan 3, 2025

Great work, @Shanna-chen. I've been trying to get it working with the updated README all day today but I'm stuck at the controller not being able to login to the QNAP device:

0s (x9 over 4m2s)      Warning   Failed   TridentBackendConfig/XXX   Failed to create backend: problem initializing storage driver 'qnap-iscsi': rpc error: code = Unknown desc = login failed; please check if storage is online

It sounds similar to what's described in #15 but I'm 100% certain I put the correct credentials into the Secret. I verified them by logging into the Web UI with these exact credentials.

This is not directly related to the README but I believe the README is missing a vital part, i.e. explaining what is necessary to be done on the QNAP device prior to being able to use the driver. Do I have to create an iSCSI target first or does the driver do that for me? Does it create a new target for each PV?

@makkes
Copy link
Author

makkes commented Jan 3, 2025

I was able to figure it out and the reason is that the driver is trying to connect to port 8080 which isn't opened on my QNAP, only 443 is. This leads to two subsequent problems that I created tickets for: #20, #21.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants