Closed lpalovsky closed 2 years ago
@lpalovsky since https://github.com/SUSE/ha-sap-terraform-deployments/pull/793 drbd_cluster_vip_mechanism
and netweaver_cluster_vip_mechanism
are set to load-balancer
by default.
This means that virtual IPs now have to be on the same subnet or you need to switch back to route
again.
Details can also be found in terraform.tfvars
.
e.g.
#netweaver_ips = ["10.0.0.30", "10.0.0.31", "10.0.0.32", "10.0.0.33"]
# If "netweaver_cluster_vip_mechanism" is "load-balancer", the ASCS/ERS IP addresses must belong to the same subnet as the netweaver machines
#netweaver_virtual_ips = ["10.0.0.34", "10.0.0.35", "10.0.1.36", "10.0.1.37"]
# If "netweaver_cluster_vip_mechanism" is "route", the ALL netweaver IP addresses must NOT belong to the same subnet as the netweaver machines
#netweaver_virtual_ips = ["10.0.1.34", "10.0.1.35", "10.0.0.36", "10.0.0.37"]
Does it work if change the IPs or the mechanism?
@lpalovsky We can reopen this if my suggestion does not fix it for you.
Used cloud platform GCP
Used SLES4SAP version SLE15SP4
Used client machine OS MicroOS - Opensuse Tumbleweed based
Expected behaviour vs observed behaviour Terraform plan always fails with 'Invalid index' error on GCP provider. Did not try other providers yet. Terraform version: v1.1.3 ha-sap-terraform-deployments tag: 7.2.1
How to reproduce
terraform.tfvars
file based onterraform.tfvars.example
Used terraform.tfvars
Logs