Hi,
I have a strange problem when trying to bulk create several VMs using a modified version of vmcreate.pl:
(per VM: 2 x VMXNET3 adapter_types, different network connected to them)
Creating the first VM succeeds, the second fails with error message "SoapFault -> NoPermission".
When deleting the first VM, I can create the second... but again only one single VM, the other still fails.
What I have found out is that one can find a strange configuration (seems to be a missing mapping),
but only when examining the VM in Windows vSphere client - the web client does not show anything wrong.
When in vSphere client and opening the VM configuration window for networking, the correct networks
are bound to the correct NICs, but the pull-down selection field in the right side of the window is still blank.
This is _impossible_ to achive using the vSphere client itself, because the network is selected using
this field which is blank now...
When reconfiguring both networks using the initially blank pull-down selection field for the first VM
(in vSphere Windows-Client), then I can create the second one, and so on.
The network selection Perl code (get_network) is the same as in the official vmcreate.pl example.
(only using VirtualVmxnet3->new() for the different network adapter types)
I am using the vSphere SDK for Perl 5.1.0-780721 library and VMware vCenter 5.1 U1.
Any idea what I am missing? Or is there an updated version or any bugfix available?
Currently I feel a bit lost, because I have no clue where to search further.