I'm running into odd issue when using vCO(4.2) with vCloud Director Plugin (1.5).
Whenever I'm using the vCloud Plugin I can see all of the vApps(In inventory) but I can't see the VM's inside (it's random, some of the vApps are empty and in some I can see VM's).
When using the object (vCloud:vApp) I get this message: "DynamicWrapper (Instance) : [VclVM]-(class com.vmwre.vmo.plugin.vcloud.model.VM] --VLUE: com.vmwre.vmo.plugin,vcloud.model.Vapp@a2db72f3"
I'm having problems troubleshooting this issue, is it a known issue?
If not where can I find log \ other methods for troubleshooting this issue.
Have you connected the vCD to vCO using the System organization? If not please do it and then see if it works.
Thanks for the quick response Abhilash,
I'm connected to vCD using System org,
Any other ideas?
Could the cache in VCO be out of date?
Like the vCenter plugin, the Cloud Director plugin has a cache but it does not automatically update the cache like the vCenter plugin.
If the VMs were added to the vApp outside of VCO, you would not see them in VCO until after you run the updateInternalState() method on the vApp in VCO.
Welcome to the communities.
Did you tried to repairer add-on tool?
I'm not familiar with this
tool, can you please give me some more details about this tool?
Thanks for the reply,
I'm using updateInternalState() in my workflow, it seems to have no effect
regarding the plugin behavior.
It seems that the first time when using any object from vCD the object
Similar concern... In my case, the method:
DynamicWrapper (Instance) : [VcHostDateTimeSystemTimeZone]-[class com.vmware.vim.vi4.HostDateTimeSystemTimeZone] -- VALUE : com.vmware.vim.vi4.HostDateTimeSystemTimeZone@3dc8d
I'd expected an array as indicated in the API doc.
Is this result a reference that I need to further parse/evaluate?
Thoughts, ideas, help?
I think you are talking about the vCenter API?
The log shows that you are acutally getting back an array of VcHostDateTimeSystemTimeZone elements (what a long class name :-), marked with the square bracket [ ] around the class name.
It just does not mention the word array anywhere.
So you should be able to loop through the result, and get the attributes you want for each object.