Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

legacy network interface /VNI bug #919

Open
surajsbharadwaj opened this issue Nov 19, 2024 · 1 comment
Open

legacy network interface /VNI bug #919

surajsbharadwaj opened this issue Nov 19, 2024 · 1 comment
Assignees
Labels
bug 🐞 Something isn't working internal-synced

Comments

@surajsbharadwaj
Copy link
Contributor

surajsbharadwaj commented Nov 19, 2024

When upgrading from a previous version, VSIs may be destroyed and recreated. To prevent re-creation or to use the legacy network interface, set var.use_legacy_network_interface to true

But why does it error out for new deployments?

Our pipeline failed during terraform plan:
https://github.com/terraform-ibm-modules/terraform-ibm-powervs-infrastructure/actions/runs/11891563625/job/33132802142#step:6:659
https://github.com/terraform-ibm-modules/terraform-ibm-powervs-infrastructure/actions/runs/11891563625/job/33132802142#step:6:2380

Preset used: https://github.com/terraform-ibm-modules/terraform-ibm-powervs-infrastructure/blob/main/modules/powervs-vpc-landing-zone/presets/slz-preset.json.tftpl

Module used:

module "landing_zone" {
  source    = "terraform-ibm-modules/landing-zone/ibm//patterns//vsi//module"
  version   = "6.2.2"
  providers = { ibm = ibm.ibm-is }

  ssh_public_key       = var.ssh_public_key
  region               = lookup(local.ibm_powervs_zone_cloud_region_map, var.powervs_zone, null)
  prefix               = var.prefix
  override_json_string = local.override_json_string
}

Affected modules

Terraform CLI and Terraform provider versions

  • Terraform version:
  • Provider version:

Terraform output

Debug output

Expected behavior

Actual behavior

Steps to reproduce (including links and screen captures)

  1. Run terraform apply

Anything else


By submitting this issue, you agree to follow our Code of Conduct

@surajsbharadwaj surajsbharadwaj added the bug 🐞 Something isn't working label Nov 19, 2024
@surajsbharadwaj surajsbharadwaj changed the title legacy network interface bug legacy network interface /VNI bug Nov 19, 2024
@ocofaigh ocofaigh assigned Aashiq-J and unassigned toddgiguere Nov 22, 2024
@Aashiq-J
Copy link
Member

Fix added in this PR: #661

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working internal-synced
Projects
None yet
Development

No branches or pull requests

4 participants