Quantcast
Channel: VMware Communities: Message List - VMware vCloud Director
Viewing all articles
Browse latest Browse all 7719

Re: No VM Vim Reference

$
0
0

Yes, array contains the VM objects as when I print following

 

System.log("Vms passed in: " + vms.length);

System.log("vCloud VM: " + vms[i].name);

System.log(vms[i]);

var moref = vms[i].getVMVimRef().moRef;

 

It prints arrays actual length 2 and VM name. this scriptable task taking vm array as input from action “getVms FromVApp”

 

Log subtracts for reference

 

[2013-04-15 09:15:08.494] [I] Vms passed in: 2

[2013-04-15 09:15:08.498] [I] vCloud VM: test1

[2013-04-15 09:15:08.501] [I] DynamicWrapper (Instance) : [VclVM]-[class com.vmware.vmo.plugin.vcloud.model.VM] -- VALUE : com.vmware.vmo.plugin.vcloud.model.VM@c36c4a9a

[2013-04-15 09:15:09.112] [I] Vim Object Reference Not Found (Workflow:SetAffinityRule / Change vCloud:VM(s) to VC:VM(s) (item4)#7)

 

 

In my environment

vCenter Orchestrator's vCloud Director plug-in version is 5.1.538

 

-AVR


Viewing all articles
Browse latest Browse all 7719

Trending Articles



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