pblaas/nagoya

Openstack Provider 1.14 LBAAS issues on deployment with OpenContrail 3.2 network.

pblaas opened this issue · 4 comments

When cloning the project and performing a terraform init you will fetch the latest openstack provider config. This currently seems to lead into issues.

After running the nagoya onliner change version in the provider config stanza in the k8s.tf before running the terraform init && terraform apply command.

provider "openstack" {
  user_name   = "username"
  tenant_name = "Your Tenant Name here"
  auth_url    = "https://identity.openstack.cloudvps.com:443/v3"
  version     = "<= 1.12.0"
}

Due to the regression issues you also need to change the soft-anti-affinity to anti-affinity because soft-anti-affinity is supported 1.13 and up.

resource "openstack_compute_servergroup_v2" "{{ clustername }}-sg" {
  name     = "{{ clustername }}-sg"
  policies = ["anti-affinity"]
}

A specific openstack provider version is now added to mitigate the LBAASv2 panics with the latest Terraform OpenStack provider configs. 1.13.0 already supports soft-anti-affinity.

c77ed8a

Should be fixed with referenced pull request in https://github.com/terraform-providers/terraform-provider-openstack/issues/687 when merged to openstack provider release.