Quantcast
Channel: VMware Communities : Discussion List - vCenter™ Server
Viewing all articles
Browse latest Browse all 6649

findByUUID does not seem to be working

$
0
0

Hi All,

 

I am using VMWare SDK 5.0 Java APIs with VCenter Server 5.0.0.

 

The findByUUID documentation says "Finds a virtual machine or host by BIOS or instance UUID.".

But in my case it does not seem to be able to find the Host.

 

service.findByUuid(serviceContent.getSearchIndex(), null, hostuuid, false, null);

 

This always returns null.

 

I tried with uppercase/lowercase for the UUID, but that did not work either.

I also tried passing the instanceUUID field as false, which also did not work.

 

When I tried a findByUuid through MOB, it gives me the following message

Method Invocation Result: InvalidType

NAMETYPEVALUE
argumentstring"vim.ManagedEntity"
dynamicPropertyDynamicProperty[]Unset
dynamicTypestringUnset
faultCauseMethodFaultUnset
faultMessageLocalizableMessage[]Unset

 

 

Any help to get to the root cause of this issue would be much appreciated.

 

Thanks in Advance,

 

Regards,

Prashant


Viewing all articles
Browse latest Browse all 6649

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>