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

Lack of Ha port in LoadBalancer #1996

Closed
EtienneDeneuve opened this issue Jun 8, 2018 · 7 comments
Closed

Lack of Ha port in LoadBalancer #1996

EtienneDeneuve opened this issue Jun 8, 2018 · 7 comments
Assignees
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization.

Comments

@EtienneDeneuve
Copy link

According to terraform azure rm provider the go SDK don’t support yet the new load balancer with HA Ports.
hashicorp/terraform-provider-azurerm#372

@jhendrixMSFT
Copy link
Member

@jhendrixMSFT
Copy link
Member

@seyadava do we have swagger for this yet?

@seyadava
Copy link

@anzaman I see you have committed some changes on Network specs. Can you weigh in on this? Or include people who can help?

@EtienneDeneuve
Copy link
Author

Hi Guys,

In terraform we have made it working using the following :

From our side, we have successfully deployed a Azure Load Balancer with HA Ports with the following configuration :

resource "azurerm_lb_rule" "lb_haports_rule" {
  backend_port = 0
  frontend_ip_configuration_name = "${azurerm_lb.private-lb-gateway.frontend_ip_configuration.0.name}"
  frontend_port = 0
  loadbalancer_id = "${azurerm_lb.private-lb-gateway.id}"
  name = "lb_haports_rule"
  protocol = "All"
  backend_address_pool_id = "${azurerm_lb_backend_address_pool.gateway_backend_pool.id}"
  probe_id = "${azurerm_lb_probe.lb_gateway_probe_fw.id}"
  resource_group_name          = "${var.resource_group_name}"
}

And it's working ! We simply add "All" in protocol.

Maybe there's nothing to code in go sdk.

@MikhailTryakhov
Copy link

As I can see in PS using protocols to "All" is expected scenario https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-configure-ha-ports

@jhendrixMSFT
Copy link
Member

Sounds like this has been resolved so closing, please reopen as required.

@ghost ghost removed the in progress label Jul 3, 2018
@asubmani
Copy link

asubmani commented Sep 8, 2018

Request that this be re-opened. This was never fixed, the workaround suggested by @EtienneDeneuve does not work any more (it never really used HA ports).
This should be fixed in the Azure Go SDK so that the provider maintainers can implement the fix for
hashicorp/terraform-provider-azurerm#372

@RickWinter RickWinter added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Jul 12, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization.
Projects
None yet
Development

No branches or pull requests

8 participants