-
Notifications
You must be signed in to change notification settings - Fork 136
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
ELB priority in use #324
Comments
https://docs.aws.amazon.com/cli/latest/reference/elbv2/set-rule-priorities.html
You can't duplicate priority values for rules. This error seems to indicate that there is already a rule given a priority of "26" so building a second rule with the same priority is failing. |
That is clear, but in source code it seems to be getting the largest rule id + 1. |
Does it work if you configure the priority yourself? |
It was coming from config, commented out and it's fine. |
The config is independent of the other potential projects that are deployed, or not yet deployed. Incrementing by one, or manually keeping track "architecturally" seems like the only options. |
Right, but it can fail faster if the check is added into mu where Rules are iterated. For example fail if some Rule.priority == workflow.priority even before CF stack is executed. |
fixed in #373 |
On 'mu svc deploy devenv' ELB PriorityInUse issue happens.
ElbHttpsHostListenerRule (AWS::ElasticLoadBalancingV2::ListenerRule) CREATE_IN_PROGRESS Resource creation Initiated AwaitFinalStatus ▶ ERROR mu-service-XXX-devenv: ElbHttpHostListenerRule (AWS::ElasticLoadBalancingV2::ListenerRule) CREATE_FAILED Priority '26' is currently in use (Service: AmazonElasticLoadBalancingV2; Status Code: 400; Error Code: PriorityInUse; Request ID: 82936918-b09e-11e8-8810-afb2085f3d7e)
The text was updated successfully, but these errors were encountered: