We've started using Ansible to automate some VM builds within some of our 
environments.  For one of our builds, we have a VM which has about 20 
disks.  When using vmware_guest, if we add all 20 disks, the task bombs 
with:

fatal: [127.0.0.1]: FAILED! => {"changed": true, "failed": true, "msg": "A 
specified parameter was not correct: unitNumber"}

If we comment out 5 of the disks (VM would have 15), the task will succeed. 
 

This leads me to believe that the vmware_guest module will not 
automatically add another scsi controller (1:0) and start adding disks to 
that once the limit for the first controller has been reached.

We've also tried using vsphere_guest, with something like:

    vm_extra_config:
      scsi1.present: true
      scsi1.sharedBus: none
      scsi1.virtualDev: pvscsi

To try and add that second device to the VMX file.  The VM builds, but it 
doesn't have the extra controller.

Has anyone come across this before?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/b07f6896-ffce-4e3e-a576-41bd5ab9b958%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to