application-gateway-kubernetes-ingress icon indicating copy to clipboard operation
application-gateway-kubernetes-ingress copied to clipboard

AGIC started failing after Application Gateway rule priority is mandatory

Open walvarado-applaudo opened this issue 3 years ago • 2 comments

Hi everyone.

Today, we started experiencing an issue, related to the the configuration of an AGIC Controller with a shared deployment option (VM + AKS Services)

We were unable to deploy any new ingress controller, when cheking the logs, we figured out, that the issue might be related to a new mandatory configuration on Application Gateway Routing Rules related to rule priority as you can see from the logs below:

E0523 20:45:25.176251 1 controller.go:141] network.ApplicationGatewaysClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: Code="ApplicationGatewayRequestRoutingRulePartialPriorityDefined" Message="Either all or no rule should have the priority specified." Details=[] E0523 20:45:25.176271 1 worker.go:62] Error processing event.network.ApplicationGatewaysClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: Code="ApplicationGatewayRequestRoutingRulePartialPriorityDefined" Message="Either all or no rule should have the priority specified." Details=[]

Do you guys have any idea why this is happening and how to solve it?

Already did a reinstall process, and didn't work, also, i already checked for anotations in ingress for adding priority to the rules, but it doesn't seem to be documented.

Any ideas?

walvarado-applaudo avatar May 23 '22 21:05 walvarado-applaudo

@williamalvvc This issue was resolved via an update on AGIC. Please update AGIC to 1.5.2 which has a fix for this issue.

Reference from duplicate issue: https://github.com/Azure/application-gateway-kubernetes-ingress/issues/1389#issuecomment-1119408580

akshaysngupta avatar May 23 '22 21:05 akshaysngupta

Same issue, thanks @akshaysngupta

oayras avatar Mar 10 '23 06:03 oayras