vmware-archive / ansible-module-vcloud-director

ansible-module-vcloud-director
Other
112 stars 85 forks source link

Reset MAC address #202

Open hdunavskis opened 2 years ago

hdunavskis commented 2 years ago

Hi,

When instantiating a vapp from a template, the MAC address for NIC is not reset.

If Im creating multiple vapps from the same template then Im getting an error - “Unable to perform this action. Contact your cloud administrator”. The second vapp, vm(s) and nics are created but not powered on. The code is not resetting the MAC address of NICs nor there is an option to reset the MAC address as part of vapp instantiation process.

VCD Version: 10.3 API: 36.0 Ansible version: 2.9.16 Python version: 3.6.9

Reproduction steps

1. Instantiate a vapp from a template with at least one vm and one NIC with the power_on: true option
2. Try to instantiate a new vapp from the same template with the power_on: true option

Expected behavior

Expected behavior would be - the MAC address of NICs would be reset as part of instantiate vapp process.

Additional context

No response