Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Reset MAC address #202

Open
hdunavskis opened this issue Dec 22, 2021 · 0 comments
Open

Reset MAC address #202

hdunavskis opened this issue Dec 22, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@hdunavskis
Copy link

hdunavskis commented Dec 22, 2021

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

@hdunavskis hdunavskis added the bug Something isn't working label Dec 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant