-
Notifications
You must be signed in to change notification settings - Fork 3k
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
az network lb --frontend-ip-zone not working when multiple zones are included #30502
Comments
Thank you for opening this issue, we will look into it. |
please provide the whole error message, especially including the error code. |
updated the error message/code |
Is there any update on this issue? {"status":"Failed","error":{"code":"DeploymentFailed","target":"/subscriptions/d5176ebb-96da-4847-940f-dc9cd320f797/resourceGroups/lbtest/providers/Microsoft.Resources/deployments/lb_deploy_YGTe67RoPUMLiDa4Hy10DykkF1tf3HmK","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"SubscriptionDoesNotSupportZone","message":"Cannot create/move resource /subscriptions/d5176ebb-96da-4847-940f-dc9cd320f797/resourceGroups/lbtest/providers/Microsoft.Network/loadBalancers/testinglb/frontendIPConfigurations/frontend which uses zone 1,2,3 since subscription d5176ebb-96da-4847-940f-dc9cd320f797 does not support zone 1,2,3 in location canadacentral.","details":[]}]}} |
it's an error code from server side, added service team for help; and maybe you could try another region except canadacentral. |
@necusjz @jsntcy @yonzhan @Jing-song Can we please get an update on this issue or a timeframe when this will be fixed. Thanks! |
Hi @WholeWhitebread , I have created a PR to fix it. PR link. Please note that parameters with multiple values are usually separated by spaces instead of commas. Before that, you can try using |
@Jing-song Thanks From my understanding the Network LB frontend-ipcreate can only happen after a LB is created, then you can run that command. However I believe the end goal is to create lb and frontend Ip at the same time. Appreciate the help looking into this. |
Is there any ETA on when this command will be fixed? |
Describe the bug
Customer is unable to deploy Azure Load Balancer when the frontend-ip-zone is set to multiple zones. They are able to deploy with no issues when frontend-ip-zone 1. It doesn't seem to be an issue from networking side since the same deployment can be completed in Portal.
Related command
az network lb --frontend-ip-zone
Errors
...which uses zone Zone-redundant since subscription xxxxxxx does not support zone Zone-redundant in location canadacentral."
Issue script & Debug output
az network lb create
--resource-group $resourcegroup
--name $lb_name
--sku Standard
--vnet-name $vnet_name
--subnet $subnet_name
--frontend-ip-name $lb_frontendip_name
--frontend-ip-zone 1,2,3 \ <--
--backend-pool-name $lb_backend_pool_name
Expected behavior
Deployment should not have an error when using --frontend-ip-zone 1,2 or --frontend-ip-zone 1,2,3 since these zones exist and the same zone deployments work in Portal.
Environment Summary
to be included by the SE
Additional context
No response
The text was updated successfully, but these errors were encountered: