This repository was archived by the owner on Mar 6, 2024. It is now read-only.
This repository was archived by the owner on Mar 6, 2024. It is now read-only.
Reset MAC address #202
Open
Description
Hi,
When instantiating a vapp from a template, the MAC address for NIC is not reset.
- name: instantiate vapp
vcd_vapp:
vapp_name: test_vapp_3
template_name: "{{template_name}}"
catalog_name: "{{cat_name}}"
vdc: "{{vdc_name}}"
power_on: true
storage_profile: Standard
state: present
register: output
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