Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Find VM by uuid should be fixed when trying to find VM by vc uuid #1704

Closed
pshahzeb opened this issue Aug 6, 2017 · 0 comments
Closed

Find VM by uuid should be fixed when trying to find VM by vc uuid #1704

pshahzeb opened this issue Aug 6, 2017 · 0 comments

Comments

@pshahzeb
Copy link
Contributor

pshahzeb commented Aug 6, 2017

findVmByUuid does si.content.searchIndex.FindByUuid and always passes 4th arg as False.
This should be true when vc uuid is used (by the caller of this function) and false when bios uuid is used.

See usage of FindByUuid on this page - https://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.SearchIndex.html

Two parts to fix this:

  1. when this util is invoked as part of attach/detach work flow
  2. when this util is used as part of tenancy (db ops). While fixing this, backward compatibility shouldn't be broken.
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

2 participants