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

find_pool in vsphere_helper.rb has subtle errors #210

Closed
glennsarti opened this issue Mar 17, 2017 · 1 comment
Closed

find_pool in vsphere_helper.rb has subtle errors #210

glennsarti opened this issue Mar 17, 2017 · 1 comment
Assignees

Comments

@glennsarti
Copy link
Contributor

The logic used to traverse the tree uses the object names for traversal, however if two objects have same name e.g. a Folder and a Resource Pool, and are in a particular order find_pool will throw errors.

This is similar to issue #204 .

Perhaps the find_pool code should be using a PropertyCollector to get vCenter to do an inventory search instead.

e.g. http://pubs.vmware.com/vsphere-60/index.jsp?topic=%2Fcom.vmware.wssdk.pg.doc%2FPG_PropertyCollector.7.1.html

@mattkirby
Copy link
Contributor

Find_pool is no longer used. I will submit a PR to remove this.

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