-
Notifications
You must be signed in to change notification settings - Fork 338
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
vmware_cluster_vsan - add support for advanced parameters #260
Comments
I'd like to work on this but don't have much time at the moment. For the record: I think
We've been running VSAN clusters for years and never had to change these settings at all. I don't know your use cases, maybe these parameters are really important to you... but I think most people never touch them. As an ops guy, I especially would question the design decision to build VSAN clustern with > 32 hosts... that's a fairly big failure domain ;-) Anyway, I'll try to find some time work on this. |
In my use case i only had to tweak I stumbled across the problem that the Great to hear that someone wants to work on it though :-) |
Yes, I can imagine use cases where you want to tweak
Well... yes... wants to... I really do, it's just a question of finding the time. At the end of the day, I use these modules and fix bugs or implement features that affect us. Everything else, I do in my spare time... but I'll try. After all, sooner or later we might want to tweak these settings, too ;-) |
Bad news: It looks like pyVmomi doesn't know about these advanced VSAN options at all, you really need to install the vSAN Management SDK for Python first. (edit: But you've stumbled across this already) I have a really bad feeling introducing this as a dependency... @Akasurde @goneri Or do you think differently? Btw: Feel free to kick VMware for not providing this SDK in an easily consumable way ;-) Maybe I could implement this with the vSphere Automation SDK for Python but I'm still waiting for it to be published on PyPI (vmware/vsphere-automation-sdk-python#38). |
Hi @lupa95 and @mariolenz,
So, I would say, I'm ok to merge to patch BUT we must the extra dependency must be mentioned in the documentation, and if someone try to run the module without the dependency, the error message should be as clear as possible. |
Didn't know this, but that means I'm not introducing a new dependency. OK, then I'll give it a try.
To the best of my knowledge the situation hasn't changed... unfortunately :-( |
Hi,
Regards, |
Isn't auto-claiming deprecated? I'm sure I've read something about it...
This might be a bit too much for a single PR, but I can't tell at the moment. I'm still trying to understand the vSAN Management SDK for Python and it kind of keeps fighting back... but since this afternoon, it looks like I'm winning :-)=) I'll have a look at it and will let you know whether I think it's a good idea to implement this in one go or not. |
Yes you are right, but there must we another way to do this because the vmware webclient allow to do this more or less automatically. Maybe this doc helps: https://vdc-download.vmware.com/vmwb-repository/dcr-public/424d010b-c80e-40de-b1a3-25f6e9861e6a/3b934f51-98b6-4ea1-9336-b1bac1f23403/vsan-sdk-67.pdf "Claiming and Managing Disks"
Thanks and regards, |
The module has a parameter
I'd prefer another issue / PR for this. VsanVcClusterConfigSystem doesn't know about stretched clusters, only about the "normal" VSAN stuff. Stretched cluster configuration is done through completely different API calls. I think it would be too much change in a single PR to implement this as well... but feel free to open an issue for this so we don't forget about it. |
Hi mariolenz, as you has written auto claim is deprecated and doesn't work anymore. I will open a new pr for this. Thanks and regards, |
SUMMARY
While configuring vsan clusters, setting the advanced parameters for the vsan service (Object repair timer, Thin Swap, Large Cluster Support etc.) should be possible.
ISSUE TYPE
COMPONENT NAME
vmware_cluster_vsan
ADDITIONAL INFORMATION
These parameters often need to be tweaked while configuring vsan clusters.
The text was updated successfully, but these errors were encountered: