Skip to content

Cycle with IPAM profile and usable_networks #585

Description

@vitality411

Describe the bug

I am trying to create a NSX-T cloud in AVI with IPAM profile and usable_networks restricted to VIP network. Unfortunatly this leads to the following error:
│ Error: Cycle: avi_vrfcontext.dataVrf, avi_network.network-vip, avi_ipamdnsproviderprofile.ipam, avi_cloud.nsx

Reproduction steps

  1. Create avi_cloud with the required resources
  2. Create avi_ipamdnsproviderprofile with usable_networks restricted to VIP network
resource "avi_ipamdnsproviderprofile" "ipam" {
  name = "${var.cloudName}-ipam"
  type = "IPAMDNS_TYPE_INTERNAL"

  internal_profile {
    usable_networks {
      nw_ref = avi_network.network-vip.id
    }
  }

  allocate_ip_in_vrf = true
  tenant_ref         = avi_tenant.tenant.id
}
  1. Receive error:
    │ Error: Cycle: avi_vrfcontext.dataVrf, avi_network.network-vip, avi_ipamdnsproviderprofile.ipam, avi_cloud.nsx

Expected behavior

It is possible to create a NSX-T cloud in AVI with IPAM profile and usable_networks restricted to VIP network.

Additional context

AVI Controller Version: 22.1.5
NSX-T Version: 4.1.2.3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions