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

rbvmomi2 version 3.4.0 is missing cluster.summaryEx object #18

Closed
sushilrai opened this issue Sep 29, 2022 · 5 comments · Fixed by #19
Closed

rbvmomi2 version 3.4.0 is missing cluster.summaryEx object #18

sushilrai opened this issue Sep 29, 2022 · 5 comments · Fixed by #19
Assignees

Comments

@sushilrai
Copy link

Tried rbvmomi2 version 3.4.0 and still the cluster object is missing summaryEx object.
Need to get / set vCLS placement property which is part of summaryEx.

summary ComputeResourceSummary [summary](https://aer1-cvcsa80.asm.delllabs.net/mob/?moid=domain-c1033&doPath=summary) **summaryEx ClusterComputeResourceSummary** [summaryEx](https://aer1-cvcsa80.asm.delllabs.net/mob/?moid=domain-c1033&doPath=summaryEx)
@Fryguy
Copy link
Member

Fryguy commented Sep 29, 2022

@agrare

@agrare
Copy link
Member

agrare commented Sep 29, 2022

Discussion from gitter 👉 September 29, 2022 10:53 AM

Hey @sushilrai that is a weird one, I pulled the latest WSDL VMware vSphere Management SDK 7.0U3f
and there is no properly summaryEx in the wsdl files, it exists only in the docs to say it is deprecated yet it was added in vSphere API 7.0.1.1
the recommendation is to use computeResource.summary instead of cluserComputeResource.summaryEx per the documentation

Deprecated. Do not use this property. The cluster summary. The same information could be obtained via Summary

@sushilrai
Copy link
Author

tried python version to pull the information of the vCLS datastore using below snippet
if hasattr(cluster.configurationEx, 'systemVMsConfig'): vCLS_config = cluster.configurationEx.systemVMsConfig else: # return False, self.allowedDatastores_names, None return False, [], None changed = False

@agrare
Copy link
Member

agrare commented Sep 29, 2022

This was surprising to me because I tested this property for you specifically in #16

What I found was after updating the vmodl.db with the sms.wsdl for the vSphere SMS endpoint, it cleared the properties which were added.

@agrare
Copy link
Member

agrare commented Sep 29, 2022

This has been fixed in v3.4.1

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

Successfully merging a pull request may close this issue.

3 participants